From 92909ebed5df68908f32c899de1e480f8d7fb01f Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sat, 18 Jul 2026 09:38:26 +0000 Subject: Add bucket CRUD and read-only Projects/Labels to Settings page New "Maintenance Buckets" section: create a bucket, add a pool item by title (creates the task and assigns it in one step), remove an item, delete a bucket (unbuckets its tasks rather than deleting them). New read-only Projects and Labels sections (name + color swatch) -- both are simple enough that read-only is the right call on web, per user direction, rather than duplicating the Android popup's editing UX. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01EZ7ikw2ukGJFTHE3bJS7zL --- cmd/dashboard/main.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cmd/dashboard/main.go') diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index 3699a12..cb2b757 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -370,6 +370,12 @@ func main() { r.Delete("/settings/features/{name}", h.HandleDeleteFeature) r.Delete("/settings/agents/{id}", h.HandleDeleteAgent) + // Maintenance bucket management (Settings page) + r.Post("/settings/buckets", h.HandleBucketsCreate) + r.Delete("/settings/buckets/{id}", h.HandleBucketDelete) + r.Post("/settings/buckets/{id}/items", h.HandleBucketItemAdd) + r.Post("/settings/buckets/items/remove", h.HandleBucketItemRemove) + // WebSocket for notifications r.Get("/ws/notifications", h.HandleWebSocket) }) -- cgit v1.2.3