aboutsummaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAge
* fix: sticky form and navbar layout with consistent nav-heightMartin Kagamino Lehoux2026-07-28
|
* feat: oklch color palette and PWA install supportMartin Kagamino Lehoux2026-07-28
|
* feat: editable name and category in grocery detail pageMartin Kagamino Lehoux2026-07-28
|
* refactor: services layer, valibot validation, shared CSS utilities, aria ↵Martin Kagamino Lehoux2026-07-28
| | | | | | | | | | | | | | labels, and drizzle migrate - Extract groceries/categories/references services with db injection - Add valibot for form validation and safe numeric id parsing - Fix category delete FK behavior with onDelete: set null + migration - Replace custom migrate.js with drizzle-orm/libsql/migrator - Add shared CSS utility classes in app.css (forms, lists, buttons) - Add aria-pressed and aria-label on interactive elements - Remove redundant app.css imports and unused /stores import - Add integration tests for all services using drizzle migrate helper - Remove smoke test; add db:migrate and db:studio scripts
* feat: warm redesign, full French localization, compact sticky form, fixed ↵Martin Kagamino Lehoux2026-07-28
| | | | row heights, and show quality score in list
* refactor: rename brand to reference everywhereMartin Kagamino Lehoux2026-07-27
|
* feat: compact sticky add form with Add + Edit buttonsMartin Kagamino Lehoux2026-07-27
| | | | | | | - Sticky navbar + sticky add bar on list page - Add button: quick add to list - Edit button: add + redirect to detail page for references - Removed layout top padding for seamless sticky behavior
* feat: navbar + split list/catalog into separate pagesMartin Kagamino Lehoux2026-07-27
| | | | | | | | - Navbar component with List, Catalog, Categories tabs - / = shopping list (unchecked items with add form) - /catalog = full catalog with toggle - /categories = category management - Removed page titles (navbar indicates context)
* feat: product references + grocery detail pageMartin Kagamino Lehoux2026-07-27
| | | | | | | | - references table (brand, price, unit, quality_score) with FK to groceries - /grocery/[id] page for managing references per item - Unit dropdown (€/kg, €/L, €/u) defaulting to €/kg - → link on all items navigates to detail page - Delete item moved from catalog to detail page
* feat: separate categories table + /categories management pageMartin Kagamino Lehoux2026-07-27
| | | | | | | | - Categories table (id, name unique) with FK from groceries.category_id - /categories page for add/delete categories - Main page uses native <select> dropdown for category - Categories grouped by name in list/catalog views - Regenerated drizzle migrations from scratch
* feat: catalog section + deduplicate items by nameMartin Kagamino Lehoux2026-07-27
| | | | | | | | - Show all items split into List (unchecked) and Catalog (checked) sections - Tapping a catalog item unchecks it (returns to list) - Add action now upserts: unchecks existing item instead of creating duplicate - UNIQUE constraint on groceries.name as defense-in-depth - Tests for dedup behavior (insert, re-add from catalog, no-op on list)
* feat: minimal grocery list — add items, check them offMartin Kagamino Lehoux2026-07-27
- Groceries DB schema (id, name, checked, created_at) with Drizzle + libsql - /+page.server.ts: load (unchecked items, newest first), add & toggle actions - /+page.svelte: text input + Add button, item list with toggle buttons - Mobile-first styling with scoped CSS classes - AGENTS.md: project-specific rules including UI validation