feat(default): reorganize system settings pricing UI
Refine the default system settings structure and model pricing editor so pricing configuration is easier to scan and edit.
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
import { type TFunction } from 'i18next'
|
||||
import {
|
||||
Box,
|
||||
CreditCard,
|
||||
Layout,
|
||||
Settings,
|
||||
Shield,
|
||||
ShieldAlert,
|
||||
Layout,
|
||||
Plug,
|
||||
Box,
|
||||
Wrench,
|
||||
} from 'lucide-react'
|
||||
import { getAuthSectionNavItems } from '@/features/system-settings/auth/section-registry.tsx'
|
||||
import { getBillingSectionNavItems } from '@/features/system-settings/billing/section-registry.tsx'
|
||||
import { getContentSectionNavItems } from '@/features/system-settings/content/section-registry.tsx'
|
||||
import { getGeneralSectionNavItems } from '@/features/system-settings/general/section-registry.tsx'
|
||||
import { getIntegrationsSectionNavItems } from '@/features/system-settings/integrations/section-registry.tsx'
|
||||
import { getMaintenanceSectionNavItems } from '@/features/system-settings/maintenance/section-registry.tsx'
|
||||
import { getModelsSectionNavItems } from '@/features/system-settings/models/section-registry.tsx'
|
||||
import { getRequestLimitsSectionNavItems } from '@/features/system-settings/request-limits/section-registry.tsx'
|
||||
import { getOperationsSectionNavItems } from '@/features/system-settings/operations/section-registry.tsx'
|
||||
import { getSecuritySectionNavItems } from '@/features/system-settings/security/section-registry.tsx'
|
||||
import { getSiteSectionNavItems } from '@/features/system-settings/site/section-registry.tsx'
|
||||
import { type NavGroup } from '../types'
|
||||
|
||||
/**
|
||||
@@ -30,9 +30,9 @@ export function getSystemSettingsNavGroups(t: TFunction): NavGroup[] {
|
||||
title: t('System Administration'),
|
||||
items: [
|
||||
{
|
||||
title: t('General'),
|
||||
title: t('Site & Branding'),
|
||||
icon: Settings,
|
||||
items: getGeneralSectionNavItems(t),
|
||||
items: getSiteSectionNavItems(t),
|
||||
},
|
||||
{
|
||||
title: t('Authentication'),
|
||||
@@ -40,29 +40,29 @@ export function getSystemSettingsNavGroups(t: TFunction): NavGroup[] {
|
||||
items: getAuthSectionNavItems(t),
|
||||
},
|
||||
{
|
||||
title: t('Request Limits'),
|
||||
icon: ShieldAlert,
|
||||
items: getRequestLimitsSectionNavItems(t),
|
||||
title: t('Billing & Payment'),
|
||||
icon: CreditCard,
|
||||
items: getBillingSectionNavItems(t),
|
||||
},
|
||||
{
|
||||
title: t('Content'),
|
||||
icon: Layout,
|
||||
items: getContentSectionNavItems(t),
|
||||
},
|
||||
{
|
||||
title: t('Integrations'),
|
||||
icon: Plug,
|
||||
items: getIntegrationsSectionNavItems(t),
|
||||
},
|
||||
{
|
||||
title: t('Models'),
|
||||
title: t('Models & Routing'),
|
||||
icon: Box,
|
||||
items: getModelsSectionNavItems(t),
|
||||
},
|
||||
{
|
||||
title: t('Maintenance'),
|
||||
title: t('Security & Limits'),
|
||||
icon: ShieldAlert,
|
||||
items: getSecuritySectionNavItems(t),
|
||||
},
|
||||
{
|
||||
title: t('Console Content'),
|
||||
icon: Layout,
|
||||
items: getContentSectionNavItems(t),
|
||||
},
|
||||
{
|
||||
title: t('Operations'),
|
||||
icon: Wrench,
|
||||
items: getMaintenanceSectionNavItems(t),
|
||||
items: getOperationsSectionNavItems(t),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user