aboutsummaryrefslogtreecommitdiff
path: root/src/lib/shared/routine-metrics.ts
Commit message (Collapse)AuthorAge
* 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).