minetest / contentdb

A content database for Minetest mods, games, and more
https://content.minetest.net
GNU Affero General Public License v3.0
98 stars 47 forks source link

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

Open Montandalar opened 3 months ago

Montandalar commented 3 months ago

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