From 98759701e4b2f10caa7fbf8eba4eb4f4e94f7673 Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Fri, 11 Oct 2024 09:36:27 -0400 Subject: [PATCH] fix(editor): Disable Ask AI button in deprecated nodes (no-changelog) (#11194) --- .../AskAssistantChat.spec.ts.snap | 2 ++ .../InlineAskAssistantButton.vue | 1 + .../src/components/Error/NodeErrorView.vue | 8 ++++- .../Error/__tests__/NodeErrorView.test.ts | 33 +++++++++++++++++++ 4 files changed, 43 insertions(+), 1 deletion(-) diff --git a/packages/design-system/src/components/AskAssistantChat/__tests__/__snapshots__/AskAssistantChat.spec.ts.snap b/packages/design-system/src/components/AskAssistantChat/__tests__/__snapshots__/AskAssistantChat.spec.ts.snap index 79b57d2d17..891c10abf6 100644 --- a/packages/design-system/src/components/AskAssistantChat/__tests__/__snapshots__/AskAssistantChat.spec.ts.snap +++ b/packages/design-system/src/components/AskAssistantChat/__tests__/__snapshots__/AskAssistantChat.spec.ts.snap @@ -840,6 +840,7 @@ exports[`AskAssistantChat > renders default placeholder chat correctly 1`] = ` For specific tasks, you’ll see the