Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more fork options #21

Closed
ProLoser opened this issue Mar 16, 2016 · 4 comments
Closed

Add more fork options #21

ProLoser opened this issue Mar 16, 2016 · 4 comments

Comments

@ProLoser
Copy link

I've been wanting to add something like this for a while to my Github Omnibox extension any interest in merging efforts?

Anyway, I think it'd be nice if you didn't limit suggestions to only the primary fork, but continue showing forks everywhere. Also, I might change the text and suggestion to be a bit more informative like "also a popular fork: x/y" for the fork with the second-highest stars and "also an active fork: x/y" for the one with the most recent commit(s). It would be nice if it could also count the number of commits. The flame icon doesn't really illustrate much. You would be able to combine them asl: "also a popular active fork: x/y"

I think it'd also be cool if it was a dropdown (on hover) maybe triggered by an ellipses or down arrow that lets you see the top 3-5 most popular / active forks?

My chrome extension adds a dropdown so it's not too difficult:
screen shot 2016-03-16 at 11 48 11 am

@musically-ut
Copy link
Owner

Thanks for the suggestions. Omnibox is a great extension! :)

Responses inline.


any interest in merging efforts?

I am ambivalent about the merge. With recent changes to Chrome, the extensions have become obnoxiously visible and it is better to keep them to a minimum. However, on the other hand, I would like to maintain Firefox compatibility. So I would wait for a bit to see how the extension ecosystem evolves. Or, we could attempt to abstract out the functioning and keep it at both places. Suggestions?

Anyway, I think it'd be nice if you didn't limit suggestions to only the primary fork, but continue showing forks everywhere.

The UI was the primary problem, though I've found that the community usually converges to only one maintained fork. I like your suggestion about creating a small hover card showing the other forks in order of stargazers. However, getting the recency information about those other forks leads me to the second point.

"also an active fork: x/y" for the one with the most recent commit(s).
... It would be nice if it could also count the number of commits.

At the moment, I am using Github's compare API to determine if the default branch of the fork is ahead of the same branch on the origin, i.e., the difference between number of ahead_by commits and number of behind_by commits is positive. This is, at best, a guess which Ivan suggested since the other pieces of information about recency of repositories provided by Github API are misleading. I am not sure whether I would show these numbers because of they are, after all, an heuristic. Also, it may change, as it already has from comparing the time of the recent commits to comparing pushed at times to counting commits.

Additionally, Lovely Forks does not, at the moment, allow for Github authentication. It uses two API calls for each Github page (and caches results): one to get the list of forks ordered by stargazers (which is sufficient for showing a list of active forks) and the second to the compare API to guess the recency. Adding more API calls to determine improved recency information is not very alluring, especially if the information is going to be hard to interpret/use anyway.


What did you mean by "x/y"?

@ProLoser
Copy link
Author

Owner/repo

@fregante
Copy link
Contributor

fregante commented Jul 24, 2017

any interest in merging efforts?

The two extensions are completely unrelated. You can merge efforts by cross-contributing but it doesn't make sense to merge just to save an icon (which can be hidden anyway)

Anyway, I think it'd be nice if you didn't limit suggestions to only the primary fork, but continue showing forks everywhere.

If you want to see more forks, you can click the fork button fork button or add a link to the members page

@musically-ut
Copy link
Owner

musically-ut commented Jul 11, 2021

Now there is useful-forks.github.io to solve the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants