From 1ce66b2213fbc71de6ee03069262261f1d1c10b4 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Mon, 19 Oct 2026 12:40:13 -0400 Subject: [PATCH] chore(templ): warn against change handlers on the bookshelf library select MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bookshelf select (#library-select) sits inside the htmx filter form and the SSR route honors ?offset= — wiring a change handler or hx-trigger="change" on it would let header.ts's synthetic restore event re-fetch the grid at offset 0, the same stomp class that broke the /series paginator. Comment-only guard; regenerated bookshelf_templ.go carries it into the emitted markup. --- templates/bookshelf.templ | 6 ++++++ templates/bookshelf_templ.go | 38 ++++++++++++++++++------------------ 2 files changed, 25 insertions(+), 19 deletions(-) diff --git a/templates/bookshelf.templ b/templates/bookshelf.templ index 285cde11..e779e2a0 100644 --- a/templates/bookshelf.templ +++ b/templates/bookshelf.templ @@ -139,6 +139,12 @@ templ BookShelf(
+ ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "