diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/ActionNode/ActionNode.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/ActionNode/ActionNode.tsx index f059f5d2..f726f453 100644 --- a/skyvern-frontend/src/routes/workflows/editor/nodes/ActionNode/ActionNode.tsx +++ b/skyvern-frontend/src/routes/workflows/editor/nodes/ActionNode/ActionNode.tsx @@ -26,6 +26,8 @@ import { commonHelpTooltipContent, } from "../../constants"; +const urlTooltip = + "The URL Skyvern is navigating to. Leave this field blank to pick up from where the last block left off."; const navigationGoalTooltip = "Specify a single step or action you'd like Skyvern to complete. Actions are one-off tasks like filling a field or interacting with a specific element on the page.\n\nCurrently supported actions are click, input text, upload file, and select."; @@ -39,6 +41,7 @@ function ActionNode({ id, data }: NodeProps) { initialValue: data.label, }); const [inputs, setInputs] = useState({ + url: data.url, navigationGoal: data.navigationGoal, errorCodeMapping: data.errorCodeMapping, maxRetries: data.maxRetries, @@ -96,22 +99,43 @@ function ActionNode({ id, data }: NodeProps) { }} /> -
-
- - +
+
+
+ + +
+ { + if (!editable) { + return; + } + handleChange("url", event.target.value); + }} + value={inputs.url} + placeholder={commonFieldPlaceholders["url"]} + className="nopan text-xs" + /> +
+
+
+ + +
+ { + if (!editable) { + return; + } + handleChange("navigationGoal", event.target.value); + }} + value={inputs.navigationGoal} + placeholder={navigationGoalPlaceholder} + className="nopan text-xs" + />
- { - if (!editable) { - return; - } - handleChange("navigationGoal", event.target.value); - }} - value={inputs.navigationGoal} - placeholder={navigationGoalPlaceholder} - className="nopan text-xs" - />