summaryrefslogtreecommitdiff
path: root/internal/api/plantoeat.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-21 21:24:02 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-21 21:24:02 +0000
commit764d4d2d07449aec72c87afe941b7c63ea05e08c (patch)
tree042b157cfff2ab358b5bb9b891f26944133b7065 /internal/api/plantoeat.go
parent5f4f59fc6302a4e44773d4a939ae7b3304d61f1f (diff)
feat: Phase 1 — remove bug feature and dead code
- 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 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/plantoeat.go')
-rw-r--r--internal/api/plantoeat.go6
1 files changed, 0 insertions, 6 deletions
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) {