From 5261bf601eda2ade6f7ff50291984dd22e87d903 Mon Sep 17 00:00:00 2001 From: Md Afiq Iskandar Date: Wed, 23 Jul 2025 06:50:48 +0800 Subject: [PATCH] Refactor ProcessSettingsModal to Simplify Settings and Enhance Permissions Management - Updated the modal to use a smaller size for improved usability. - Removed unnecessary fields related to priority, owner, and execution settings to streamline the process configuration. - Introduced a new loading state for permissions and error handling for better user feedback. - Simplified the settings tabs to focus on essential configurations, enhancing the user experience. - Added functionality to dynamically load available roles and permissions from the database, improving flexibility in process management. --- .../process-flow/ProcessSettingsModal.vue | 460 ++++++++++-------- server/api/permissions/index.get.js | 57 +++ 2 files changed, 310 insertions(+), 207 deletions(-) create mode 100644 server/api/permissions/index.get.js diff --git a/components/process-flow/ProcessSettingsModal.vue b/components/process-flow/ProcessSettingsModal.vue index 53511d6..b254a46 100644 --- a/components/process-flow/ProcessSettingsModal.vue +++ b/components/process-flow/ProcessSettingsModal.vue @@ -1,5 +1,5 @@ - -