From e7aee6b9d0c2be22530f7813bf677c0c8bff99e4 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 29 Jun 2026 09:31:37 +0000 Subject: feat: reschedule tasks from widget bottom sheet Tapping a doot task shows a date picker. On confirm, POSTs to /api/widget/reschedule, updates due_date in native_tasks, refreshes widget. Reschedule button only shows for source="doot" tasks. Co-Authored-By: Claude Sonnet 4.6 --- cmd/dashboard/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/dashboard/main.go') diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index c154d9b..9f69d46 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -366,6 +366,7 @@ func main() { } r.With(widgetAuth).Get("/api/widget", h.HandleWidgetGet) r.With(widgetAuth).Post("/api/widget/complete", h.HandleWidgetComplete) + r.With(widgetAuth).Post("/api/widget/reschedule", h.HandleWidgetReschedule) } else { log.Println("WIDGET_TOKEN not set — /api/widget disabled") } -- cgit v1.2.3