diff --git a/frontend/src/lib/components/DeployButton.svelte b/frontend/src/lib/components/DeployButton.svelte index d8828d515a..da1ba5dd42 100644 --- a/frontend/src/lib/components/DeployButton.svelte +++ b/frontend/src/lib/components/DeployButton.svelte @@ -6,7 +6,8 @@ const { loading = false, loadingSave = false, - dropdownItems = [] + dropdownItems = [], + unifiedSize = 'md' }: { loading?: boolean loadingSave?: boolean @@ -14,6 +15,7 @@ label: string onClick: () => void }> + unifiedSize?: 'sm' | 'md' | 'lg' } = $props() const dispatch = createEventDispatcher() @@ -28,7 +30,7 @@ disabled={loading} loading={loadingSave} variant="accent" - unifiedSize="md" + {unifiedSize} startIcon={{ icon: Save }} on:click={() => dispatch('save')} {dropdownItems} diff --git a/frontend/src/lib/components/EditorHeader.svelte b/frontend/src/lib/components/EditorHeader.svelte index 7812e8a6a5..b6e0bb4c82 100644 --- a/frontend/src/lib/components/EditorHeader.svelte +++ b/frontend/src/lib/components/EditorHeader.svelte @@ -43,6 +43,10 @@ * inline. Breadcrumb navigation still works — only the rename UI is * gated. */ pathEditable?: boolean + /** When true, the whole path/breadcrumb row (and its pen popover) is + * dropped, leaving only the summary. Used by the condensed session- + * preview top bar to save vertical room. */ + hidePath?: boolean /** Workspace whose items the breadcrumb picker lists. Session live * editors pass their acting workspace so the picker isn't scoped to the * navigation workspace; falls back to $workspaceStore in the picker. */ @@ -60,6 +64,7 @@ penVisibility = 'hover', summaryEditable = true, pathEditable = true, + hidePath = false, workspaceId }: Props = $props() @@ -135,109 +140,111 @@