diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowBlockIcon.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowBlockIcon.tsx index a0f1d621..8e3883de 100644 --- a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowBlockIcon.tsx +++ b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowBlockIcon.tsx @@ -48,14 +48,14 @@ function WorkflowBlockIcon({ workflowBlockType, className }: Props) { case "login": { return ; } - case "navigation": { + case "navigation": + case "task_v2": { return ; } case "send_email": { return ; } - case "task": - case "task_v2": { + case "task": { return ; } case "text_prompt": { diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx index 645c1398..0e242341 100644 --- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx +++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx @@ -12,6 +12,17 @@ const nodeLibraryItems: Array<{ title: string; description: string; }> = [ + { + nodeType: "login", + icon: ( + + ), + title: "Login Block", + description: "Login to a website", + }, { nodeType: "navigation", icon: ( @@ -23,6 +34,17 @@ const nodeLibraryItems: Array<{ title: "Navigation Block", description: "Navigate on the page", }, + { + nodeType: "taskv2", + icon: ( + + ), + title: "Task v2 Block", + description: "Runs a Skyvern v2 Task", + }, { nodeType: "action", icon: ( @@ -67,17 +89,7 @@ const nodeLibraryItems: Array<{ title: "Task Block", description: "Takes actions or extracts information", }, - { - nodeType: "taskv2", - icon: ( - - ), - title: "Task v2 Block", - description: "Runs a Skyvern v2 Task", - }, + { nodeType: "url", icon: ( @@ -188,17 +200,6 @@ const nodeLibraryItems: Array<{ title: "File Download Block", description: "Download a file", }, - { - nodeType: "login", - icon: ( - - ), - title: "Login Block", - description: "Login to a website", - }, { nodeType: "wait", icon: (