From 554ba9ef74453b60ebf5ab79456acdbc42479d19 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Sun, 24 May 2026 22:07:50 +0800 Subject: [PATCH] feat(settings): refactor system settings management and UI enhancements - Consolidated global system settings into the standard Settings modal, improving accessibility and user experience. - Updated routing to redirect system settings to the new modal structure, ensuring a seamless transition for users. - Enhanced UI components for better responsiveness and visual clarity, including adjustments to layout and styling. - Added visibility controls for system admin-specific settings, ensuring proper access management. - Refactored related comments and documentation for improved clarity on the new settings structure. --- frontend/src/components/UserMenu.vue | 16 ++-- frontend/src/router/index.ts | 10 +-- frontend/src/views/settings/Settings.vue | 45 ++++++++++- frontend/src/views/system/SystemLayout.vue | 8 +- frontend/src/views/system/SystemSettings.vue | 84 +++++++++++--------- 5 files changed, 104 insertions(+), 59 deletions(-) diff --git a/frontend/src/components/UserMenu.vue b/frontend/src/components/UserMenu.vue index ea9e3b6e..9fd204b5 100644 --- a/frontend/src/components/UserMenu.vue +++ b/frontend/src/components/UserMenu.vue @@ -116,11 +116,7 @@ including tenant Owners. Real authorisation lives server-side (RequireSystemAdmin middleware); this is UI gating only. --> -