Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
fix(templates,flows): label the template title, align cosmetics across detail forms
Sergey Kozyrenko672851ef3223
diff --git a/frontend/src/pages/flows/new-flow.tsx b/frontend/src/pages/flows/new-flow.tsxindex 09c2914d..4c64b210 100644--- a/frontend/src/pages/flows/new-flow.tsx+++ b/frontend/src/pages/flows/new-flow.tsx@@ -52,9 +52,9 @@ function NewFlow() {<div className="flex min-h-[calc(100dvh-3rem)] items-center justify-center p-4"><Card className="w-full max-w-2xl"><CardContent className="flex flex-col gap-4 pt-6">- <div className="text-center">- <h1 className="text-2xl font-semibold">Create a new flow</h1>- <p className="text-muted-foreground mt-2">Describe what you would like PentAGI to test</p>+ <div className="flex flex-col gap-2 text-center">+ <h2 className="text-2xl font-semibold">Create a new flow</h2>+ <p className="text-muted-foreground">Describe what you would like PentAGI to test</p></div><TabsonValueChange={(value) => setFlowType(value as 'assistant' | 'automation')}diff --git a/frontend/src/pages/templates/template.tsx b/frontend/src/pages/templates/template.tsxindex c29d21b2..67c896d7 100644--- a/frontend/src/pages/templates/template.tsx+++ b/frontend/src/pages/templates/template.tsx@@ -40,7 +40,7 @@ import {DropdownMenuSeparator,DropdownMenuTrigger,} from '@/components/ui/dropdown-menu';-import { Form, FormControl, FormField, FormItem, FormMessage } from '@/components/ui/form';+import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage } from '@/components/ui/form';import { FormSubmitButton } from '@/components/ui/form-submit-button';import { Input } from '@/components/ui/input';import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';@@ -524,7 +524,7 @@ function Template() {</>)}<DropdownMenuItem onClick={handleTemplateRenameStart}>- <Pencil className="size-3" />+ <Pencil className="size-4" />Rename</DropdownMenuItem><DropdownMenuSeparator />@@ -695,14 +695,16 @@ function Template() {name="title"render={({ field }) => (<FormItem>+ <FormLabel>Title</FormLabel><FormControl><InputautoFocus={isNew}disabled={isSaving}- placeholder="Title"+ placeholder="A short name for this template"{...field}/></FormControl>+ <FormMessage /></FormItem>)}/>@@ -721,7 +723,7 @@ function Template() {mode={viewMode}onBlur={field.onBlur}onChange={field.onChange}- placeholder="Content"+ placeholder="Describe the task, or start from a preset above"ref={field.ref}value={field.value}/>