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 --- internal/handlers/tab_state_test.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'internal/handlers/tab_state_test.go') diff --git a/internal/handlers/tab_state_test.go b/internal/handlers/tab_state_test.go index 9b34033..bf833af 100644 --- a/internal/handlers/tab_state_test.go +++ b/internal/handlers/tab_state_test.go @@ -24,7 +24,6 @@ func TestHandleDashboard_TabState(t *testing.T) { - ` _, err := w.Write([]byte(html)) @@ -63,13 +62,6 @@ func TestHandleDashboard_TabState(t *testing.T) { expectedActive: `class="tab-button tab-button-active"`, expectedHxGet: `hx-get="/tabs/planning"`, }, - { - name: "meals tab from query param", - url: "/?tab=meals", - expectedTab: "meals", - expectedActive: `class="tab-button tab-button-active"`, - expectedHxGet: `hx-get="/tabs/meals"`, - }, } for _, tt := range tests { -- cgit v1.2.3