Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(web): name generated result copy action (#40259)
yyh2bdfbb9e6110
diff --git a/web/app/components/app/configuration/config/automatic/__tests__/result.spec.tsx b/web/app/components/app/configuration/config/automatic/__tests__/result.spec.tsxindex b426e47227f..f4eb453b273 100644--- a/web/app/components/app/configuration/config/automatic/__tests__/result.spec.tsx+++ b/web/app/components/app/configuration/config/automatic/__tests__/result.spec.tsx@@ -83,7 +83,7 @@ describe('Result', () => {expect(screen.getByTestId('prompt-res'))!.toHaveTextContent('generated output')fireEvent.click(screen.getByTestId('version-selector'))- fireEvent.click(screen.getAllByRole('button')[1]!)+ fireEvent.click(screen.getByRole('button', { name: 'common.operation.copy' }))fireEvent.click(screen.getByText(/(?:^|\.)generate\.apply(?=$|:)/))expect(mockSetCurrentVersionIndex).toHaveBeenCalledWith(1)diff --git a/web/app/components/app/configuration/config/automatic/result.tsx b/web/app/components/app/configuration/config/automatic/result.tsxindex 334d7927056..eea5ee9c717 100644--- a/web/app/components/app/configuration/config/automatic/result.tsx+++ b/web/app/components/app/configuration/config/automatic/result.tsx@@ -53,13 +53,14 @@ const Result: FC<Props> = ({</div><div className="flex items-center space-x-2"><Button+ aria-label={t(($) => $['operation.copy'], { ns: 'common' })}className="px-2"onClick={() => {copy(current.modified)toast.success(t(($) => $['actionMsg.copySuccessfully'], { ns: 'common' }))}}>- <RiClipboardLine className="size-4 text-text-secondary" />+ <RiClipboardLine aria-hidden="true" className="size-4 text-text-secondary" /></Button><Button variant="primary" onClick={onApply}>{t(($) => $['generate.apply'], { ns: 'appDebug' })}