From 6f98ca4c228e8805811edd7ae9b2f8a380e60831 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Tue, 20 Oct 2026 15:09:44 -0400 Subject: [PATCH] fix(filters): group mode reads AND/OR, connective labels toggle it (user report) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ALL/ANY pills required mapping ALL→AND, ANY→OR that nobody should have to learn. The pills now say AND / OR directly (wire values stay all|any — server contract untouched), and the AND/OR text between sibling rules became a clickable toggle for its parent group, so the switch lives exactly where you're looking. --- templates/bookshelf.templ | 8 ++++---- templates/bookshelf_templ.go | 2 +- web/src/filter_builder.ts | 9 +++++++++ web/static/input.css | 17 +++++++++++++++++ web/static/style.css | 2 +- 5 files changed, 32 insertions(+), 6 deletions(-) diff --git a/templates/bookshelf.templ b/templates/bookshelf.templ index 35a56f29..4aabbb87 100644 --- a/templates/bookshelf.templ +++ b/templates/bookshelf.templ @@ -183,9 +183,9 @@ templ BookShelf(