🔔 feat: Add subscription-aware quota notifications and update UI copy

Routes quota alerts through a subscription-specific check when billing from subscriptions, preventing wallet-based thresholds from triggering false warnings.
Updates the notification settings description and localization keys to clarify that both wallet and subscription balances are monitored.
This commit is contained in:
t0ng7u
2026-02-07 01:15:59 +08:00
parent e8177efee9
commit 673ea75811
9 changed files with 61 additions and 9 deletions

View File

@@ -446,7 +446,7 @@ const NotificationSettings = ({
onChange={(val) => handleFormChange('warningThreshold', val)}
prefix={<IconBell />}
extraText={t(
'当剩余额度低于此数值时,系统将通过选择的方式发送通知',
'当钱包或订阅剩余额度低于此数值时,系统将通过选择的方式发送通知',
)}
style={{ width: '100%', maxWidth: '300px' }}
rules={[