From 8dbb6f43577b8a86e94ef7aaee196f9743356643 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sun, 18 Jan 2026 15:24:58 -1000 Subject: Implement unified task completion with cache sync (Phase 3 Step 7) Add checkbox UI to Tasks tab for completing Todoist tasks and archiving Trello cards. Fix cache synchronization so completed items stay gone after page reload by deleting them from SQLite cache after API success. - Add HandleCompleteAtom handler routing to Todoist/Trello APIs - Add DeleteTask/DeleteCard store methods for cache removal - Add htmx.process() calls after innerHTML updates in app.js - Add comprehensive tests for completion and cache behavior Co-Authored-By: Claude Opus 4.5 --- web/templates/partials/tasks-tab.html | 41 +++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 14 deletions(-) (limited to 'web/templates/partials/tasks-tab.html') diff --git a/web/templates/partials/tasks-tab.html b/web/templates/partials/tasks-tab.html index 43afa7d..9379e5c 100644 --- a/web/templates/partials/tasks-tab.html +++ b/web/templates/partials/tasks-tab.html @@ -10,12 +10,33 @@ {{if .Atoms}}
{{range .Atoms}} -
-
+
+
+ + +
+ +
+
-
- {{.SourceIcon}} -

{{.Title}}

+
+
+ {{.SourceIcon}} +

{{.Title}}

+
+ {{if .URL}} + + + + + + {{end}}
{{if .Description}} @@ -49,14 +70,6 @@ {{end}}
- - {{if .URL}} - - - - - - {{end}}
{{end}} @@ -68,4 +81,4 @@ {{end}}
-{{end}} \ No newline at end of file +{{end}} -- cgit v1.2.3