feat(settings): link feature toggles to their config pages

Channel Monitor card now links to 渠道管理 > 渠道监控 and the Available
Channels card links to 渠道管理 > 渠道定价 so admins know where to go
after flipping the switch.
This commit is contained in:
erio
2026-04-21 21:59:23 +08:00
parent 6cd7c60549
commit 1f81b77911
4 changed files with 68 additions and 0 deletions

View File

@@ -4675,11 +4675,19 @@ export default {
channelMonitor: {
title: 'Channel Monitor',
description: 'Periodically probe configured channels and surface availability / latency to users. Turning it off stops the scheduler and returns an empty list on the user page.',
configureLink: 'Configure monitors in Channel Management > Channel Monitor',
enabled: 'Enable Channel Monitor',
enabledHint: 'Disabling stops background checks; existing history is preserved.',
defaultInterval: 'Default check interval (seconds)',
defaultIntervalHint: 'Pre-fills the interval when creating a new monitor; each monitor can override it. Range 15 3600.',
},
availableChannels: {
title: 'Available Channels',
description: 'Show logged-in users an aggregate view of the channels, models and pricing they can access. Disabled by default.',
configureLink: 'Configure model pricing in Channel Management > Channel Pricing',
enabled: 'Enable Available Channels',
enabledHint: 'When off, the sidebar entry is hidden and the endpoint returns an empty list.',
},
},
emailTabDisabledTitle: 'Email Verification Not Enabled',
emailTabDisabledHint: 'Enable email verification in the Security tab to configure SMTP settings.',