add tooltip text regarding current_value in loop iterations (#3047)
This commit is contained in:
@@ -72,7 +72,7 @@ export const helpTooltips = {
|
|||||||
loop: {
|
loop: {
|
||||||
...baseHelpTooltipContent,
|
...baseHelpTooltipContent,
|
||||||
loopValue:
|
loopValue:
|
||||||
"Define this parameterized field with a parameter key to let Skyvern know the core value you're iterating over.",
|
"Define this parameterized field with a parameter key to let Skyvern know the core value you're iterating over. Use {{ current_value }} elsewhere in the loop to get the current value for a given iteration.",
|
||||||
},
|
},
|
||||||
sendEmail: {
|
sendEmail: {
|
||||||
...baseHelpTooltipContent,
|
...baseHelpTooltipContent,
|
||||||
|
|||||||
@@ -196,6 +196,16 @@ function StartNode({ id, data }: NodeProps<StartNode>) {
|
|||||||
/>
|
/>
|
||||||
<div className="w-[30rem] rounded-lg bg-slate-elevation3 px-6 py-4 text-center">
|
<div className="w-[30rem] rounded-lg bg-slate-elevation3 px-6 py-4 text-center">
|
||||||
Start
|
Start
|
||||||
|
<div className="mt-4 flex gap-3 rounded-md bg-slate-800 p-3">
|
||||||
|
<span className="rounded bg-slate-700 p-1 text-lg">💡</span>
|
||||||
|
<div className="space-y-1 text-left text-xs text-slate-400">
|
||||||
|
Use{" "}
|
||||||
|
<code className="text-white">
|
||||||
|
{{ current_value }}
|
||||||
|
</code>{" "}
|
||||||
|
to get the current loop value for a given iteration.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user