sindresorhus/refined-github

Highlight **created** repository count #2649

Androz2091 posted onGitHub

<!-- Thanks for contributing! 🏓 -->

I would like it to be possible to highlight the number of repositories a user has created, not the ones he has forked. Indeed, some users fork hundreds of repositories without making any changes to them, and this distorts a little bit the number of repositories. Actually, the number is the forks + the created repositories. It would be nice if the number of created repositories were highlighted and the number of forks and if the number of forks was put a little bit in the background.

Example URL:

<!-- Please specify a URL where the feature should appear -->

https://github.com/user


I kinda like this idea, but you can already determine those counts using the Type dropdown:

image

posted by AleksandrHovhannisyan over 5 years ago

Oh, you're right. Couldn't we do something more visible? Like, for example, when you hover over the span, it displays something like this? (and when you're now hovering it, it displays the fork + owned repository count) <img width="404" alt="Capture d’écran 2019-12-25 à 11 14 20" src="https://user-images.githubusercontent.com/42497995/71442846-f3fe3900-2707-11ea-989a-e1b96060e0d0.png">

posted by Androz2091 over 5 years ago

Since we already show the “Source” repos by default, it would make sense to update that number in the sidebar to only count those.

The global search has a counter widget, we might be able to use that so that this feature can be implemented as easily as

tabNumber.replaceWith(<counter query="...."/>) // I don’t remember the widget name actually 
posted by fregante over 5 years ago

That's a good point! I didn't notice that :)

posted by AleksandrHovhannisyan over 5 years ago

No longer applies since there are no counters anymore, but refer to https://github.com/sindresorhus/refined-github/pull/3286

posted by fregante almost 5 years ago

Fund this Issue

$0.00
Funded

Pull requests