From 62b57ae4a2c79951fd35cd1c867aec180e9051b5 Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Wed, 25 Mar 2026 16:46:49 +0100 Subject: [PATCH] feat: responsive dev layout and hide splitter for single-pane views Co-Authored-By: Claude Opus 4.5 --- frontend/src/lib/components/Dev.svelte | 95 ++++++++++--------- .../flows/content/FlowModuleComponent.svelte | 16 +++- 2 files changed, 66 insertions(+), 45 deletions(-) diff --git a/frontend/src/lib/components/Dev.svelte b/frontend/src/lib/components/Dev.svelte index 97287a607d..6ccf699579 100644 --- a/frontend/src/lib/components/Dev.svelte +++ b/frontend/src/lib/components/Dev.svelte @@ -110,6 +110,9 @@ let darkModeToggle: DarkModeToggle | undefined = $state() let darkMode: boolean = $state(document.documentElement.classList.contains('dark')) + let flowContainerWidth = $state(0) + let flowContainerHeight = $state(0) + let flowHorizontalSplit = $derived(flowContainerWidth < flowContainerHeight) let modeInitialized = $state(false) function initializeMode() { modeInitialized = true @@ -864,7 +867,11 @@ {:else} -
+
@@ -875,49 +882,51 @@ {/if}
-
- { - showJobStatus = true - }} - /> -
- + - {#if flowStore.val?.value?.modules} -
- { - delete localModuleStates[id] - delete modulesTestStates.states[id] - }} - {flowHasChanged} - controlsPosition="bottom" - /> - {:else} -
Missing flow modules
- {/if} -
+
+ {#if flowStore.val?.value?.modules} +
+
+ { + showJobStatus = true + }} + /> +
+ { + delete localModuleStates[id] + delete modulesTestStates.states[id] + }} + {flowHasChanged} + controlsPosition="bottom" + /> + {:else} +
Missing flow modules
+ {/if} +
{#key reload} {/if} -
+
{#if flowModule.value.type !== 'aiagent'} @@ -1155,7 +1159,9 @@
{#snippet header()} - When enabled, the flow will continue to the next step even if this step fails (after exhausting all retries, if any). This enables to process the error in a branch one for instance. + When enabled, the flow will continue to the next step even if this + step fails (after exhausting all retries, if any). This enables to + process the error in a branch one for instance. {/snippet} Continue {/snippet} + +