aboutsummaryrefslogtreecommitdiff
path: root/src/routes/projects
Commit message (Collapse)AuthorAge
* Replace routine status text chip with fixed-width glyph chipMartin Kagamino Lehoux2026-09-08
| | | | | | Status becomes a 1.5rem rounded-square chip (ok=check, due=clock, late=!, veryLate=double !) keeping the green-to-red colors, moved to the start of each routine row; label and overdue stay in title.
* Show frequency on archived routine rows in project detailsMartin Kagamino Lehoux2026-09-08
|
* Consolidate duplicated page CSS into app.css, share TestDb typeMartin Kagamino Lehoux2026-09-08
| | | | | | | | | | | | | - Move .page-header/.back-link/.input-invalid/.save-status/.btn-done (plus hover/variant rules) into app.css as shared route scaffolding; delete per-page scoped copies - Unify drifted values: page-header padding 1rem -> 1.25rem (routine page), empty-state spacing 0.75/1.5rem -> 1/2rem (grocery detail), save-status margin -0.25rem applied on both pages, back-link margin 1.5rem -> 1rem (grocery detail); routine page's large Fait button is kept via a .btn-done-lg modifier - Export TestDb from test-helper and use it in the five db/service test files to shrink duplicated fixture scaffolding
* Deduplicate routine actions and badges across project routesMartin Kagamino Lehoux2026-09-08
| | | | | | | | | - Share edit/complete/archive form actions in routine-actions.ts; route servers become thin wrappers (strictest guard semantics in one place) - Move parseFrequencyDays into validation.ts - Extract ScoreBadge/StatusBadge components; use on project pages and the home page instead of duplicated scoreClass/statusClass helpers - Fix archiveProject calling the routine archive with the project id
* Add routine archives: archive date, searchable archived list, frozen pageMartin Kagamino Lehoux2026-09-07
| | | | | | - Stamp archived_at on the archived snapshot; copy it on edit - loadArchived(projectId) + collapsible fuzzy-searched "Archivées" section on the project page - Archived routine pages open read-only with the health chart ending at the archive date; edit/complete actions reject archived routines
* Extract duplicated styles into shared molecules and color atomsMartin Kagamino Lehoux2026-09-07
| | | | | | | | | Move .score, .status, .add-bar and .btn-accent molecules into app.css and replace BEM color modifiers with bare atoms (bg-success, bg-accent, bg-danger, bg-accent-soft, text-accent, text-white). Rename the category-specific cat-add-bar to add-bar and the groceries page's sticky autocomplete bar to grocery-add-bar to avoid the collision. Cuts dcd duplicate lines from 1288 to 780.
* 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).