From 0060ad38b7a1a96654ce4c28c8e3e08ca7e55f62 Mon Sep 17 00:00:00 2001 From: Md Afiq Iskandar Date: Wed, 23 Jul 2025 08:17:42 +0800 Subject: [PATCH] Refactor Navigation and Form/Process Builder UI for Improved User Experience - Removed redundant button elements for Templates and History from the form and process builder pages to streamline the interface. - Consolidated action buttons into dropdown menus for better organization and accessibility. - Enhanced visual hierarchy by adding section headers for Form Actions and Process Actions in dropdowns, improving clarity for users. - Updated styles for dropdown menus to ensure consistent appearance and interaction across different screen sizes. --- navigation/index.js | 50 ----------------------------- pages/form-builder/index.vue | 44 +++++++++++++------------- pages/process-builder/index.vue | 56 ++++++++++++--------------------- 3 files changed, 42 insertions(+), 108 deletions(-) diff --git a/navigation/index.js b/navigation/index.js index 034cfbd..5d8c684 100644 --- a/navigation/index.js +++ b/navigation/index.js @@ -45,54 +45,4 @@ export default [ }, ], }, - { - header: "Execute & Monitor", - description: "Run processes and track their progress", - child: [ - { - title: "Process Execution", - icon: "material-symbols:play-circle", - child: [ - { - title: "Execution Dashboard", - path: "/execution", - child: [], - meta: { - description: "Monitor active processes and performance metrics", - }, - }, - { - title: "Start New Process", - path: "/execution/new-case", - child: [], - meta: { - description: "Initiate a new process instance", - }, - }, - ], - }, - { - title: "Task Management", - icon: "material-symbols:task", - child: [ - { - title: "My Tasks", - path: "/execution/inbox", - child: [], - meta: { - description: "View and complete assigned tasks", - }, - }, - { - title: "Process History", - path: "/execution/history", - child: [], - meta: { - description: "Review completed processes and audit trails", - }, - }, - ], - }, - ], - }, ]; diff --git a/pages/form-builder/index.vue b/pages/form-builder/index.vue index dcc8265..9059a4d 100644 --- a/pages/form-builder/index.vue +++ b/pages/form-builder/index.vue @@ -61,24 +61,7 @@ - - +
@@ -87,12 +70,29 @@ diff --git a/pages/process-builder/index.vue b/pages/process-builder/index.vue index 976483e..d29cd72 100644 --- a/pages/process-builder/index.vue +++ b/pages/process-builder/index.vue @@ -2334,29 +2334,7 @@ const sendToBack = () => {
- - - - - - -
@@ -2366,20 +2344,26 @@ const sendToBack = () => {