Move navigation payload inside advanced accordion (#718)

This commit is contained in:
Kerem Yilmaz
2024-08-23 14:41:58 +03:00
committed by GitHub
parent 76ee91ecdd
commit 3ee98f35b2
2 changed files with 72 additions and 72 deletions

View File

@@ -324,6 +324,10 @@ function CreateNewTaskForm({ initialValues }: Props) {
</FormItem> </FormItem>
)} )}
/> />
<Accordion type="single" collapsible>
<AccordionItem value="advanced-settings">
<AccordionTrigger>Advanced Settings</AccordionTrigger>
<AccordionContent className="space-y-8 px-1 py-4">
<FormField <FormField
control={form.control} control={form.control}
name="navigationPayload" name="navigationPayload"
@@ -345,8 +349,8 @@ function CreateNewTaskForm({ initialValues }: Props) {
</div> </div>
</FormLabel> </FormLabel>
<FormDescription> <FormDescription>
Any context Skyvern needs to complete its actions (ex. text that Any context Skyvern needs to complete its actions (ex.
may be required to fill out forms) text that may be required to fill out forms)
</FormDescription> </FormDescription>
<FormControl> <FormControl>
<Textarea <Textarea
@@ -360,10 +364,6 @@ function CreateNewTaskForm({ initialValues }: Props) {
</FormItem> </FormItem>
)} )}
/> />
<Accordion type="single" collapsible>
<AccordionItem value="advanced-settings">
<AccordionTrigger>Advanced Settings</AccordionTrigger>
<AccordionContent className="space-y-8 px-1 py-4">
<FormField <FormField
control={form.control} control={form.control}
name="extractedInformationSchema" name="extractedInformationSchema"

View File

@@ -451,6 +451,10 @@ function SavedTaskForm({ initialValues }: Props) {
</FormItem> </FormItem>
)} )}
/> />
<Accordion type="single" collapsible>
<AccordionItem value="advanced-settings">
<AccordionTrigger>Advanced Settings</AccordionTrigger>
<AccordionContent className="space-y-8 px-1 py-4">
<FormField <FormField
control={form.control} control={form.control}
name="navigationPayload" name="navigationPayload"
@@ -472,8 +476,8 @@ function SavedTaskForm({ initialValues }: Props) {
</div> </div>
</FormLabel> </FormLabel>
<FormDescription> <FormDescription>
Any context Skyvern needs to complete its actions (ex. text that Any context Skyvern needs to complete its actions (ex.
may be required to fill out forms) text that may be required to fill out forms)
</FormDescription> </FormDescription>
<FormControl> <FormControl>
<Textarea <Textarea
@@ -487,10 +491,6 @@ function SavedTaskForm({ initialValues }: Props) {
</FormItem> </FormItem>
)} )}
/> />
<Accordion type="single" collapsible>
<AccordionItem value="advanced-settings">
<AccordionTrigger>Advanced Settings</AccordionTrigger>
<AccordionContent className="space-y-8 px-1 py-4">
<FormField <FormField
control={form.control} control={form.control}
name="extractedInformationSchema" name="extractedInformationSchema"