diff --git a/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx b/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx index 733bd744..90f6010d 100644 --- a/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx +++ b/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx @@ -5,6 +5,7 @@ import { Button } from "@/components/ui/button"; import { Form, FormControl, + FormDescription, FormField, FormItem, FormLabel, @@ -37,6 +38,12 @@ import { apiBaseUrl } from "@/util/env"; import { useCredentialGetter } from "@/hooks/useCredentialGetter"; import { useApiCredential } from "@/hooks/useApiCredential"; import { AxiosError } from "axios"; +import { + Accordion, + AccordionContent, + AccordionItem, + AccordionTrigger, +} from "@/components/ui/accordion"; const createNewTaskFormSchema = z .object({ @@ -181,6 +188,7 @@ function CreateNewTaskForm({ initialValues }: Props) { + The starting URL for the task @@ -188,37 +196,6 @@ function CreateNewTaskForm({ initialValues }: Props) { )} /> - ( - - - - Webhook Callback URL - - - - - - - {webhookCallbackUrlDescription} - - - - - - - - - - - )} - /> + + How do you want Skyvern to navigate? + + + If you want Skyvern to extract data after it's finished + navigating + + + Any context Skyvern needs to complete its actions (ex. text that + may be required to fill out forms) + )} /> - ( - - - - Extracted Information Schema - - - - - - - {extractedInformationSchemaDescription} - - - - - - - - - - - )} - /> + + + Advanced Settings + + ( + + + + Extracted Information Schema + + + + + + + {extractedInformationSchemaDescription} + + + + + + + Jsonc schema to force the json format for extracted + information + + + + + + + )} + /> + ( + + + + Webhook Callback URL + + + + + + + {webhookCallbackUrlDescription} + + + + + + + The URL of a webhook endpoint to send the extracted + information + + + + + + + )} + /> + + + + + The starting URL for the task @@ -298,37 +306,7 @@ function SavedTaskForm({ initialValues }: Props) { )} /> - ( - - - - Webhook Callback URL - - - - - - - {webhookCallbackUrlDescription} - - - - - - - - - - - )} - /> + + + How do you want Skyvern to navigate? + + + If you want Skyvern to extract data after it's finished + navigating + + + Any context Skyvern needs to complete its actions (ex. text that + may be required to fill out forms) + )} /> - ( - - - - Extracted Information Schema - - - - - - - {extractedInformationSchemaDescription} - - - - - - - - - - - )} - /> + + + Advanced Settings + + ( + + + + Extracted Information Schema + + + + + + + {extractedInformationSchemaDescription} + + + + + + + Jsonc schema to force the json format for extracted + information + + + + + + + )} + /> + ( + + + + Webhook Callback URL + + + + + + + {webhookCallbackUrlDescription} + + + + + + + The URL of a webhook endpoint to send the extracted + information + + + + + + + )} + /> + + + +
{webhookCallbackUrlDescription}
{extractedInformationSchemaDescription}