From 522e5ce096a608fb4b85d8fd6f3840d71b3873f0 Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Thu, 1 Oct 2026 01:24:45 -0700 Subject: [PATCH] Revert "fix: the file sidebar's toggle leaves the band" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1da8d16740b9aaef2d604acf06ac6451f2a10c28. A folded file sidebar renders nothing of its own, so the toggle on the bar is the only way back short of knowing ⌘B. Co-Authored-By: Claude Opus 5 (1M context) --- .../components/raw_apps/RawAppEditorHeader.svelte | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/src/lib/components/raw_apps/RawAppEditorHeader.svelte b/frontend/src/lib/components/raw_apps/RawAppEditorHeader.svelte index 5edbd2b7da..35b1d6ab56 100644 --- a/frontend/src/lib/components/raw_apps/RawAppEditorHeader.svelte +++ b/frontend/src/lib/components/raw_apps/RawAppEditorHeader.svelte @@ -323,9 +323,9 @@ const w = ownsPageHeader ? pageHeader.barWidth : topbarWidth return w > 0 && w < compactBelow }) - // A phone's bar keeps the trail, Diff and Deploy. AI stands down — the sidebar's own Ask AI is - // the way in at that width — while Jobs and the export are already in the menu, Jobs from - // `compactTopbar` (true at any phone width) and the export always. + // A phone's bar keeps the trail, the file sidebar's toggle, Diff and Deploy. AI stands down — + // the sidebar's own Ask AI is the way in at that width — while Jobs and the export are already + // in the menu, Jobs from `compactTopbar` (true at any phone width) and the export always. const phoneTopbar = $derived( ownsPageHeader && pageHeader.barWidth > 0 && pageHeader.barWidth < PHONE_BAR ) @@ -1034,9 +1034,10 @@ {/snippet} {#snippet rawAppHeaderActions()} - + + {@render sidebarToggle()} {@render autosaveIndicator()} {@render awarenessMark()} {@render rawAppActions()}