feat(stats): add 5 new user statistics charts (#2703)

* feat(stats): add 5 new user statistics charts

* fix(stats): use COALESCE for dateFinished in heartbeat and page turner queries

* refactor(stats): remove heartbeat, genre flow, reading seasons, and abandonment autopsy charts

* feat(stats): add 5 new user statistics charts

* feat(stats): add info tooltips to all 5 new charts

* perf(stats): limit completion race chart to 15 most recent books server-side

* fix(stats): limit completion race to 10 books and cap progress at 100%

* refactor(stats): replace streak bars with GitHub-style activity heatmap calendar

* fix(stats): widen chart info tooltips to prevent tall narrow box

* feat(stats): add info tooltip to Page Turner Score chart

* feat(stats): add info tooltips to 7 existing charts

* refactor(stats): deduplicate chart-info-icon style into global styles.scss

* refactor(stats): fix scoring bugs and improve Reading DNA and Reading Habits charts

* refactor(stats): rebalance Series Progress Tracker layout and unify heatmap footer pills

* feat(stats): add info tooltips to 4 remaining charts

* fix(stats): fix session duration and overlap bugs in Reading Session Timeline
This commit is contained in:
ACX
2026-02-12 00:11:49 -07:00
committed by GitHub
parent 7af21e079e
commit 8128269310
58 changed files with 3356 additions and 1718 deletions
+15
View File
@@ -49,6 +49,21 @@ html {
scrollbar-color: rgba(128, 128, 128, 0.5) rgba(0, 0, 0, 0.1);
}
.chart-info-tooltip.p-tooltip {
--p-tooltip-max-width: 25rem;
}
.chart-info-icon {
color: rgba(255, 255, 255, 0.35);
font-size: 0.9rem;
cursor: help;
transition: color 0.2s ease;
&:hover {
color: rgba(255, 255, 255, 0.8);
}
}
.p-toast {
top: 4rem !important;
}