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 --- web/templates/partials/buckets-section.html | 53 +++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 web/templates/partials/buckets-section.html (limited to 'web/templates/partials/buckets-section.html') diff --git a/web/templates/partials/buckets-section.html b/web/templates/partials/buckets-section.html new file mode 100644 index 0000000..d2f5b7e --- /dev/null +++ b/web/templates/partials/buckets-section.html @@ -0,0 +1,53 @@ +{{define "buckets-section"}} +
+ {{if .Buckets}} + {{range .Buckets}} +
+
+
+ {{.Bucket.Name}} + every {{.Bucket.CycleDays}}d, picks {{.Bucket.PickN}} +
+ +
+ +
+ {{if .Items}} + {{range .Items}} +
+ {{.Content}} +
+ {{.BucketState}} + +
+
+ {{end}} + {{else}} +

Pool is empty.

+ {{end}} +
+ +
+ + +
+
+ {{end}} + {{else}} +
No maintenance buckets yet.
+ {{end}} +
+{{end}} -- cgit v1.2.3