From 6dcaa3c4d8327020c4ee294d0475b97d6912e367 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'} -