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.
This commit is contained in:
@@ -148,15 +148,15 @@ const router = createRouter({
|
||||
path: "system",
|
||||
component: () => import("../views/system/SystemLayout.vue"),
|
||||
meta: { requiresInit: true, requiresAuth: true, requiresSystemAdmin: true },
|
||||
redirect: "/platform/system/settings",
|
||||
redirect: "/platform/system/admins",
|
||||
children: [
|
||||
{
|
||||
// P1 default landing page — the SystemAdmin lands here
|
||||
// because most platform-level operations involve tweaking
|
||||
// a setting, not promoting another admin.
|
||||
// Kept as a compatibility URL. Global settings now live in
|
||||
// the standard settings modal rather than a standalone
|
||||
// routed page.
|
||||
path: "settings",
|
||||
name: "systemSettings",
|
||||
component: () => import("../views/system/SystemSettings.vue"),
|
||||
redirect: { path: "/platform/settings", query: { section: "system-global" } },
|
||||
meta: { requiresInit: true, requiresAuth: true, requiresSystemAdmin: true }
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user