From ec8a9c0ea46dec7d26caa763e3adefcaf3fc7552 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sun, 25 Jan 2026 11:56:29 -1000 Subject: Fix bugs and add bug management scripts Bug fixes: - #36: Hide recurring tasks until due day (add IsRecurring to Task/Atom) - Trello cards missing: change filter=visible to filter=open - Build fix: add missing fmt import in atom.go Infrastructure: - Add scripts/bugs and scripts/resolve-bug for DB bug tracking - Remove issues/ directory (bugs now tracked in DB) - Add timeline_logic_test.go Co-Authored-By: Claude Opus 4.5 --- internal/api/todoist_test.go | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'internal/api/todoist_test.go') diff --git a/internal/api/todoist_test.go b/internal/api/todoist_test.go index 88f94f8..2fa6e28 100644 --- a/internal/api/todoist_test.go +++ b/internal/api/todoist_test.go @@ -104,20 +104,16 @@ func TestTodoistClient_CreateTask_WithDueDate(t *testing.T) { } // Return mock response with due date - dueStruct := struct { - Date string `json:"date"` - Datetime string `json:"datetime"` - }{ - Date: "2026-01-15", - Datetime: "", - } response := todoistTaskResponse{ ID: "task-789", Content: "Task with Due Date", ProjectID: "project-456", URL: "https://todoist.com/task/789", CreatedAt: time.Now().Format(time.RFC3339), - Due: &dueStruct, + Due: &dueInfo{ + Date: "2026-01-15", + Datetime: "", + }, } w.Header().Set("Content-Type", "application/json") -- cgit v1.2.3