From b2692bec73f254a509aaaaa9b6ecf4ed8f14a0e0 Mon Sep 17 00:00:00 2001 From: Md Afiq Iskandar Date: Tue, 8 Jul 2025 14:10:50 +0800 Subject: [PATCH] Enhance Process Builder with Mobile Responsiveness and Node Highlighting - Implemented mobile responsive states for the process builder, allowing for better usability on smaller screens by auto-hiding panels and providing toggle functionality. - Added node highlighting capabilities to improve user interaction, enabling users to easily identify and navigate to specific nodes within the process flow. - Updated the ProcessFlowCanvas component to support centering on highlighted nodes, enhancing the visual experience during node selection. - Improved overall layout and interaction design for mobile and tablet devices, ensuring a seamless user experience across different screen sizes. --- components/RsModal.vue | 2 +- .../process-flow/GatewayConditionManager.vue | 6 +- .../process-flow/ProcessBuilderComponents.vue | 33 +- components/process-flow/ProcessFlowCanvas.vue | 382 +++++- components/process-flow/VariableManager.vue | 1053 +++++++++++++++-- .../BUSINESS_RULES_TROUBLESHOOTING.md | 383 ++++++ .../PROCESS_FLOW_CREATION_GUIDE.md | 833 +++++++++++++ pages/process-builder/index.vue | 483 ++++++-- stores/processBuilder.js | 106 +- 9 files changed, 3121 insertions(+), 160 deletions(-) create mode 100644 docs/process-builder/BUSINESS_RULES_TROUBLESHOOTING.md create mode 100644 docs/process-builder/PROCESS_FLOW_CREATION_GUIDE.md diff --git a/components/RsModal.vue b/components/RsModal.vue index 958f98d..660e788 100644 --- a/components/RsModal.vue +++ b/components/RsModal.vue @@ -101,7 +101,7 @@ watch( class="modal-dialog" :class="dialogClass" :style="{ - width: size == 'sm' ? '300px' : size == 'md' ? '500px' : '800px', + width: size == 'sm' ? '300px' : size == 'md' ? '500px' : size == 'lg' ? '800px' : size == 'xl' ? '1000px' : '1200px', }" >