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