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 --- web/templates/partials/error-banner.html | 12 -------- web/templates/partials/lists-options.html | 4 --- web/templates/partials/meals-tab.html | 10 ------- web/templates/partials/plantoeat-meals.html | 35 ---------------------- web/templates/partials/trello-boards.html | 45 ----------------------------- 5 files changed, 106 deletions(-) delete mode 100644 web/templates/partials/error-banner.html delete mode 100644 web/templates/partials/lists-options.html delete mode 100644 web/templates/partials/meals-tab.html delete mode 100644 web/templates/partials/plantoeat-meals.html delete mode 100644 web/templates/partials/trello-boards.html (limited to 'web/templates') diff --git a/web/templates/partials/error-banner.html b/web/templates/partials/error-banner.html deleted file mode 100644 index 628424f..0000000 --- a/web/templates/partials/error-banner.html +++ /dev/null @@ -1,12 +0,0 @@ -{{define "error-banner"}} -{{if .Errors}} -
-

Errors:

-
    - {{range .Errors}} -
  • {{.}}
  • - {{end}} -
-
-{{end}} -{{end}} diff --git a/web/templates/partials/lists-options.html b/web/templates/partials/lists-options.html deleted file mode 100644 index f08fdcf..0000000 --- a/web/templates/partials/lists-options.html +++ /dev/null @@ -1,4 +0,0 @@ -{{define "lists-options"}} -{{range .}} -{{end}} -{{end}} diff --git a/web/templates/partials/meals-tab.html b/web/templates/partials/meals-tab.html deleted file mode 100644 index 97c3a4e..0000000 --- a/web/templates/partials/meals-tab.html +++ /dev/null @@ -1,10 +0,0 @@ -{{define "meals-tab"}} -
- - {{template "plantoeat-meals" .}} -
-{{end}} diff --git a/web/templates/partials/plantoeat-meals.html b/web/templates/partials/plantoeat-meals.html deleted file mode 100644 index f05c98c..0000000 --- a/web/templates/partials/plantoeat-meals.html +++ /dev/null @@ -1,35 +0,0 @@ -{{define "plantoeat-meals"}} -
- -
-
-

Upcoming Meals

-
- - {{if .Meals}} -
- {{range .Meals}} -
-

{{range $i, $name := .RecipeNames}}{{if $i}} + {{end}}{{$name}}{{end}}

-
- {{.Date.Format "Mon, Jan 2"}} - - {{.MealType}} - -
-
- {{end}} -
- {{else}} -
- - - -

No meals planned

-

- Schedule your meals to see them here. -

-
- {{end}} -
-{{end}} diff --git a/web/templates/partials/trello-boards.html b/web/templates/partials/trello-boards.html deleted file mode 100644 index d51446d..0000000 --- a/web/templates/partials/trello-boards.html +++ /dev/null @@ -1,45 +0,0 @@ -{{define "trello-boards"}} -{{if .Boards}} -
- -
-
-

Trello Boards

-
- - -
- {{range .Boards}} - {{if .Cards}} - {{template "trello-board" .}} - {{end}} - {{end}} -
- - -
- - - Empty Boards - - - - - -
-
- {{range .Boards}} - {{if not .Cards}} -
-

{{.Name}}

-

No cards

-
- {{end}} - {{end}} -
-
-
-
-{{end}} -{{end}} -- cgit v1.2.3