useful-forks / useful-forks.github.io

Improving GitHub's Forks list discoverability through automatic filtering. The project offers an online tool and a Chrome extension.
https://useful-forks.github.io/
MIT License
1.18k stars 61 forks source link

Listed forks should link to the "compare" page #56

Closed payne911 closed 1 year ago

payne911 commented 1 year ago

Example link: https://useful-forks.github.io/?repo=facebook/sapling image

I realized that when I go to explore a repository, I don't really care about the repo's landing page (e.g. landing page: https://github.com/mayhemheroes/eden).

Taking the last fork listed as an example, maybe that link should open https://github.com/facebook/sapling/compare/main...mayhemheroes:eden:main instead of https://github.com/mayhemheroes/eden

Or maybe the "ahead" and "behind" badges could be those links.

I'd love to hear some thoughts about this.

Ethkuil commented 1 year ago

Or maybe the "ahead" and "behind" badges could be those links.

I prefer this way.

As for links like author/repo, I don't really care about what it referred to(ahead and behind can be enough), but to open the landing page may be more intuitive for me.

payne911 commented 1 year ago

I prefer this way.

Yeah, I think I'll do that. It's retrocompatible, but I'm not sure it'll be obvious that the badges are clickable.

but to open the README.md page may be more intuitive for me.

I think I miscommunicated what I meant so I edited the OP. I meant the "repo's landing page" which itself displays the rendered README.md, along with a bunch of other info.