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 workflow version history action (#40276)
yyha543fd36562c
diff --git a/web/app/components/workflow/header/__tests__/version-history-button.spec.tsx b/web/app/components/workflow/header/__tests__/version-history-button.spec.tsxindex d3e10a79f23..f0b59300fba 100644--- a/web/app/components/workflow/header/__tests__/version-history-button.spec.tsx+++ b/web/app/components/workflow/header/__tests__/version-history-button.spec.tsx@@ -41,7 +41,7 @@ describe('VersionHistoryButton', () => {const onClick = vi.fn()render(<VersionHistoryButton onClick={onClick} />)- fireEvent.click(screen.getByRole('button'))+ fireEvent.click(screen.getByRole('button', { name: 'workflow.common.versionHistory' }))expect(onClick).toHaveBeenCalledTimes(1)})@@ -64,7 +64,7 @@ describe('VersionHistoryButton', () => {const user = userEvent.setup()render(<VersionHistoryButton onClick={vi.fn()} />)- await user.hover(screen.getByRole('button'))+ await user.hover(screen.getByRole('button', { name: 'workflow.common.versionHistory' }))expect(await screen.findByText('workflow.common.versionHistory')).toBeInTheDocument()})diff --git a/web/app/components/workflow/header/version-history-button.tsx b/web/app/components/workflow/header/version-history-button.tsxindex a521dddc000..0c6908a8cc4 100644--- a/web/app/components/workflow/header/version-history-button.tsx+++ b/web/app/components/workflow/header/version-history-button.tsx@@ -25,6 +25,8 @@ function PopupContent() {export function VersionHistoryButton({ onClick }: VersionHistoryButtonProps) {const { theme } = useTheme()+ const { t } = useTranslation()+ const label = t(($) => $['common.versionHistory'], { ns: 'workflow' })useHotkey(VERSION_HISTORY_HOTKEY,@@ -41,13 +43,17 @@ export function VersionHistoryButton({ onClick }: VersionHistoryButtonProps) {<TooltipTriggerrender={<Button+ aria-label={label}className={cn('rounded-lg p-2 inset-ring-1 inset-ring-transparent',theme === 'dark' && 'bg-white/10 inset-ring-black/5 backdrop-blur-xs',)}onClick={onClick}>- <span className="i-ri-history-line size-4 text-components-button-secondary-text" />+ <span+ aria-hidden+ className="i-ri-history-line size-4 text-components-button-secondary-text"+ /></Button>}/>