From 5c659d9046add8c77bd7699961a910505dcb4bc2 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 24 Aug 2026 06:20:52 +0000 Subject: Remove confirmed-orphaned routes, handlers, and templates From the sitemap audit: /tabs/meals (same dead-tab pattern as the removed /tabs/conditions, only reachable via ?tab=meals with no nav button), /partials/lists (superseded by inline .Lists rendering in trello-board.html), /shopping/toggle and /shopping/mode/{store}/toggle (superseded by the one-way complete/filter model), plus the orphaned trello-boards.html and error-banner.html templates that nothing rendered or included. Rewrote the meals grouping test to exercise groupMeals() directly since that logic is still live via the timeline. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_017GMEkHeqKz6FLkmizowBTK --- .agent/design.md | 11 ----------- 1 file changed, 11 deletions(-) (limited to '.agent') diff --git a/.agent/design.md b/.agent/design.md index 47ff403..829f86f 100644 --- a/.agent/design.md +++ b/.agent/design.md @@ -351,15 +351,6 @@ Aggregated shopping lists from Trello + PlanToEat + user items. - Large touch targets - Fixed bottom quick-add -### Meals View (`/tabs/meals`) - -PlanToEat meal schedule for the next 7 days. - -**Features:** -- Meals grouped by date + meal type (breakfast/lunch/dinner) -- Multiple recipes for same slot combined with " + " separator -- Sorted by date, then meal type order - ### Conditions Page (`/conditions`) **Public route** - no authentication required. @@ -828,7 +819,6 @@ npx tailwindcss -i web/static/css/input.css -o web/static/css/output.css --watch | GET | `/tabs/timeline` | Timeline partial | | GET | `/tabs/tasks` | Tasks partial | | GET | `/tabs/planning` | Planning partial | -| GET | `/tabs/meals` | Meals partial | | GET | `/tabs/shopping` | Shopping partial | | GET | `/conditions` | Live feeds page (public) | | POST | `/complete-atom` | Complete task/card/bug | @@ -838,7 +828,6 @@ npx tailwindcss -i web/static/css/input.css -o web/static/css/output.css --watch | POST | `/bugs` | Submit bug report | | POST | `/shopping/add` | Add shopping item | | GET | `/shopping/mode/{store}` | Shopping mode view | -| POST | `/shopping/mode/{store}/toggle` | Toggle shopping item | | POST | `/shopping/mode/{store}/complete` | Complete shopping item | | GET | `/settings` | Settings page | | POST | `/settings/features` | Create feature toggle | -- cgit v1.2.3