Let a paused flow be stepped from the dock

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H7LwYgJfpkbLCTeiAf8U4A
This commit is contained in:
2026-08-16 17:16:53 +02:00
co-authored by Claude Fable 5
parent 63d3183518
commit d5e1466d8c
3 changed files with 35 additions and 8 deletions
+24
View File
@@ -9,6 +9,7 @@ import {
Play,
PlayCircle,
Plus,
StepForward,
WifiOff,
ZoomIn,
ZoomOut,
@@ -62,6 +63,8 @@ export function FlowDock({
onAddNode,
onRun,
onTogglePause,
onStep,
stepping,
onFocusNode,
onEditFlow,
onPublish,
@@ -79,6 +82,8 @@ export function FlowDock({
onAddNode: () => void
onRun: () => void
onTogglePause: () => void
onStep: () => void
stepping: boolean
onFocusNode: (nodeId: string) => void
onEditFlow: () => void
onPublish: () => void
@@ -214,6 +219,25 @@ export function FlowDock({
</TooltipContent>
</Tooltip>
{paused && enabled ? (
<Tooltip>
<TooltipTrigger asChild>
<Button
variant="ghost"
size="icon"
className="size-11 text-muted-foreground md:size-8"
onClick={onStep}
disabled={stepping}
aria-label="Step the flow"
data-testid="step-flow"
>
<StepForward />
</Button>
</TooltipTrigger>
<TooltipContent>Let one held-back item through</TooltipContent>
</Tooltip>
) : null}
<Tooltip>
<TooltipTrigger asChild>
<span>