From 132e98b85eaac67af3385658508fb3c1e2e8cb38 Mon Sep 17 00:00:00 2001 From: Comfy Org PR Bot Date: Thu, 11 Sep 2025 15:06:04 +0800 Subject: [PATCH] feat: Auto-close LoadWorkflowWarning dialog when all missing nodes are installed (#5321) (#5487) * feat: Auto-close LoadWorkflowWarning dialog when all missing nodes are installed - Add computed property to check if all missing nodes are installed - Watch for completion and automatically close dialog with 500ms delay - Show success toast notification when installation completes - Add translation key for success message This improves UX by automatically dismissing the warning dialog once the user has successfully installed all missing nodes through the manager. * fix: settimeout to nexttick * [auto-fix] Apply ESLint and Prettier fixes --------- Co-authored-by: Jin Yi Co-authored-by: GitHub Action --- .../dialog/content/LoadWorkflowWarning.vue | 34 ++++++++++++++++++- src/locales/en/main.json | 1 + 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/src/components/dialog/content/LoadWorkflowWarning.vue b/src/components/dialog/content/LoadWorkflowWarning.vue index 54a006bee..cc159292a 100644 --- a/src/components/dialog/content/LoadWorkflowWarning.vue +++ b/src/components/dialog/content/LoadWorkflowWarning.vue @@ -53,13 +53,16 @@