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 --- internal/api/plantoeat.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'internal/api/plantoeat.go') diff --git a/internal/api/plantoeat.go b/internal/api/plantoeat.go index ab5d2cd..770987a 100644 --- a/internal/api/plantoeat.go +++ b/internal/api/plantoeat.go @@ -7,7 +7,6 @@ import ( "log" "net/http" "strings" - "time" "github.com/PuerkitoBio/goquery" @@ -190,11 +189,6 @@ func (c *PlanToEatClient) GetRecipes(ctx context.Context) error { return fmt.Errorf("not implemented yet") } -// AddMealToPlanner adds a meal to the planner (for Phase 2) -func (c *PlanToEatClient) AddMealToPlanner(ctx context.Context, recipeID string, date time.Time, mealType string) error { - return fmt.Errorf("not implemented yet") -} - // GetShoppingList fetches the shopping list by scraping the web interface // Requires a valid session cookie set via SetSessionCookie func (c *PlanToEatClient) GetShoppingList(ctx context.Context) ([]models.ShoppingItem, error) { -- cgit v1.2.3