diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-26 19:00:36 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-26 19:00:36 -1000 |
| commit | 70e6e51b6781a3986c51e3496b81c88665286872 (patch) | |
| tree | 091d0eb9daa08f4e892486451a154a67fb8a3cfe /cmd/dashboard | |
| parent | bbf12fc441ca36c423e865107d34df178e3d26de (diff) | |
Add shopping mode for focused single-store shopping (#34)
- Full-screen view for one store at a time
- Tap items to toggle completion
- Completed items greyed and sorted to bottom
- Quick-add form at bottom of screen
- Store switcher pills for easy navigation
- "Shop" button on each store in shopping tab
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'cmd/dashboard')
| -rw-r--r-- | cmd/dashboard/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index 6c735d8..a02ece4 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -182,6 +182,10 @@ func main() { // Shopping quick-add r.Post("/shopping/add", h.HandleShoppingQuickAdd) r.Post("/shopping/toggle", h.HandleShoppingToggle) + + // Shopping mode (focused single-store view) + r.Get("/shopping/mode/{store}", h.HandleShoppingMode) + r.Post("/shopping/mode/{store}/toggle", h.HandleShoppingModeToggle) }) // Start server |
