mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-13 08:02:47 +00:00
Revert "fix: the file sidebar's toggle leaves the band"
This reverts commit 1da8d16740.
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) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
97834677c5
commit
522e5ce096
@@ -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()}
|
||||
<!-- The bar's own order kept: how the draft is doing, who else is here, then what to do with
|
||||
the app. The file sidebar's toggle stays out — the band is the workspace's header, not this
|
||||
editor's layout controls, and ⌘B still folds it. -->
|
||||
<!-- The bar's own order kept: the file sidebar, how the draft is doing, who else is here, then
|
||||
what to do with the app. The sidebar's toggle is the only way back once it is folded — the
|
||||
collapsed sidebar renders nothing of its own — so it stays on the bar at every width. -->
|
||||
{@render sidebarToggle()}
|
||||
{@render autosaveIndicator()}
|
||||
{@render awarenessMark()}
|
||||
{@render rawAppActions()}
|
||||
|
||||
Reference in New Issue
Block a user