diff --git a/frontend/src/lib/components/FlowBuilder.svelte b/frontend/src/lib/components/FlowBuilder.svelte index 8c34de9503..74ed6a22d0 100644 --- a/frontend/src/lib/components/FlowBuilder.svelte +++ b/frontend/src/lib/components/FlowBuilder.svelte @@ -1561,115 +1561,129 @@ contexts={headerContexts} /> {:else} - -
-
- {#if customUi?.topBar?.path != false} -
- onNavigate?.(item)} + +
+
+ {#if customUi?.topBar?.path != false} +
+ onNavigate?.(item)} + /> +
+ {/if} + {#if opWorkspace && indicatorPath !== undefined} + -
- {/if} - {#if opWorkspace && indicatorPath !== undefined} - - {/if} -
-
- {#if $enterpriseLicense && !newFlow && !inSessionPane} - - {/if} - - {#if diffEnabled && !diffInMenu} - -
- -
- {/if} - {#if !compactTopbar} - {@render previewButtons()} - {/if} +
+ +
+ {/if} + {#if !compactTopbar} + {@render previewButtons()} + {/if} - await handleSaveFlow(detail)} - {loading} - {loadingSave} - unifiedSize={headerBtnSize} - {dropdownItems} - /> + await handleSaveFlow(detail)} + {loading} + {loadingSave} + unifiedSize={headerBtnSize} + {dropdownItems} + /> +
-
{/if} {#snippet flowHeaderActions()} - - {#if $enterpriseLicense && !newFlow && !inSessionPane} - - {/if} - - {#if diffEnabled && !diffInMenu} - + {#if opWorkspace && indicatorPath !== undefined} + + {/if} + {#if $enterpriseLicense && !newFlow && !inSessionPane} + + {/if} + + {#if diffEnabled && !diffInMenu} + -
- -
- {/if} - {#if !compactTopbar} - {@render previewButtons()} - {/if} +
+ +
+ {/if} + {#if !compactTopbar} + {@render previewButtons()} + {/if} - await handleSaveFlow(detail)} - {loading} - {loadingSave} - unifiedSize={headerBtnSize} - {dropdownItems} - /> + await handleSaveFlow(detail)} + {loading} + {loadingSave} + unifiedSize={headerBtnSize} + {dropdownItems} + /> {/snippet} @@ -45,15 +47,19 @@ The row's height matches the sidebar's own header row, so the two read as one ba -
- -
+ way rather than pushing them off the bar once there is nothing left to take. + An embed (`navHidden`) gets the page's controls without the trail that would offer to + navigate the host's workspace. --> + {#if !navHidden} +
+ +
+ {/if} {#if item && (item.summaryContent || item.summary)} + {#if !devOnly && pageHeader.content?.barPlacement !== 'inline' && (!menuHidden || pageHeader.actions.length > 0)} {@const rightInset = pageHeader.content?.barRightInset} {@const leftInset = useDrawer ? 0 : railWidth}