aboutsummaryrefslogtreecommitdiff
path: root/src/routes/groceries
Commit message (Collapse)AuthorAge
* Scope badges, titles, and one-off styles; add Button outlineMartin Kagamino Lehoux2026-09-12
| | | | | | | | | ScoreBadge/StatusBadge carry their own color scales, no bg-*/text-* globals. SectionTitle unifies category-name and section-title dupes (h2/h3 via level prop). Grocery add-bar buttons use Button, new outline variant for the secondary action. save-status moves into its only page. Delete dead globals and page overrides.
* Extract Row primitive, migrate all call sitesMartin Kagamino Lehoux2026-09-12
| | | | | | | | Variants card/ref/plain with scoped skin. Padding and wrap one-offs via style prop; draggable and handlers via rest spread. GroceryRow absorbs item-btn/ref-link globals with local names; BestRef scopes best-ref. Delete item-* globals and dead page overrides.
* Extract Button primitive, migrate all call sitesMartin Kagamino Lehoux2026-09-12
| | | | | | | Variants primary/accent/ghost/done with scoped styles. Disabled handling unified; block/size/style props cover login stretch, done-lg, save-check positioning. Delete btn-* globals and dead page overrides.
* Share grocery row component and list-page form actionsMartin Kagamino Lehoux2026-09-08
| | | | | | | | - GroceryRow.svelte renders the toggle row (checkbox, name, best ref, arrow link) for both the list and catalog pages - grocery-actions.ts grows full form actions: addCategoryAction, addGroceryAction, addGroceryAndEditAction, deleteByIdAction; the categories/groceries route servers become thin wrappers
* 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
* 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.
* Extract shared groceries helpers and BestRef componentMartin Kagamino Lehoux2026-09-07
|
* Split groceries domain out of the app rootMartin Kagamino Lehoux2026-09-07
Move the grocery list, catalog, and categories routes under /groceries/ so the app home can host the projects/routines overview next. Update nav to exact-path matching, login redirect default, and layout title.