From cb9791491f54970803f72bcc80eacb38688abf65 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 13 May 2026 17:06:39 +0000 Subject: [PATCH] feat(pipeline): split Run pill on graph node exposes cascade option --- .../assets/AssetGraph/RunnableNode.svelte | 108 ++++++++++++++---- 1 file changed, 84 insertions(+), 24 deletions(-) diff --git a/frontend/src/lib/components/assets/AssetGraph/RunnableNode.svelte b/frontend/src/lib/components/assets/AssetGraph/RunnableNode.svelte index dab555eb53..b562464259 100644 --- a/frontend/src/lib/components/assets/AssetGraph/RunnableNode.svelte +++ b/frontend/src/lib/components/assets/AssetGraph/RunnableNode.svelte @@ -1,6 +1,7 @@ @@ -177,13 +172,23 @@ -
+ runScriptPreview), so no greyed-out state. + + When the script has downstream subscribers, the round button + becomes a small split pill: Play on the left (default = skip + cascade) + chevron on the right that pops a menu offering "Run + + trigger N downstream". Matches the editor Test split button + so the affordance is identical on both surfaces. --> + {@const hasCascade = (data.downstreamCount ?? 0) > 0} +
+ {#if hasCascade} + + {#snippet trigger()} + + {/snippet} + {#snippet content({ close })} +
+ + +
+ {/snippet} +
+ {/if}
{/if}