feat(ui): add system settings to sidebar and unhide frontend theme switcher

- Add System Settings entry to Admin sidebar group with Settings icon
- Register /system-settings URL mapping in sidebar config
- Remove 3-click hidden unlock from Frontend Theme setting, making it
  directly visible in System Information section
This commit is contained in:
CaIon
2026-04-29 20:09:07 +08:00
parent b44faec66b
commit b2232f4355
3 changed files with 39 additions and 38 deletions
+7
View File
@@ -14,6 +14,7 @@ import {
MessageSquare,
CreditCard,
ListTodo,
Settings,
} from 'lucide-react'
import { useTranslation } from 'react-i18next'
import { WORKSPACE_IDS } from '@/components/layout/lib/workspace-registry'
@@ -120,6 +121,12 @@ export function useSidebarData(): SidebarData {
url: '/subscriptions',
icon: CreditCard,
},
{
title: t('System Settings'),
url: '/system-settings/general',
activeUrls: ['/system-settings'],
icon: Settings,
},
],
},
],