CLAUDE.md shrinks to rules + status + index (175 lines, down from 476). Dev setup, prod deploy, and per-phase build records move to docs/. Gotchas regrouped by domain (auth, frontend, PWA, testing, backend, deploy, platform) and unnumbered so they don't drift as new ones land. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.0 KiB
1.0 KiB
Fase 2a — what has been built
supabase/migrations/005_shopping.sql—shopping_lists,shopping_items, RLS,list_collective_id()helper, pg_cron jobs (archive completed > 7d, purge deleted > 7d)supabase/migrations/006_item_frequency.sql—item_frequencytable,fn_record_item_frequencytrigger (SECURITY DEFINER, fires on everyshopping_itemsINSERT)apps/web/src/lib/stores/lists.ts— shopping lists store (optimistic CRUD) + item operations + suggestion fetchingapps/web/src/lib/components/ItemSuggestions.svelte— frequency chips with active-prefix highlightingapps/web/src/routes/(app)/lists/+page.svelte— overview: featured card + 2-col grid + completed section + trash view (sticky input replaced by masthead "New list" button in Fase 5.8)apps/web/src/routes/(app)/lists/[id]/+page.svelte— list detail: items with checkbox, qty stepper (−/N/+), inline edit, swipe-to-reveal-delete (touch) + hover delete (desktop), drag & drop reorder viasvelte-dnd-action, sticky add form withItemSuggestions