From 1aef879a62bdfcccffccdec2d2113987367bf859 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 18 Sep 2020 12:01:57 +0100 Subject: [PATCH] Improve workflow block tagline rendering and support pretty printing enum bindings --- .../WorkflowBuilder/flowchart/FlowItem.svelte | 25 ++----- .../flowchart/WorkflowBlockTagline.svelte | 67 ++++++++++++++++--- 2 files changed, 61 insertions(+), 31 deletions(-) diff --git a/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte b/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte index a67b15cd8a..38085cac89 100644 --- a/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte +++ b/packages/builder/src/components/workflow/WorkflowBuilder/flowchart/FlowItem.svelte @@ -1,5 +1,5 @@
+ on:click={() => onSelect(block)}>
{#if block.type === 'TRIGGER'} @@ -49,13 +32,13 @@

- +