From 3b80409718a58cc48d554f55073c6db01a1cddf9 Mon Sep 17 00:00:00 2001 From: Johannes Date: Wed, 1 Jul 2026 12:30:14 -0400 Subject: [PATCH] =?UTF-8?q?fix(guide):=20collapsible=20nav=20not=20togglin?= =?UTF-8?q?g=20=E2=80=94=20reference=20open/searching=20directly=20(Svelte?= =?UTF-8?q?=20reactivity)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit isOpen() helper hid the dependency on `open` from Svelte's tracking, so clicks updated state but not the view. Inline (searching || open[key]) instead. Co-Authored-By: Claude Opus 4.8 --- frontend/src/components/GuideReader.svelte | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/GuideReader.svelte b/frontend/src/components/GuideReader.svelte index 46bcce4..889bc69 100644 --- a/frontend/src/components/GuideReader.svelte +++ b/frontend/src/components/GuideReader.svelte @@ -52,7 +52,6 @@ $: productApps = filtered.filter(a => a.app !== 'platform' && a.app !== 'technical'); $: platformApp = filtered.find(a => a.app === 'platform') ?? null; $: technicalApp = filtered.find(a => a.app === 'technical') ?? null; - const isOpen = (key: string) => searching || !!open[key]; async function loadNav() { loadingNav = true; @@ -110,15 +109,15 @@ {#if productApps.length}