diff --git a/mateclaw-ui/src/i18n/locales/en-US.ts b/mateclaw-ui/src/i18n/locales/en-US.ts index f5659a05..053fabe6 100644 --- a/mateclaw-ui/src/i18n/locales/en-US.ts +++ b/mateclaw-ui/src/i18n/locales/en-US.ts @@ -330,6 +330,8 @@ export default { disabled: 'Disabled {key}', toggleFailed: 'Toggle failed, please retry', footer: 'New features ship disabled by default. After enabling, watch the metrics and logs for the relevant module before widening the rollout.', + notWired: 'Not yet wired', + notWiredTooltip: 'This flag is reserved but the underlying feature is not implemented yet — toggling has no effect.', scope: { kb: 'KB whitelist', user: 'User whitelist', diff --git a/mateclaw-ui/src/i18n/locales/zh-CN.ts b/mateclaw-ui/src/i18n/locales/zh-CN.ts index e19f6aca..e40f4808 100644 --- a/mateclaw-ui/src/i18n/locales/zh-CN.ts +++ b/mateclaw-ui/src/i18n/locales/zh-CN.ts @@ -320,6 +320,8 @@ export default { disabled: '已关闭 {key}', toggleFailed: '切换失败,请稍后重试', footer: '默认情况下新功能以关闭状态发布。开启后请关注对应模块的指标与日志,确认无回归再扩大灰度。', + notWired: '未实装', + notWiredTooltip: '该开关已预留但功能尚未实装,开启暂不会生效', scope: { kb: '知识库白名单', user: '用户白名单', diff --git a/mateclaw-ui/src/views/Settings/FeatureFlags/index.vue b/mateclaw-ui/src/views/Settings/FeatureFlags/index.vue index 9237c98c..88115634 100644 --- a/mateclaw-ui/src/views/Settings/FeatureFlags/index.vue +++ b/mateclaw-ui/src/views/Settings/FeatureFlags/index.vue @@ -17,9 +17,19 @@
-
+
-
{{ flag.flagKey }}
+
+ {{ flag.flagKey }} + + {{ t('settings.featureFlags.notWired') }} + +
{{ describe(flag) }}
@@ -34,11 +44,14 @@
-