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/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 ------------------------------- 4 files changed, 2 insertions(+), 145 deletions(-) delete mode 100644 web/templates/partials/todoist-tasks.html (limited to 'web/templates/partials') 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}} -- cgit v1.2.3