From 1e1f3cb7111bb5356a60e6198fd735e313fd9ff1 Mon Sep 17 00:00:00 2001 From: oleg Date: Wed, 23 Sep 2026 11:37:03 +0000 Subject: [PATCH] fix(editor): Improve n8n Assistant async credential setup (no-changelog) (#39229) --- .../N8nSetupConnection/SetupConnection.vue | 2 +- .../components/N8nSetupPanel/SetupPanel.vue | 4 +- .../frontend/@n8n/i18n/src/locales/en.json | 1 + .../setupPanel/InstanceAiSetupCredential.vue | 200 ++++++++++---- .../setupPanel/InstanceAiSetupPanel.vue | 40 ++- .../InstanceAiSetupCredential.test.ts | 168 +++++++++++- .../InstanceAiSetupPanel.interactions.test.ts | 61 ++++- .../__tests__/InstanceAiSetupPanel.test.ts | 35 ++- .../CredentialEdit/CredentialInputs.test.ts | 4 +- .../CredentialEdit/CredentialInputs.vue | 8 +- .../TemplatedAuthSimpleView.test.ts | 11 +- .../TemplatedAuthSimpleView.vue | 3 + .../__tests__/useCredentialOAuth.test.ts | 25 ++ .../composables/useCredentialOAuth.ts | 69 +++-- .../composables/useWorkflowSetupItems.test.ts | 243 +++++++++++++++++- .../composables/useWorkflowSetupItems.ts | 110 +++++++- 16 files changed, 878 insertions(+), 106 deletions(-) diff --git a/packages/frontend/@n8n/design-system/src/components/N8nSetupConnection/SetupConnection.vue b/packages/frontend/@n8n/design-system/src/components/N8nSetupConnection/SetupConnection.vue index dd20c63d946..2fe05a1adcb 100644 --- a/packages/frontend/@n8n/design-system/src/components/N8nSetupConnection/SetupConnection.vue +++ b/packages/frontend/@n8n/design-system/src/components/N8nSetupConnection/SetupConnection.vue @@ -63,7 +63,7 @@ const { t } = useI18n(); @@ -678,7 +775,16 @@ onScopeDispose(() => { {{ helpLabel }} -