github-release-stats
github-release-stats copied to clipboard
Total downloads and pagination
With the recent introduction of pagination the "Total downloads" now appears to only accumulate the downloads of the releases in the currently displayed page.
Could you bring back the total across all releases, perhaps naming it "grand total"?
I guess Total downloads
should not change its name, but the value it's labelling should represent that.
If people think a value for "Accumulated downloads across all currently displayed releases on this page" is helpful, that should be an additional value on its own.
I also miss that information.
But I think that bringing the total downloads back would probably cause a performance hit, and defeat the entire purpose of pagination. I think you'd need to fetch all releases from the API to sum that.
Unless there's an endpoint to fetch the total download with a single request, then the app could just use that. 🙂