From 2509dde6aa372a505b186657706f4d21bd391807 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Wed, 12 Aug 2026 23:35:47 +0000 Subject: 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. --- web/templates/partials/task-detail.html | 15 ++++++++++++++- web/templates/partials/timeline-tab.html | 32 ++++++++++++++++++++++++++++---- 2 files changed, 42 insertions(+), 5 deletions(-) (limited to 'web') diff --git a/web/templates/partials/task-detail.html b/web/templates/partials/task-detail.html index 135c38f..abcc5b9 100644 --- a/web/templates/partials/task-detail.html +++ b/web/templates/partials/task-detail.html @@ -1,14 +1,27 @@ {{define "task-detail"}}
-

{{.Title}}

+ +
+ {{if .IsDoot}} + + {{end}} + {{if .IsDoot}}

Recurrence

diff --git a/web/templates/partials/timeline-tab.html b/web/templates/partials/timeline-tab.html index d6f410e..c232001 100644 --- a/web/templates/partials/timeline-tab.html +++ b/web/templates/partials/timeline-tab.html @@ -147,7 +147,13 @@ hx-swap="outerHTML" class="h-4 w-4 rounded bg-black/40 border-white/30 text-white/80 focus:ring-white/30 cursor-pointer flex-shrink-0"> {{end}} - {{.Title}}{{multiDayLabel .}} + {{.Title}}{{multiDayLabel .}} {{if .IsOverdue}}overdue{{end}} {{if .ChainTotal}}{{.ChainPosition}}/{{.ChainTotal}}{{end}} {{if eq .BucketState "active"}}defer{{end}} @@ -203,7 +209,13 @@ onclick="event.stopPropagation();" class="h-4 w-4 rounded bg-black/40 border-white/30 text-white/80 focus:ring-white/30 cursor-pointer flex-shrink-0"> {{end}} - {{.Title}} + {{.Title}} {{if .ChainTotal}}{{.ChainPosition}}/{{.ChainTotal}}{{end}} {{if eq .BucketState "active"}}defer{{end}}
@@ -253,7 +265,13 @@ class="h-4 w-4 rounded bg-black/40 border-white/30 text-white/80 focus:ring-white/30 cursor-pointer shrink-0"> {{end}} - + {{.Title}}{{multiDayLabel .}} {{if and (eq .MultiDayVariant "") .EndTime}}– {{.EndTime.Format "3:04 PM"}}{{end}} {{if .ChainTotal}}{{.ChainPosition}}/{{.ChainTotal}}{{end}} @@ -330,7 +348,13 @@
-

{{.Title}}

+

{{.Title}}

{{if .URL}} -- cgit v1.2.3