feat: add system task runner (#5680)

This commit is contained in:
Calcium-Ion
2026-06-24 17:16:21 +08:00
committed by GitHub
parent acb52d0f78
commit 5377192293
39 changed files with 2575 additions and 596 deletions
+8
View File
@@ -27,6 +27,7 @@ import {
ListTodo,
MessageSquare,
Radio,
ServerCog,
Settings,
Ticket,
User,
@@ -34,6 +35,7 @@ import {
Wallet,
} from 'lucide-react'
import { useTranslation } from 'react-i18next'
import { ROLE } from '@/lib/roles'
import { type SidebarData } from '@/components/layout/types'
/**
@@ -141,6 +143,12 @@ export function useSidebarData(): SidebarData {
url: '/subscriptions',
icon: CreditCard,
},
{
title: t('System Info'),
url: '/system-info',
icon: ServerCog,
requiredRole: ROLE.SUPER_ADMIN,
},
{
title: t('System Settings'),
url: '/system-settings/site',