From 91f484e0ceb90db73b1107f98831bcbb8e343d23 Mon Sep 17 00:00:00 2001 From: RockChinQ Date: Thu, 27 Aug 2026 15:02:02 +0800 Subject: [PATCH] copy(agents): expand processor type descriptions --- .../home/agents/components/AgentCreateContent.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/web/src/app/home/agents/components/AgentCreateContent.tsx b/web/src/app/home/agents/components/AgentCreateContent.tsx index 66d7cd613..a67524471 100644 --- a/web/src/app/home/agents/components/AgentCreateContent.tsx +++ b/web/src/app/home/agents/components/AgentCreateContent.tsx @@ -82,13 +82,13 @@ export default function AgentCreateContent({ kind: 'agent' as const, icon: Bot, title: t('agents.agentType'), - helper: t('agents.allEvents'), + description: t('agents.agentTypeDescription'), }, { kind: 'pipeline' as const, icon: Workflow, title: t('agents.pipelineType'), - helper: t('agents.messageEventsOnly'), + description: t('agents.pipelineTypeDescription'), }, ]; @@ -138,18 +138,18 @@ export default function AgentCreateContent({ key={option.kind} value={option.kind} data-processor-kind={option.kind} - aria-label={`${option.title} ${option.helper}`} - className="h-auto min-h-24 w-full justify-start gap-3 rounded-lg border px-4 py-4 text-left shadow-none hover:bg-muted/40 data-[state=on]:border-[#2288ee]/50 data-[state=on]:bg-blue-50/60 data-[state=on]:text-foreground data-[state=on]:shadow-none dark:data-[state=on]:border-blue-500/50 dark:data-[state=on]:bg-blue-500/10" + aria-label={`${option.title} ${option.description}`} + className="h-auto min-h-28 w-full items-start justify-start gap-3 rounded-lg border px-4 py-4 text-left whitespace-normal shadow-none hover:bg-muted/40 data-[state=on]:border-[#2288ee]/50 data-[state=on]:bg-blue-50/60 data-[state=on]:text-foreground data-[state=on]:shadow-none dark:data-[state=on]:border-blue-500/50 dark:data-[state=on]:bg-blue-500/10" > - + {option.title} - - {option.helper} + + {option.description}