diff --git a/cometline/src/lib/features/shell/components/AppShell.svelte b/cometline/src/lib/features/shell/components/AppShell.svelte index 30c520e4..0fa4b39c 100644 --- a/cometline/src/lib/features/shell/components/AppShell.svelte +++ b/cometline/src/lib/features/shell/components/AppShell.svelte @@ -174,7 +174,6 @@ label={titlebarLabel} renamable={titlebarRenamable} titleAttr={titlebarSessionTitleAttr} - utilityPage={isUtilityPage} {activeSessionId} onRename={shortcuts.startRenameFromTitlebar} /> @@ -317,8 +316,7 @@ min-width: 72px; } - /* Utility pages have their own page header and do not render the session - titlebar, while still keeping a usable main pane beside the workspace panel. */ + /* Utility pages keep a usable main pane beside the workspace panel. */ .app-shell.utility-page:not(.is-fullscreen) .main { min-width: 400px; } diff --git a/cometline/src/lib/features/shell/components/ShellTitlebar.svelte b/cometline/src/lib/features/shell/components/ShellTitlebar.svelte index 35d08b39..cdb45b92 100644 --- a/cometline/src/lib/features/shell/components/ShellTitlebar.svelte +++ b/cometline/src/lib/features/shell/components/ShellTitlebar.svelte @@ -7,14 +7,12 @@ label, renamable, titleAttr, - utilityPage, activeSessionId, onRename }: { label: string; renamable: boolean; titleAttr: string; - utilityPage: boolean; activeSessionId: string | null; onRename: () => void; } = $props(); @@ -56,33 +54,29 @@ {label} {/if} {/if} - {#if !utilityPage} -
- + + - -
- {/if} + {#if shellStore.workspacePanelOpen} + + {:else} + + {/if} + + +