Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Add help to URL field of task block (#979)
Shuchang Zhenge7583ac8789d
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNode.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNode.tsxindex 424e80087..f7bb102de 100644--- a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNode.tsx+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNode.tsx@@ -90,7 +90,10 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {const basicContent = (<><div className="space-y-2">- <Label className="text-xs text-slate-300">URL</Label>+ <div className="flex gap-2">+ <Label className="text-xs text-slate-300">URL</Label>+ <HelpTooltip content={helpTooltipContent["url"]} />+ </div><AutoResizingTextareavalue={inputs.url}className="nopan text-xs"@@ -141,7 +144,10 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {<AccordionContent className="pl-[1.5rem] pr-1"><div className="space-y-4"><div className="space-y-2">- <Label className="text-xs text-slate-300">URL</Label>+ <div className="flex gap-2">+ <Label className="text-xs text-slate-300">URL</Label>+ <HelpTooltip content={helpTooltipContent["url"]} />+ </div><AutoResizingTextareaonChange={(event) => {if (!editable) {diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/types.ts b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/types.tsindex cb67f24f9..31cb1157d 100644--- a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/types.ts+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/types.ts@@ -49,6 +49,7 @@ export const helpTooltipContent = {limits:"Give Skyvern limitations, such as number of retries on failure, the number of maximum steps, the option to download and append suffix identifiers, and return message for errors Skyvern encounters.",totp: "Link your internal TOTP storage system to relay 2FA codes we encounter straight to Skyvern. If you have multiple tasks running simultaneously, make sure to link an identifier so Skyvern knows which TOTP URL goes with which task.",+ url: "The URL Skyvern is navigating to. Leave this field blank to pick up from where the last task block left off.",navigationGoal:"Give Skyvern an objective. Make sure to include when the task is complete, when it should self-terminate, and any guardrails.",parameters: