From 312e555361f376330974cbc6d3c40bbc835d7f1c Mon Sep 17 00:00:00 2001 From: Md Afiq Iskandar Date: Mon, 28 Jul 2025 09:49:53 +0800 Subject: [PATCH] Enhance Process Flow Components with Recursive Update Prevention - Updated HtmlNodeConfiguration.vue and ScriptNodeConfiguration.vue to prevent recursive updates when props change by introducing a flag and utilizing nextTick for state management. - Improved keyboard shortcut handling in index.vue to block shortcuts when modals are open or when input elements are focused, enhancing user experience during process building. --- .../process-flow/HtmlNodeConfiguration.vue | 15 +++- .../process-flow/ScriptNodeConfiguration.vue | 15 +++- pages/process-builder/index.vue | 71 ++++++++++++++++++- 3 files changed, 94 insertions(+), 7 deletions(-) diff --git a/components/process-flow/HtmlNodeConfiguration.vue b/components/process-flow/HtmlNodeConfiguration.vue index bf98eb7..0479e25 100644 --- a/components/process-flow/HtmlNodeConfiguration.vue +++ b/components/process-flow/HtmlNodeConfiguration.vue @@ -362,7 +362,7 @@ document.addEventListener('DOMContentLoaded', function() {