From 03d72f7e8823ee885ca6d623bbad19c844e213ee Mon Sep 17 00:00:00 2001 From: Scott McCarty Date: Tue, 23 Jun 2026 10:53:09 -0400 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20improve=20Todo=20plugin=20UI=20?= =?UTF-8?q?=E2=80=94=20centered=20tabs,=20settings=20integration,=20sort?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Center list filter tabs on wrap to match main nav behavior - Move "Manage Lists" from todo header into Settings page "To-do" card - Replace quick-add form with Add button that opens full edit modal - Add sort dropdown (Manual, Priority, Due Date, Newest) Co-Authored-By: Claude Opus 4.6 (1M context) --- templates/index.html | 101 ++++++++++++++++++++++++++++--------------- 1 file changed, 66 insertions(+), 35 deletions(-) diff --git a/templates/index.html b/templates/index.html index fca8cbd..8c44d46 100644 --- a/templates/index.html +++ b/templates/index.html @@ -249,11 +249,12 @@ .todo-lists-bar { display: flex; gap: 0.5rem; background: var(--bg-secondary); padding: 0.25rem; border-radius: 8px; margin-bottom: 1rem; flex-wrap: wrap; + justify-content: center; } .todo-lists-bar button { - padding: 0.5rem 1rem; background: transparent; border: none; + flex: 1 1 auto; padding: 0.5rem 1rem; background: transparent; border: none; color: var(--text-secondary); cursor: pointer; border-radius: 6px; font-size: 0.875rem; - white-space: nowrap; + white-space: nowrap; text-align: center; } .todo-lists-bar button:hover { background: var(--bg-tertiary); color: var(--text-primary); } .todo-lists-bar button.active { background: var(--bg-tertiary); color: var(--text-primary); font-weight: 600; } @@ -290,11 +291,10 @@ cursor: pointer; padding: 0.25rem 0.5rem; font-size: 1rem; } .todo-actions button:hover { color: var(--text-primary); } - .todo-add-form { - display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; + .todo-toolbar { + display: flex; gap: 0.5rem; margin-bottom: 1rem; align-items: center; } - .todo-add-form input[type="text"] { flex: 1; min-width: 200px; } - .todo-add-form select, .todo-add-form input[type="date"] { max-width: 150px; } + .todo-toolbar select { font-size: 0.875rem; padding: 0.5rem; max-width: 170px; } .todo-completed-header { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color: var(--text-secondary); margin-top: 1.5rem; margin-bottom: 0.5rem; @@ -742,19 +742,16 @@

By Type (Minutes)

To-do

-
-
- - + + + + - -