diff --git a/frontend/src/lib/components/FlowBuilder.svelte b/frontend/src/lib/components/FlowBuilder.svelte index 2874a10abe..2100853090 100644 --- a/frontend/src/lib/components/FlowBuilder.svelte +++ b/frontend/src/lib/components/FlowBuilder.svelte @@ -1,7 +1,7 @@ {#if job} -
- - Results - Logs - - - - - -
-
{job.logs}
-
-
-
+ + Results + Logs + + + + + +
+
{job.logs}
+
+
+
+
{/if} diff --git a/frontend/src/lib/components/FlowPreview.svelte b/frontend/src/lib/components/FlowPreview.svelte index fe55d1eff8..d2977fc670 100644 --- a/frontend/src/lib/components/FlowPreview.svelte +++ b/frontend/src/lib/components/FlowPreview.svelte @@ -1,17 +1,17 @@ {#if !embedded} - -{/if} -{#if tab == 'ui'} -
- {#if !embedded} -

{flow.summary}

- + + Flow rendered + Json + Input schema of the flow -

- Inputs -

- {#if flow.schema && flow.schema.properties && Object.keys(flow.schema.properties).length > 0 && flow.schema} -
    - {#each Object.entries(flow.schema.properties) as [inp, v]} -
  • - {toAny(v)?.default != undefined - ? 'default: ' + JSON.stringify(toAny(v)?.default) - : ''} -
  • - {/each} -
- {:else} -
No inputs
- {/if} - {/if} + + +
+ {#if !embedded} +

{flow.summary}

+ -

- {flow?.value?.modules?.length} Step{flow?.value?.modules?.length > 1 ? 's' : ''} - -

-
    - {#each flow?.value?.modules ?? [] as mod, i} -
  • -
    - {#if i < (flow?.value?.modules ?? []).length - 1} -