Feat: Display the iteration operator toolbar #3221 (#8645)

### What problem does this PR solve?

Feat: Display the iteration operator toolbar #3221
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-07-03 13:31:39 +08:00
committed by GitHub
parent 1dd18f95e9
commit 612abd6d89
3 changed files with 43 additions and 42 deletions

View File

@ -40,6 +40,7 @@ export const TooltipNode = forwardRef<HTMLDivElement, TooltipNodeProps>(
onBlur={hideTooltip} onBlur={hideTooltip}
tabIndex={0} tabIndex={0}
selected={selected} selected={selected}
className="h-full bg-transparent"
> >
{children} {children}
</BaseNode> </BaseNode>

View File

@ -56,14 +56,12 @@ export function InnerIterationNode({
// const { theme } = useTheme(); // const { theme } = useTheme();
return ( return (
<ToolBar selected={selected} id={id} label={data.label}>
<section <section
className={cn('h-full bg-transparent rounded-b-md relative', { className={cn('h-full bg-transparent rounded-b-md ', {
[styles.selectedHeader]: selected, [styles.selectedHeader]: selected,
})} })}
> >
<ToolBar selected={selected} id={id} label={data.label}>
<div className="h-full w-full"></div>
</ToolBar>
<NodeResizeControl style={controlStyle} minWidth={100} minHeight={50}> <NodeResizeControl style={controlStyle} minWidth={100} minHeight={50}>
<ResizeIcon /> <ResizeIcon />
</NodeResizeControl> </NodeResizeControl>
@ -98,6 +96,7 @@ export function InnerIterationNode({
)} )}
></NodeHeader> ></NodeHeader>
</section> </section>
</ToolBar>
); );
} }

View File

@ -667,6 +667,7 @@ export const initialCodeValues = {
arg1: '', arg1: '',
arg2: '', arg2: '',
}, },
outputs: { result: { value: '', type: 'string' } },
}; };
export const initialWaitingDialogueValues = {}; export const initialWaitingDialogueValues = {};