From af80d368b071787895d7604b863544d5bd70b6ca Mon Sep 17 00:00:00 2001 From: Md Afiq Iskandar Date: Fri, 16 May 2025 08:34:06 +0800 Subject: [PATCH] Refactor VariableManager and Manage Form Page for Improved UI and Functionality - Enhanced the VariableManager component with improved formatting and structure for better readability. - Updated the Manage Form page to include a delete confirmation modal for form deletion, enhancing user experience and preventing accidental deletions. - Refined the layout and styling of the Manage Form page, including adjustments to the header and search functionality for better usability. - Improved the handling of form actions and added visual feedback for editing and deleting forms. --- components/process-flow/VariableManager.vue | 128 ++++++------ pages/form-builder/manage.vue | 208 ++++++++++++-------- 2 files changed, 192 insertions(+), 144 deletions(-) diff --git a/components/process-flow/VariableManager.vue b/components/process-flow/VariableManager.vue index e949500..5246015 100644 --- a/components/process-flow/VariableManager.vue +++ b/components/process-flow/VariableManager.vue @@ -5,13 +5,17 @@

Process Variables

-

Manage variables for your process flow

+

+ Manage variables for your process flow +

- @@ -25,40 +29,42 @@
- -

No Variables Added

-

Add variables to store and manage data in your process

- - - Add Your First Variable - + +

+ No Variables Added +

+

+ Add variables to store and manage data in your process +

-
-
+
+
- {{ variable.name }} - {{ + variable.name + }} + {{ variable.scope }} - + {{ variable.type }}
@@ -67,14 +73,14 @@

- -