From cbb0b53de1d06918c142171fd084f14f03798bc1 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sat, 31 Jan 2026 20:16:12 -1000 Subject: Add feature toggles system with settings UI (#74) - Add feature_toggles table (migration 012) - Add source_config table for future source selection (migration 013) - Create settings page at /settings with: - Feature toggle management (enable/disable/create/delete) - Data source configuration (sync and toggle boards/calendars) - Add store methods for feature toggles and source config - Add GetCalendarList and GetTaskLists to Google API clients - Document feature toggle workflow in DESIGN.md Co-Authored-By: Claude Opus 4.5 --- web/templates/settings.html | 257 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 257 insertions(+) create mode 100644 web/templates/settings.html (limited to 'web/templates') diff --git a/web/templates/settings.html b/web/templates/settings.html new file mode 100644 index 0000000..db84860 --- /dev/null +++ b/web/templates/settings.html @@ -0,0 +1,257 @@ + + + + + + Settings - Task Dashboard + + + + +
+ ← Back to Dashboard +

Settings

+

Configure feature toggles and data sources.

+ + +
+
+
Feature Toggles
+
+
+ {{if .Toggles}} + {{range .Toggles}} +
+ +
+ {{.Name}} + {{if .Description}}
{{.Description}}
{{end}} +
+ +
+ {{end}} + {{else}} +
No feature toggles configured.
+ {{end}} +
+
+ + + +
+
+ + +

Data Sources

+
+ +
+ +
+ {{range .Sources}} +
+
+
+ {{.}} + {{if eq . "trello"}}Trello Boards{{end}} + {{if eq . "todoist"}}Todoist Projects{{end}} + {{if eq . "gcal"}}Google Calendars{{end}} + {{if eq . "gtasks"}}Google Task Lists{{end}} +
+
+
+ {{$configs := index $.Configs .}} + {{if $configs}} + {{range $configs}} +
+ + {{.ItemName}} + {{.ItemID}} +
+ {{end}} + {{else}} +
+ No items configured. Click "Sync Available Sources" to fetch. +
+ {{end}} +
+
+ {{end}} +
+
+ + -- cgit v1.2.3