From 945c34590677e161a711ccaff0e1077197b1b178 Mon Sep 17 00:00:00 2001 From: Doot Agent Date: Mon, 6 Jul 2026 00:00:59 +0000 Subject: 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 --- web/templates/agent-context.html | 2 - web/templates/index.html | 2 +- web/templates/partials/planning-tab.html | 11 +--- web/templates/partials/tasks-tab.html | 33 ----------- web/templates/partials/timeline-tab.html | 4 +- web/templates/partials/todoist-tasks.html | 99 ------------------------------- web/templates/settings.html | 2 +- web/templates/task-detail-page.html | 2 +- 8 files changed, 5 insertions(+), 150 deletions(-) delete mode 100644 web/templates/partials/todoist-tasks.html (limited to 'web/templates') diff --git a/web/templates/agent-context.html b/web/templates/agent-context.html index db618ba..311df3a 100644 --- a/web/templates/agent-context.html +++ b/web/templates/agent-context.html @@ -22,7 +22,6 @@ .calendar-hour-label { position: absolute; left: -60px; top: -8px; font-size: 0.75em; color: #666; width: 50px; text-align: right; } .calendar-item { position: absolute; left: 10px; right: 10px; background: #0f3460; border-radius: 4px; padding: 6px 10px; font-size: 0.85em; border-left: 3px solid; overflow: hidden; z-index: 1; } .calendar-item:hover { z-index: 10; background: #1a4a80; } - .calendar-item.source-todoist { border-color: #e44332; } .calendar-item.source-trello { border-color: #0079bf; } .calendar-item.source-plantoeat { border-color: #5cb85c; } .calendar-item.source-calendar { border-color: #9b59b6; } @@ -38,7 +37,6 @@ th { background: #0f3460; color: #fff; } tr:hover { background: #1a1a2e; } .source { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.8em; } - .source-todoist { background: #e44332; color: #fff; } .source-trello { background: #0079bf; color: #fff; } .source-plantoeat { background: #5cb85c; color: #fff; } .source-calendar { background: #9b59b6; color: #fff; } diff --git a/web/templates/index.html b/web/templates/index.html index c34bacf..19f1c7e 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -164,7 +164,7 @@ id="modal-add-date" class="flex-1 bg-input border border-white/20 rounded-lg px-3 py-2 text-sm text-white"> diff --git a/web/templates/partials/planning-tab.html b/web/templates/partials/planning-tab.html index ae48f33..9472a2a 100644 --- a/web/templates/partials/planning-tab.html +++ b/web/templates/partials/planning-tab.html @@ -101,21 +101,12 @@ class="flex-1 bg-black/40 border border-white/20 rounded-lg px-3 py-2 text-sm text-white placeholder-white/50 focus:ring-2 focus:ring-white/30 focus:border-transparent" required> - + - {{if .Projects}} - - {{end}} diff --git a/web/templates/partials/tasks-tab.html b/web/templates/partials/tasks-tab.html index 520bf0d..04c20da 100644 --- a/web/templates/partials/tasks-tab.html +++ b/web/templates/partials/tasks-tab.html @@ -5,39 +5,6 @@ hx-target="#tab-content" hx-swap="innerHTML"> - - {{if .Projects}} -
- - + Quick Add Todoist Task - -
- - - - - - -
-
- {{end}} - {{if .Atoms}}
diff --git a/web/templates/partials/timeline-tab.html b/web/templates/partials/timeline-tab.html index e58f793..3dc0a8c 100644 --- a/web/templates/partials/timeline-tab.html +++ b/web/templates/partials/timeline-tab.html @@ -65,7 +65,6 @@ z-index: 10; background: rgba(0,0,0,0.7); } - .calendar-event.source-todoist { border-color: #e44332; } .calendar-event.source-trello { border-color: #0079bf; } .calendar-event.source-plantoeat { border-color: #5cb85c; } .calendar-event.source-calendar { border-color: #9b59b6; } @@ -92,7 +91,6 @@ font-size: 0.85em; border-left: 3px solid; } - .untimed-item.source-todoist { border-color: #e44332; } .untimed-item.source-trello { border-color: #0079bf; } .untimed-item.source-plantoeat { border-color: #5cb85c; } .untimed-item.source-calendar { border-color: #9b59b6; } @@ -226,7 +224,7 @@
+ {{if eq .Source "calendar"}}bg-purple-400{{else if eq .Source "doot"}}bg-teal-400{{else if eq .Source "trello"}}bg-blue-400{{else if eq .Source "plantoeat"}}bg-green-400{{else if eq .Source "gtasks"}}bg-yellow-400{{else}}bg-white/30{{end}}">
{{if or (eq .Type "task") (eq .Type "card") (eq .Type "gtask")}} diff --git a/web/templates/partials/todoist-tasks.html b/web/templates/partials/todoist-tasks.html deleted file mode 100644 index 3296745..0000000 --- a/web/templates/partials/todoist-tasks.html +++ /dev/null @@ -1,99 +0,0 @@ -{{define "todoist-tasks"}} -
- -
-
-

Todoist Tasks

-
- - - {{if .Projects}} -
- - + Quick Add Task - -
- - - - - - -
-
- {{end}} - - - {{if .Tasks}} -
- {{range .Tasks}} -
- - - -
-

- {{.Content}} -

- {{if .Description}} -

{{.Description}}

- {{end}} -
- {{if .ProjectName}} - {{.ProjectName}} - {{end}} - {{if .DueDate}} - - Due: {{.DueDate.Format "Jan 2"}} - - {{end}} - {{range .Labels}} - {{.}} - {{end}} -
-
- {{if .URL}} - - - - - - {{end}} -
- {{end}} -
- {{else}} -
- - - -

No tasks found

-

- All tasks completed or no tasks available. -

-
- {{end}} -
-{{end}} diff --git a/web/templates/settings.html b/web/templates/settings.html index ef969ee..a955f64 100644 --- a/web/templates/settings.html +++ b/web/templates/settings.html @@ -232,7 +232,7 @@ {{range .Sources}}

- {{if eq . "trello"}}Trello Boards{{else if eq . "todoist"}}Todoist Projects{{else if eq . "gcal"}}Google Calendars{{else if eq . "gtasks"}}Google Task Lists{{else}}{{.}}{{end}} + {{if eq . "trello"}}Trello Boards{{else if eq . "gcal"}}Google Calendars{{else if eq . "gtasks"}}Google Task Lists{{else}}{{.}}{{end}}

{{$configs := index $.Configs .}} diff --git a/web/templates/task-detail-page.html b/web/templates/task-detail-page.html index 9bbf008..0c9b8f7 100644 --- a/web/templates/task-detail-page.html +++ b/web/templates/task-detail-page.html @@ -12,7 +12,7 @@ {{if .Saved}}

Saved.

{{end}}

{{.Title}}

- {{if eq .Source "todoist"}} + {{if eq .Source "doot"}}
-- cgit v1.2.3