Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export const SubflowNodeComponent = memo(({ data, id, selected }: NodeProps<Subf
isLocked={isLocked}
isFocused={isFocused}
isRunning={isRunning}
isWorkflowRunning={isWorkflowRunning}
isExecutionHighlighted={isExecutionHighlighted}
diffStatus={diffStatus}
nestingLevel={nestingLevel}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,6 @@ export const WorkflowBlock = memo(function WorkflowBlock({
ringStyles={ringStyles}
runPathStatus={runPathStatus}
isRunning={isExecuting}
isWorkflowRunning={isWorkflowRunning}
isExecutionHighlighted={isExecutionHighlighted}
Icon={config.icon}
iconBgColor={config.bgColor}
Expand Down
9 changes: 0 additions & 9 deletions packages/workflow-renderer/src/subflow/subflow-node-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,6 @@ export interface SubflowNodeViewProps {
isFocused: boolean
/** Whether execution controls are active for this subflow. */
isRunning?: boolean
/**
* Whether the parent workflow is executing.
*
* Accepted and currently unread: `subflow-node.tsx` supplies it and nothing
* below consults it, so the hold-open behavior this once claimed is not
* implemented. Kept in the interface because the caller passes it — wire it up
* or stop passing it, but do not read this as working today.
*/
isWorkflowRunning?: boolean
/** Whether this subflow participates in the current execution handoff. */
isExecutionHighlighted?: boolean
/** Diff state when comparing workflow versions. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ function createView(
isRunning: boolean,
isEnabled = true,
isLocked = false,
isExecutionHighlighted = false,
isWorkflowRunning = false
isExecutionHighlighted = false
) {
return (
<ReactFlowProvider>
Expand All @@ -39,7 +38,6 @@ function createView(
hasRing={false}
ringStyles=''
isRunning={isRunning}
isWorkflowRunning={isWorkflowRunning}
isExecutionHighlighted={isExecutionHighlighted}
Icon={TestIcon}
iconBgColor='var(--surface-2)'
Expand Down Expand Up @@ -130,7 +128,7 @@ describe('WorkflowBlockView action menu', () => {
mountedRoots.add(root)
mountedHosts.add(host)

act(() => root.render(createView(false, true, false, false, true)))
act(() => root.render(createView(false, true, false, false)))
flushAnimationFrames()

const actionMenuRoot = host.querySelector<HTMLElement>('.group.relative')
Expand All @@ -149,7 +147,7 @@ describe('WorkflowBlockView action menu', () => {
mountedRoots.add(root)
mountedHosts.add(host)

act(() => root.render(createView(false, true, false, true, true)))
act(() => root.render(createView(false, true, false, true)))
flushAnimationFrames()

const actionMenuRoot = host.querySelector<HTMLElement>('.group.relative')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,15 +393,6 @@ export interface WorkflowBlockViewProps {
runPathStatus?: BlockRunStatus
/** Whether execution controls are active for this block. */
isRunning?: boolean
/**
* Whether the parent workflow is executing.
*
* Accepted and currently unread: `workflow-block.tsx` supplies it and nothing
* below consults it, so the hold-open behavior this once claimed is not
* implemented. Kept in the interface because the caller passes it — wire it up
* or stop passing it, but do not read this as working today.
*/
isWorkflowRunning?: boolean
/** Whether this block participates in the current execution handoff. */
isExecutionHighlighted?: boolean
/** Block icon component and its background color. */
Expand Down
Loading