diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx index 7919d6d8..099319bc 100644 --- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx +++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx @@ -43,17 +43,6 @@ const nodeLibraryItems: Array<{ title: "Navigation Block", description: "Navigate on the page", }, - { - nodeType: "task", - icon: ( - - ), - title: "Task Block", - description: "Complete multi-step browser automation tasks", - }, { nodeType: "taskv2", icon: ( @@ -87,17 +76,6 @@ const nodeLibraryItems: Array<{ title: "Extraction Block", description: "Extract data from a webpage", }, - { - nodeType: "wait", - icon: ( - - ), - title: "Wait Block", - description: "Wait for a specified amount of time", - }, { nodeType: "validation", icon: ( @@ -109,6 +87,17 @@ const nodeLibraryItems: Array<{ title: "Validation Block", description: "Validate completion criteria", }, + { + nodeType: "task", + icon: ( + + ), + title: "Task Block", + description: "Complete multi-step browser automation tasks", + }, { nodeType: "url", icon: ( @@ -120,17 +109,6 @@ const nodeLibraryItems: Array<{ title: "Go to URL Block", description: "Navigate to a specific URL", }, - { - nodeType: "http_request", - icon: ( - - ), - title: "HTTP Request Block", - description: "Make HTTP API calls", - }, { nodeType: "textPrompt", icon: ( @@ -142,39 +120,6 @@ const nodeLibraryItems: Array<{ title: "Text Prompt Block", description: "Process text with LLM", }, - { - nodeType: "codeBlock", - icon: ( - - ), - title: "Code Block", - description: "Execute custom Python code", - }, - { - nodeType: "fileDownload", - icon: ( - - ), - title: "File Download Block", - description: "Download files from a website", - }, - { - nodeType: "loop", - icon: ( - - ), - title: "Loop Block", - description: "Repeat blocks for each item", - }, { nodeType: "sendEmail", icon: ( @@ -186,6 +131,28 @@ const nodeLibraryItems: Array<{ title: "Send Email Block", description: "Send email notifications", }, + { + nodeType: "loop", + icon: ( + + ), + title: "Loop Block", + description: "Repeat blocks for each item", + }, + { + nodeType: "codeBlock", + icon: ( + + ), + title: "Code Block", + description: "Execute custom Python code", + }, { nodeType: "fileParser", icon: ( @@ -197,6 +164,17 @@ const nodeLibraryItems: Array<{ title: "File Parser Block", description: "Parse data from files", }, + { + nodeType: "pdfParser", + icon: ( + + ), + title: "PDF Parser Block", + description: "Extract data from PDF files", + }, { nodeType: "upload", icon: ( @@ -208,6 +186,17 @@ const nodeLibraryItems: Array<{ title: "Upload to S3 Block", description: "Upload files to AWS S3", }, + { + nodeType: "download", + icon: ( + + ), + title: "Download from S3 Block", + description: "Download files from AWS S3", + }, { nodeType: "fileUpload", icon: ( @@ -220,26 +209,37 @@ const nodeLibraryItems: Array<{ description: "Upload files to storage", }, { - nodeType: "download", + nodeType: "fileDownload", icon: ( ), - title: "Download to S3 Block", - description: "Download files to AWS S3", + title: "File Download Block", + description: "Download files from a website", }, { - nodeType: "pdfParser", + nodeType: "wait", icon: ( ), - title: "PDF Parser Block", - description: "Extract data from PDF files", + title: "Wait Block", + description: "Wait for a specified amount of time", + }, + { + nodeType: "http_request", + icon: ( + + ), + title: "HTTP Request Block", + description: "Make HTTP API calls", }, ];