summaryrefslogtreecommitdiff
path: root/internal/handlers/handlers.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-08-23 17:43:49 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-08-23 17:43:49 +0000
commitc46c135f52090a082660cb06131282796f5cd592 (patch)
tree59930d5950aa64f24efcd38fbdd727c2a68d4e26 /internal/handlers/handlers.go
parent18783b813af946e1e940bfeb1a0bdc1e7ce9f95f (diff)
Remove unused /tabs/conditions partial and route
Only the standalone /conditions page was ever meant to exist; the HTMX tab variant was dead weight, reachable only via an unlinked ?tab=conditions query param with no button in the tab bar. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GMEkHeqKz6FLkmizowBTK
Diffstat (limited to 'internal/handlers/handlers.go')
-rw-r--r--internal/handlers/handlers.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go
index fc66f84..fc75b61 100644
--- a/internal/handlers/handlers.go
+++ b/internal/handlers/handlers.go
@@ -1262,11 +1262,6 @@ func mealTypeOrder(mealType string) int {
}
}
-// HandleTabConditions renders the Conditions tab with live feeds
-func (h *Handler) HandleTabConditions(w http.ResponseWriter, r *http.Request) {
- HTMLResponse(w, h.renderer, "conditions-tab", nil)
-}
-
// HandleConditionsPage renders the standalone Conditions page with live feeds
func (h *Handler) HandleConditionsPage(w http.ResponseWriter, r *http.Request) {
if err := h.renderer.Render(w, "conditions.html", nil); err != nil {