From 764d4d2d07449aec72c87afe941b7c63ea05e08c Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sat, 21 Mar 2026 21:24:02 +0000 Subject: feat: Phase 1 — remove bug feature and dead code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Delete Bug struct, BugToAtom, SourceBug, TypeBug, TypeNote - Remove bug store methods (SaveBug, GetBugs, ResolveBug, etc.) - Remove HandleGetBugs, HandleReportBug, bug branches in handlers - Remove bug routes, bugs.html template, bug UI from index.html - Remove AddMealToPlanner stub + interface method - Migration 018: DROP TABLE IF EXISTS bugs Co-Authored-By: Claude Sonnet 4.6 --- web/templates/index.html | 34 ---------------------------------- web/templates/partials/bugs.html | 12 ------------ 2 files changed, 46 deletions(-) delete mode 100644 web/templates/partials/bugs.html (limited to 'web') diff --git a/web/templates/index.html b/web/templates/index.html index 2a07a32..87be542 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -135,10 +135,6 @@ class="px-3 py-1 rounded-lg text-sm font-medium text-white/60 hover:bg-white/10"> 🛒 Shopping - @@ -195,31 +191,6 @@ - - @@ -242,7 +213,6 @@ function switchActionTab(tab) { document.getElementById('panel-add').classList.toggle('hidden', tab !== 'add'); document.getElementById('panel-shopping').classList.toggle('hidden', tab !== 'shopping'); - document.getElementById('panel-bug').classList.toggle('hidden', tab !== 'bug'); // Task tab styling document.getElementById('tab-add').classList.toggle('bg-white/20', tab === 'add'); document.getElementById('tab-add').classList.toggle('text-white', tab === 'add'); @@ -251,10 +221,6 @@ document.getElementById('tab-shopping').classList.toggle('bg-green-900/50', tab === 'shopping'); document.getElementById('tab-shopping').classList.toggle('text-green-300', tab === 'shopping'); document.getElementById('tab-shopping').classList.toggle('text-white/60', tab !== 'shopping'); - // Bug tab styling - document.getElementById('tab-bug').classList.toggle('bg-red-900/50', tab === 'bug'); - document.getElementById('tab-bug').classList.toggle('text-red-300', tab === 'bug'); - document.getElementById('tab-bug').classList.toggle('text-white/60', tab !== 'bug'); // Load shopping lists when switching to shopping tab if (tab === 'shopping') { loadShoppingLists(); diff --git a/web/templates/partials/bugs.html b/web/templates/partials/bugs.html deleted file mode 100644 index cb5ba25..0000000 --- a/web/templates/partials/bugs.html +++ /dev/null @@ -1,12 +0,0 @@ -{{define "bugs"}} -{{if .}} -{{range .}} -
-

{{.Description}}

-

{{.CreatedAt.Format "Jan 2, 3:04 PM"}}

-
-{{end}} -{{else}} -

No bugs reported yet.

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