diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-08-24 06:20:52 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-08-24 06:20:52 +0000 |
| commit | 5c659d9046add8c77bd7699961a910505dcb4bc2 (patch) | |
| tree | 8bde9a62d98d2a21f030d4c6cbd3ceecb9a7adf8 /internal/handlers/tab_state_test.go | |
| parent | c46c135f52090a082660cb06131282796f5cd592 (diff) | |
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GMEkHeqKz6FLkmizowBTK
Diffstat (limited to 'internal/handlers/tab_state_test.go')
| -rw-r--r-- | internal/handlers/tab_state_test.go | 8 |
1 files changed, 0 insertions, 8 deletions
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) { <body> <button class="tab-button tab-button-active" hx-get="/tabs/tasks">Tasks</button> <button class="tab-button tab-button-active" hx-get="/tabs/planning">Planning</button> -<button class="tab-button tab-button-active" hx-get="/tabs/meals">Meals</button> </body> </html>` _, 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 { |
