From 8f56505af1d0b8b14b600f93fe3931bee56968ed Mon Sep 17 00:00:00 2001 From: Md Afiq Iskandar Date: Mon, 28 Jul 2025 11:52:54 +0800 Subject: [PATCH] Refactor Process Builder UI for Enhanced Clarity and Usability - Removed the temporary debug button from the process builder interface to streamline the user experience. - Adjusted layout and spacing for edge and node headers to improve visual organization and readability. - Enhanced the display of node and edge IDs with break-word support for better handling of long text. - Updated action button icons to ensure consistent sizing and alignment across the interface. - Improved overflow handling in scrollable content areas to prevent horizontal scrolling issues. --- pages/process-builder/index.vue | 74 +++++++++++++++------------------ 1 file changed, 33 insertions(+), 41 deletions(-) diff --git a/pages/process-builder/index.vue b/pages/process-builder/index.vue index 628b6c8..6f05526 100644 --- a/pages/process-builder/index.vue +++ b/pages/process-builder/index.vue @@ -2940,17 +2940,6 @@ const sendToBack = () => { - - - - - -
+
@@ -3130,17 +3119,24 @@ const sendToBack = () => {
-
+
+
-
+
-
-

Connection

-

{{ selectedEdgeData.id }}

+
+

Connection

-
+ + +
+

{{ selectedEdgeData.id }}

+
+ + +
{ :title="`Copy Edge (Ctrl+C)${currentSelectionInfo ? ' - ' + currentSelectionInfo : clipboardInfo ? ' - Current: ' + clipboardInfo : ''}`" class="modern-icon-btn" > - + { :title="'Delete Edge'" class="modern-icon-btn" > - +
-
+

@@ -3210,32 +3206,28 @@ const sendToBack = () => {
-
+
+
-
-
-

+
+

{{ selectedNodeData.data?.isShape ? 'Shape' : 'Node' }}: {{ selectedNodeData.type.replace('-', ' ') }}

-

{{ selectedNodeData.id }}

+ + +
+

{{ selectedNodeData.id }}

+
+ +
- - - { :title="'Duplicate Node'" class="modern-icon-btn" > - + { :title="'Delete Node'" class="modern-icon-btn" > - +
-
+
-

+

Basic Properties