From 612abd6d891f4d018c43c58997f9455d9a732ac3 Mon Sep 17 00:00:00 2001 From: balibabu Date: Thu, 3 Jul 2025 13:31:39 +0800 Subject: [PATCH] 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) --- web/src/components/xyflow/tooltip-node.tsx | 3 +- .../agent/canvas/node/iteration-node.tsx | 81 +++++++++---------- web/src/pages/agent/constant.tsx | 1 + 3 files changed, 43 insertions(+), 42 deletions(-) diff --git a/web/src/components/xyflow/tooltip-node.tsx b/web/src/components/xyflow/tooltip-node.tsx index b53c67617..8acb80b06 100644 --- a/web/src/components/xyflow/tooltip-node.tsx +++ b/web/src/components/xyflow/tooltip-node.tsx @@ -40,6 +40,7 @@ export const TooltipNode = forwardRef( onBlur={hideTooltip} tabIndex={0} selected={selected} + className="h-full bg-transparent" > {children} @@ -65,7 +66,7 @@ export const TooltipContent = forwardRef(
- -
-
- - - - - + +
+ + + + + - -
+ + +
); } diff --git a/web/src/pages/agent/constant.tsx b/web/src/pages/agent/constant.tsx index bbb44966f..022a2742b 100644 --- a/web/src/pages/agent/constant.tsx +++ b/web/src/pages/agent/constant.tsx @@ -667,6 +667,7 @@ export const initialCodeValues = { arg1: '', arg2: '', }, + outputs: { result: { value: '', type: 'string' } }, }; export const initialWaitingDialogueValues = {};