You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
release-download-count (partly) implemented by GitHub #9769
This feature should auto-disable when GitHub natively shows download counts. A simple check like select?.('.octicon-download') on the release element could detect the native count and skip the injection to avoid duplication. Would be a good small enhancement.
This feature should auto-disable when GitHub natively shows download counts
Our counter is still better because we have a heat map for the downloads, so for now I'm fixing the feature just to avoid the duplicate.
A "better" fix would be to read the numbers from the DOM and apply the heat map on the existing elements. This would save an API call, but unfortunately GitHub decided that only owners can see this number, so we'd have to keep two versions of the same feature.
So yeah, no. I'm just going to use the API + replace the native count.
Activity
fregante commentedon Jul 1, 2026
Exactly style as Refined GitHub and not even a mention 😢
Anyway I'll hot-disable the feature for now but we need to add the heatmap somehow. Maybe rename the feature to match
file-age-colorHot-disable `release-download-count`
FloEdelmann commentedon Jul 1, 2026
From the blog post (emphasis mine):
I think our feature also works for users without write access, right? So maybe it would be simpler to just hide GitHub's new feature 🥲
fregante commentedon Jul 1, 2026
Sigh why do they keep doing this. We have several features that duplicate native functionality because it's limited in some silly way.
My guess is that they will also limit this data in the API like they did for the contributors list.
So yeah if anyone writes some CSS to hide the native one I'll add it to the hotfixes and restore the feature.Then the feature will need to be properly updated in this repo:
match the native style/classes/sizing if necessarypotentially remove some CSS we had added to make room for it (probably not, the CSS also improves wrapping regardless of the feature)[-]`release-download-count` implemented by GitHub[/-][+]`release-download-count` (partly) implemented by GitHub[/+]26.7 avoid `release-download-count` duplication
26.5.24 avoid `release-download-count` duplication
fregante commentedon Jul 2, 2026
Hotfix removed, native version hidden via CSS hotfix.
PR still welcome to properly fix the duplication
ayushnandi718-dev commentedon Jul 8, 2026
This feature should auto-disable when GitHub natively shows download counts. A simple check like select?.('.octicon-download') on the release element could detect the native count and skip the injection to avoid duplication. Would be a good small enhancement.
fregante commentedon Jul 10, 2026
Our counter is still better because we have a heat map for the downloads, so for now I'm fixing the feature just to avoid the duplicate.
A "better" fix would be to read the numbers from the DOM and apply the heat map on the existing elements. This would save an API call, but unfortunately GitHub decided that only owners can see this number, so we'd have to keep two versions of the same feature.
So yeah, no. I'm just going to use the API + replace the native count.