* feat: add book distributions endpoint for mobile stats
Add GET /api/v1/user-stats/book-distributions returning rating,
reading progress, and read status distributions. Progress percentages
are coalesced across all sync sources and bucketed into 6 ranges.
* fix(test): use stable date for thisPeriod_week test to avoid Monday boundary flake
The test used Instant.now().minus(1 day) which falls in the previous
ISO week when CI runs on Monday (UTC). Use a date guaranteed to be
within the current week instead.
---------
Co-authored-by: acx10 <acx10@users.noreply.github.com>
* Add 10 advanced stats charts with new API endpoints and visualizations
* Fix chart rendering and visual readability across all new stats charts
* Remove 6 charts, fix session archetypes outliers, make book flow half-width
* Revert book flow to full width
* Remove avg rating from book flow chart, reorder charts, cleanup unused imports
* Fix DOES_NOT_CONTAIN NULL handling for READ_STATUS and add null-progress tests
* Fix IS_EMPTY/IS_NOT_EMPTY parity for readStatus in FE rule evaluator
Add fileType, minRating, maxRating, authors, and language query params
to GET /api/mobile/v1/books. Add GET /api/mobile/v1/filter-options
endpoint returning available authors, languages, file types, and read
statuses for the authenticated user's accessible libraries.
* feat(bookdrop): add ability to poll the bookdrop folder
* fix(bookdrop): Modify bookdrop scan behavior to only enqueue newly seen files to reduce duplicate log messages
* 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
Amazon, Audible, and GoodReads parsers now fetch full detailed metadata
(4 results each) instead of returning lightweight previews. Adds randomized
500-1500ms delays between requests. GoodReads retries with title-only search
(2 results) when title+author yields no matches.
Co-authored-by: acx10 <acx10@users.noreply.github.com>
* fix(sidebar): replace routerLinkActive with getter-based route matching to prevent stale highlights
* feat(sort): replace compound sort options with atomic fields and add 6 new sort criteria