From 3f0fb2f25844b325008e3dfb692d752ba67653e0 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 10 Sep 2020 07:46:01 +0100 Subject: [PATCH] Make workflow builder scrollable and improve UX around selecting and editing worflow blocks --- .../ParamInputs/RecordSelector.svelte | 2 +- .../SetupPanel/WorkflowBlockSetup.svelte | 77 ++++++++++--------- .../WorkflowBuilder/WorkflowBuilder.svelte | 54 ++++++++----- .../flowchart/FlowChart.svelte | 7 +- .../WorkflowBuilder/flowchart/FlowItem.svelte | 23 +++++- .../[application]/workflow/_layout.svelte | 1 - 6 files changed, 100 insertions(+), 64 deletions(-) diff --git a/packages/builder/src/components/workflow/SetupPanel/ParamInputs/RecordSelector.svelte b/packages/builder/src/components/workflow/SetupPanel/ParamInputs/RecordSelector.svelte index ffa2a9c1b6..cc177888d1 100644 --- a/packages/builder/src/components/workflow/SetupPanel/ParamInputs/RecordSelector.svelte +++ b/packages/builder/src/components/workflow/SetupPanel/ParamInputs/RecordSelector.svelte @@ -15,7 +15,7 @@ } -
+
- {#each type as option} - - {/each} - - {:else if type === 'component'} - - {:else if type === 'accessLevel'} - - {:else if type === 'password'} - - {:else if type === 'number'} - - {:else if type === 'longText'} -