summaryrefslogtreecommitdiff
path: root/kitchen/models.py
AgeCommit message (Collapse)Author
2026-06-23Phase 1: mobile-first pantry redesign with In/Low/Out stateTom Flux
Track presence (In/Low/Out) as the primary signal instead of exact quantities; quantity becomes an optional integer, unit optional too (migration 0003 backfills state from quantity: 0 -> out, else in). - Pantry rebuilt as a phone-first card list: colored state rail, segmented In/Low/Out switch (server-driven HTMX), greyed out-items, live summary counts. - Fast add: bottom add bar with type-ahead autocomplete, location picker, and quick-add chips for things you've run out of. - Per-item menu (move / set expiry / delete); expiry is now an optional quiet pill, never required. - New endpoints: pantry search + set-state; dropped the old edit-expiry/cancel flow and its partial. - Recipes matcher made presence-based (have-it beats have-enough); state added to admin. Tests cover state, add/restock, search, presence matching, and page rendering. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22Simplify from claudeTom Flux
2026-04-02Add rating + preferences fields, log first cook feedbackCaine
- Ingredient.preferences: qualitative notes on how Tom likes things cooked - CookLog.rating: 1-5 score - CookLog.notes: help text updated for feedback - Migration 0002 - First cook logged: Baked Pasta with lardons, rated 2/5 - Bacon lardons preference: don't oven bake, fry separately, not solo protein
2026-04-01Add all Django models: pantry, ingredients, meta-recipes, recipes, cook log, ↵Caine
shopping list