feat: add routing reliability management

This commit is contained in:
CaIon
2026-06-20 13:55:50 +08:00
parent dfcb74b52d
commit 91ab664c53
36 changed files with 1171 additions and 782 deletions
@@ -51,7 +51,7 @@ type SidebarModulesSectionProps = {
type SidebarFormValues = SidebarModulesAdminConfig
const toTitleCase = (value: string) =>
value.replace(/[_-]+/g, ' ').replace(/\b\w/g, (char) => char.toUpperCase())
value.replaceAll(/[_-]+/g, ' ').replaceAll(/\b\w/g, (char) => char.toUpperCase())
export function SidebarModulesSection({
config,
@@ -237,7 +237,7 @@ export function SidebarModulesSection({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
name={`${sectionKey}.${moduleKey}` as any}
render={({ field }) => (
<SettingsSwitchItem className='border-b-0 py-2'>
<SettingsSwitchItem className='py-2'>
<SettingsSwitchContent>
<FormLabel>{moduleInfo.title}</FormLabel>
<FormDescription>