Add help to URL field of task block (#979)

This commit is contained in:
Shuchang Zheng
2024-10-15 11:43:42 -07:00
committed by GitHub
parent 4b2bf0a5f5
commit e7583ac878
2 changed files with 9 additions and 2 deletions

View File

@@ -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>
<AutoResizingTextarea
value={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>
<AutoResizingTextarea
onChange={(event) => {
if (!editable) {

View File

@@ -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: