Initial re-write of stats.thunderbird.net #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A go at re-writing stats to be more extensible. Built off of Web components using Chartjs for charts, and Vite for dev server / building the final site. I wrote a lot of this while I should have taken some time off 😅, so it's not exactly great. But we can improve upon this over time.
I tried to match all of the features of the current stats page, but due to time constraints / performance reasons: data tables, data decimation, and the vertical cursor aren't available. Additionally this initial re-write was to only match the current stats site, so none of the issues on this repo are addressed.
Creating/styling the charts were a source of pain here, and I look forward to cleaning up the options/configuration. There's some obvious style tweaks, and design flaws needed correcting but again we can iterate on that. I will add performance is much better than the current stats.thunderbird.net
Since the old stats site didn't have a build process we may have to adjust how we deploy this, along with adjusting the paths in the python script. (Data has moved from /docs/ ...json files... to /src/public/data/ ... json files ...)
Dark Mode:
Light Mode: