summaryrefslogtreecommitdiff
path: root/internal/api/interfaces.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-23 16:10:52 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-23 16:10:52 -1000
commit7828e19501b3ca8b2e86ca7297f580c659e5c9b8 (patch)
treee3113af67fcecc459d81b213d7f043630dccae98 /internal/api/interfaces.go
parentd11334c0999efb670a8eab93527a50f644fdfceb (diff)
Fix bugs #24-27: calendar dedup, uncomplete tasks, planning view
Bug fixes: - #24: Deduplicate calendar events across multiple calendars using summary + start time as key - #25: Change event icon from calendar to clock to avoid confusion with date display - #26: Add task uncomplete functionality via ReopenTask API for Todoist and closed=false for Trello - #27: Restructure planning view with sections for Scheduled (timed events/tasks), Today (unscheduled), Quick Add, and Upcoming (3 days) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/interfaces.go')
-rw-r--r--internal/api/interfaces.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/api/interfaces.go b/internal/api/interfaces.go
index e2521f4..842814c 100644
--- a/internal/api/interfaces.go
+++ b/internal/api/interfaces.go
@@ -14,6 +14,7 @@ type TodoistAPI interface {
CreateTask(ctx context.Context, content, projectID string, dueDate *time.Time, priority int) (*models.Task, error)
UpdateTask(ctx context.Context, taskID string, updates map[string]interface{}) error
CompleteTask(ctx context.Context, taskID string) error
+ ReopenTask(ctx context.Context, taskID string) error
Sync(ctx context.Context, syncToken string) (*TodoistSyncResponse, error)
}