summaryrefslogtreecommitdiff
path: root/cmd/dashboard
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-08-12 23:35:47 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-08-12 23:35:47 +0000
commit2509dde6aa372a505b186657706f4d21bd391807 (patch)
treee4147991747b8dd14d0b8654b2b8e50717b666bd /cmd/dashboard
parent3e8ad60431d6cc783f9f7c555bfde5db54ebec75 (diff)
Add task title editing/deletion, timeline click-to-open, widget app launch
Task-detail modal was description-only with no delete affordance; HandleUpdateTask now saves the title too and a Delete button hits a new DELETE /tasks/{id} route backed by store.DeleteNativeTask, which repairs chain_position/unlocks the successor when the deleted task belongs to a chain. Timeline tab task/card/gtask rows now open the same detail modal as the Tasks tab. Android widget's "TODAY" header is now a tap target that launches DashboardActivity, since nothing previously opened the full app from the widget.
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 6d1e34e..24fb8a6 100644
--- a/cmd/dashboard/main.go
+++ b/cmd/dashboard/main.go
@@ -361,6 +361,7 @@ func main() {
r.Get("/task", h.HandleTaskDetailPage)
r.Post("/tasks/update", h.HandleUpdateTask)
r.Post("/tasks/recurrence", h.HandleSetTaskRecurrence)
+ r.Delete("/tasks/{id}", h.HandleDeleteTask)
// Shopping quick-add
r.Post("/shopping/add", h.HandleShoppingQuickAdd)