mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-12 08:02:44 +00:00
fix: the file sidebar's toggle leaves the band
The band is the workspace's header, not the raw editor's layout controls. ⌘B still folds the file sidebar, and the editor's own bar keeps the button where it draws one — a session pane. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
5ffb103856
commit
1da8d16740
@@ -323,9 +323,9 @@
|
||||
const w = ownsPageHeader ? pageHeader.barWidth : topbarWidth
|
||||
return w > 0 && w < compactBelow
|
||||
})
|
||||
// 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.
|
||||
// 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.
|
||||
const phoneTopbar = $derived(
|
||||
ownsPageHeader && pageHeader.barWidth > 0 && pageHeader.barWidth < PHONE_BAR
|
||||
)
|
||||
@@ -1034,9 +1034,9 @@
|
||||
{/snippet}
|
||||
|
||||
{#snippet rawAppHeaderActions()}
|
||||
<!-- 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. -->
|
||||
{@render sidebarToggle()}
|
||||
<!-- 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. -->
|
||||
{@render autosaveIndicator()}
|
||||
{@render awarenessMark()}
|
||||
{@render rawAppActions()}
|
||||
|
||||
Reference in New Issue
Block a user