summaryrefslogtreecommitdiff
path: root/cmd/dashboard
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-06-29 07:09:43 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-06-29 07:09:43 +0000
commitdacb710fc4ea63baa05cc47016def3849b9db5fa (patch)
treecc86831a3a9c950ec0909975ce77bdb485cf5589 /cmd/dashboard
parent3b632feb80a1d6c95836981aad602e2dff4f6b63 (diff)
feat: add standalone task detail page for Android widget deep-links
Adds GET /task?id=xxx&source=xxx route that renders a full mobile-friendly task detail page (session-protected). Widget task rows now open this page when tapped. HandleUpdateTask redirects back to the page after a non-HTMX save. Android: threads serverUrl through composable chain to TaskRow. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'cmd/dashboard')
-rw-r--r--cmd/dashboard/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go
index 133b684..92a149b 100644
--- a/cmd/dashboard/main.go
+++ b/cmd/dashboard/main.go
@@ -324,6 +324,7 @@ func main() {
// Task detail/edit
r.Get("/tasks/detail", h.HandleGetTaskDetail)
+ r.Get("/task", h.HandleTaskDetailPage)
r.Post("/tasks/update", h.HandleUpdateTask)
// Shopping quick-add