Refined-github: Highlight **created** repository count

Created on 21 Dec 2019  Ā·  5Comments  Ā·  Source: sindresorhus/refined-github


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:

https://github.com/user

enhancement good first issue help wanted

Most helpful comment

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 

All 5 comments

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

image

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)
Capture d’écran 2019-12-25 aĢ€ 11 14 20

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 

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sindresorhus picture sindresorhus  Ā·  3Comments

sompylasar picture sompylasar  Ā·  3Comments

vanniktech picture vanniktech  Ā·  3Comments

supremebeing7 picture supremebeing7  Ā·  3Comments

yakov116 picture yakov116  Ā·  3Comments