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 the plugin debug trigger (#40252)
yyh5e0d705a7f93
diff --git a/web/app/components/plugins/plugin-page/__tests__/debug-info.spec.tsx b/web/app/components/plugins/plugin-page/__tests__/debug-info.spec.tsxindex 12dbb4430bb..73f709cf84a 100644--- a/web/app/components/plugins/plugin-page/__tests__/debug-info.spec.tsx+++ b/web/app/components/plugins/plugin-page/__tests__/debug-info.spec.tsx@@ -49,7 +49,7 @@ describe('DebugInfo', () => {it('renders a disabled trigger when debug info is unavailable', () => {render(<DebugInfo />)- const trigger = screen.getByRole('button')+ const trigger = screen.getByRole('button', { name: 'plugin.debugInfo.title' })expect(trigger).toBeDisabled()})@@ -63,7 +63,7 @@ describe('DebugInfo', () => {const user = userEvent.setup()render(<DebugInfo />)- const trigger = screen.getByRole('button')+ const trigger = screen.getByRole('button', { name: 'plugin.debugInfo.title' })expect(trigger).toBeEnabled()// Popover is closed initially — content not rendered yetdiff --git a/web/app/components/plugins/plugin-page/debug-info.tsx b/web/app/components/plugins/plugin-page/debug-info.tsxindex 3d12f3c314a..92ec3fb11bd 100644--- a/web/app/components/plugins/plugin-page/debug-info.tsx+++ b/web/app/components/plugins/plugin-page/debug-info.tsx@@ -29,6 +29,7 @@ function DebugInfo({const { t } = useTranslation()const docLink = useDocLink()const { data: info, isLoading } = useDebugKey()+ const title = t(($) => $[`${i18nPrefix}.title`], { ns: 'plugin' })const trigger = triggerContent ?? <span aria-hidden className="i-ri-bug-line size-4" />const triggerClassNames = cn(!triggerClassName && 'size-full p-2 text-components-button-secondary-text',@@ -42,7 +43,7 @@ function DebugInfo({if (!info) {return (- <Button variant={triggerVariant} className={triggerClassNames} disabled>+ <Button variant={triggerVariant} className={triggerClassNames} aria-label={title} disabled>{trigger}</Button>)@@ -52,7 +53,7 @@ function DebugInfo({<Popover><PopoverTriggerrender={- <Button variant={triggerVariant} className={triggerClassNames}>+ <Button variant={triggerVariant} className={triggerClassNames} aria-label={title}>{trigger}</Button>}@@ -62,7 +63,7 @@ function DebugInfo({popupClassName="border-0 bg-transparent p-0 shadow-none"><PluginSidecarPanel- title={t(($) => $[`${i18nPrefix}.title`], { ns: 'plugin' })}+ title={title}footer={<div className="flex w-full shrink-0 flex-col items-start"><div className="flex w-full shrink-0 items-center justify-end gap-2 px-4 pt-2 pb-4">