[loggi-99y] Expand statistics: new chart types, smarter defaults & responsive grid layout #111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bead ID:
loggi-99yType: epic
Priority: P2
Status: closed
Close reason: All subtasks complete: loggi-d7a (responsive grid layout, reduced defaults) and loggi-nh0 (4 new chart types: cumulative, gaps, duration dist, word dist). Epic fully delivered.
Why
All 9 current charts default to visible, overwhelming the stats tab on first visit. The grid is single-column only, wasting horizontal space on wider screens. Several useful analytical perspectives are missing (cumulative trends, gap analysis, distribution histograms).
What
This epic adds new chart types, reduces default-visible charts for a cleaner first impression, and makes the grid layout responsive so smaller charts sit side-by-side on wider screens.
New charts
/sessionsendpoint/stats/distributionendpointDefault visibility changes
Layout
sm:+ breakpointsWhere
app/static/js/stats.js— PLOT_REGISTRY, grid rendering, card buildersapp/static/js/stats-charts.js— new chart renderersapp/templates/entry.html— grid CSS classesapp/stats.py— new distribution endpoint (diary word counts)Acceptance criteria
Dependencies:
loggi-d7aloggi-nh0