Skip to content

feat(stats): show reading pages heatmap#932

Merged
everpcpc merged 2 commits into
mainfrom
codex/reading-stats-heatmap
Jul 7, 2026
Merged

feat(stats): show reading pages heatmap#932
everpcpc merged 2 commits into
mainfrom
codex/reading-stats-heatmap

Conversation

@everpcpc

@everpcpc everpcpc commented Jul 7, 2026

Copy link
Copy Markdown
Owner

What Changed

Replaced the reading stats line chart with a GitHub-style daily tile heatmap. The section now defaults to the last 90 days and shows pages read per day instead of estimated reading time.

The daily series now aggregates page counts from completed books, preferring media.pagesCount when available and falling back to readProgress.page. The old estimated-hours card was removed, and the stats cache key was bumped to avoid reusing cached hourly values as page counts. The related string catalog cleanup is included.

Validation

  • make format
  • make build

everpcpc added 2 commits July 7, 2026 17:55
Replace the reading time line chart with a GitHub-style pages-read heatmap. Aggregate completed-book progress by page count, default the stats range to 90 days, and move reading stats cache to a new key so old hourly data is not reused.
@everpcpc everpcpc marked this pull request as ready for review July 7, 2026 09:58
@everpcpc everpcpc merged commit 2e673aa into main Jul 7, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/reading-stats-heatmap branch July 7, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant