Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot see exact figures for all packages in stats when an account has too many packages #554

Open
Montandalar opened this issue Jul 26, 2024 · 0 comments

Comments

@Montandalar
Copy link

Summary

There is an issue with the JavaScript chart viewer for package statistics pages where it cannot show the exact figures for a date when there are too many packages. The issue is probably not the fault of ContentDB but of upstream (chart.js I think?)

Steps to reproduce

Go to the mt-mods stats page and hover over the chart without filtering any packages out. Notice that only about 1/3 of the packages are listed in the hover text since there are so many, and moreover those are the bottom 1/3 of packages not the top 1/3.

Workarounds
  • Exclude packages until you have an amount visible that won't overflow
  • Use your own visualisation with the JSON format data provided
Suggested fixes

Fixes would probably have to involve a lot of rework like forking upstream. It also works within the confines of a canvas. Still, I will provide them as ideas:

  • Scrollwheel to go up and down the tooltip list
  • Drawing an additional column of the list each time it overflows until they are all visible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants