aboutsummaryrefslogtreecommitdiff
path: root/src/lib/shared/routine-metrics.test.ts
Commit message (Collapse)AuthorAge
* Project health chart on LayerChartMartin Kagamino Lehoux2026-09-08
| | | | | | | Project page gets a Sante chart: daily mean of per-routine health via computeProjectHealthSeries, ending at the current health score. Both charts share a HealthChart component built on LayerChart's AreaChart (time x-axis, fixed 0-100 y-axis, completion dots).
* Never-done routines are always at least dueMartin Kagamino Lehoux2026-09-08
| | | | | A routine with no completions shows due instead of ok, even right after creation; ok requires a completion within the current period.
* Anchor routine due dates on UTC calendar daysMartin Kagamino Lehoux2026-09-08
| | | | | Daily routine done yesterday is due today regardless of time of day; same anchoring in health series so chart and badge agree.
* Add routine detail page with editable description and health historyMartin Kagamino Lehoux2026-09-07
|
* Add projects with routines, urgency tracking and health scoresMartin Kagamino Lehoux2026-09-07
Projects group recurring routines (chores included) with an append-only snapshot table (id, version) so edits never rewrite history; completions reference the exact snapshot. Pure metrics compute due dates, urgency buckets (ok/due/late/veryLate) and 0-100 health scores per routine, project, and globally. Home page lists projects; project dashboard sorts routines most-urgent first with one-tap completion and interval parser inputs (1d/2w/3m/1y).