Skip to content

release-download-count (partly) implemented by GitHub #9769

Closed

Activity

  1. fregante commented on Jul 1, 2026

    @fregante
    Member

    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-color

  2. added a commit that references this issue on Jul 1, 2026
  3. FloEdelmann commented on Jul 1, 2026

    @FloEdelmann
    MemberAuthor

    From the blog post (emphasis mine):

    Users with write access can also now see download counts per release asset directly in the Releases UI

    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 🥲

  4. fregante commented on Jul 1, 2026

    @fregante
    Member

    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 necessary
    • potentially remove some CSS we had added to make room for it (probably not, the CSS also improves wrapping regardless of the feature)
    • hide the native link (e.g. see refined-github/yolo@5cc8a75)
    • update the feature description
  5. changed the title [-]`release-download-count` implemented by GitHub[/-] [+]`release-download-count` (partly) implemented by GitHub[/+] on Jul 1, 2026
  6. fregante commented on Jul 2, 2026

    @fregante
    Member

    Hotfix removed, native version hidden via CSS hotfix.

    PR still welcome to properly fix the duplication

  7. ayushnandi718-dev commented on Jul 8, 2026

    @ayushnandi718-dev
    Contributor

    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.

  8. fregante commented on Jul 10, 2026

    @fregante
    Member

    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.

    Image

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions