summaryrefslogtreecommitdiff
path: root/internal/models/widget.go
diff options
context:
space:
mode:
authorDoot Agent <agent@doot.local>2026-07-06 00:00:59 +0000
committerDoot Agent <agent@doot.local>2026-07-06 00:00:59 +0000
commit945c34590677e161a711ccaff0e1077197b1b178 (patch)
treedf26e8ba5a369b3323649c2fab95bd8e7a49b58e /internal/models/widget.go
parentcd14604bbef17f696475cf8737f1e41c9fa2dd06 (diff)
feat: remove Todoist integration entirely
Native tasks (native_tasks table) fully replace Todoist. All Todoist API code, store functions, handlers, routes, templates, and tests have been removed. Migration 021 drops the now-unused tasks cache table. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/models/widget.go')
-rw-r--r--internal/models/widget.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/models/widget.go b/internal/models/widget.go
index 94deec7..8d0bdd6 100644
--- a/internal/models/widget.go
+++ b/internal/models/widget.go
@@ -3,7 +3,7 @@ package models
import "time"
// WidgetItem is a single item in the widget API response.
-// Source values: "todoist", "trello", "plantoeat", "calendar", "gtasks"
+// Source values: "doot", "trello", "plantoeat", "calendar", "gtasks"
// Type values: "task", "event"
type WidgetItem struct {
ID string `json:"id"`
@@ -14,7 +14,7 @@ type WidgetItem struct {
End *time.Time `json:"end,omitempty"`
IsAllDay bool `json:"is_all_day"`
URL string `json:"url,omitempty"`
- Completable bool `json:"completable"` // true = todoist task (checkbox shown)
+ Completable bool `json:"completable"` // true = doot task (checkbox shown)
}
// WidgetResponse is the full /api/widget response body.