diff options
| author | Tom Flux <tom@tomflux.xyz> | 2026-06-23 19:55:16 +0100 |
|---|---|---|
| committer | Tom Flux <tom@tomflux.xyz> | 2026-06-23 19:55:16 +0100 |
| commit | 0aabf50834a31ff4ae9f8fd58639e444a449110b (patch) | |
| tree | 3c0033c8326268e098ebf4bac020d5a427ee3f9c /kitchen/management/commands/__init__.py | |
| parent | e34081ce36d1993912dad514127924440437a2e9 (diff) | |
Phase 1: mobile-first pantry redesign with In/Low/Out state
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>
Diffstat (limited to 'kitchen/management/commands/__init__.py')
0 files changed, 0 insertions, 0 deletions
