feat: various analytics updates (#6330)

* feat: add button to view user analytics

* feat: add "Your projects" preset selection

* feat: fix revenue rounding for values under 1 and show full values for all statcards with tooltip

* fix: sum rounded value instead of raw value for tooltip total if it's under 1

* fix: show decimal in playtime statcard if under 1 hrs

* feat: disable playtime statcard for purely plugin projects

* refactor: pnpm prepr
This commit is contained in:
Truman Gao
2026-06-08 22:03:28 +00:00
committed by GitHub
parent a92b5b08df
commit 2c9bf58d1f
12 changed files with 491 additions and 51 deletions
@@ -350,6 +350,12 @@
"analytics.project.select": {
"message": "Select projects"
},
"analytics.project.user": {
"message": "{username}'s projects"
},
"analytics.project.your": {
"message": "Your projects"
},
"analytics.query.filter.add": {
"message": "Add filter"
},
@@ -2846,6 +2852,9 @@
"profile.bio.fallback.user": {
"message": "A Modrinth user."
},
"profile.button.analytics": {
"message": "View user analytics"
},
"profile.button.billing": {
"message": "Manage user billing"
},