fix(modal): align rollout schema contract
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -26,14 +26,14 @@ export const toolsSection = {
|
||||
section: 'backup',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'tools-modal-rollout',
|
||||
name: 'ToolsModalRollout',
|
||||
key: 'tools-frontend-modal-rollout',
|
||||
name: 'ToolsFrontendModalRollout',
|
||||
label: '前台弹窗灰度',
|
||||
route: '/tools/modal-rollout',
|
||||
route: '/tools/frontend-modal-rollout',
|
||||
title: '前台弹窗灰度',
|
||||
desc: '按领域控制前台弹窗新流程的分阶段发布。',
|
||||
canonicalDomain: 'tools',
|
||||
section: 'modal-rollout',
|
||||
section: 'frontend-modal-rollout',
|
||||
}),
|
||||
customPage({
|
||||
key: 'tools-health',
|
||||
|
||||
+7
-7
@@ -1,17 +1,17 @@
|
||||
export const modalRolloutSchema = {
|
||||
key: 'tools.modal-rollout',
|
||||
export const frontendModalRolloutSchema = {
|
||||
key: 'tools.frontend-modal-rollout',
|
||||
title: '前台弹窗灰度',
|
||||
icon: 'fas fa-bolt',
|
||||
description: '按领域控制前台弹窗新流程的分阶段发布。',
|
||||
defaults: {
|
||||
frontend_modal_rollout_identity: false,
|
||||
frontend_modal_rollout_badges: false,
|
||||
frontend_modal_rollout_orders: false,
|
||||
frontend_modal_rollout_badge: false,
|
||||
frontend_modal_rollout_order: false,
|
||||
frontend_modal_rollout_vip: false,
|
||||
},
|
||||
groups: [
|
||||
{
|
||||
key: 'modal-rollout',
|
||||
key: 'rollout',
|
||||
title: '弹窗新流程开关',
|
||||
icon: 'fas fa-toggle-on',
|
||||
fields: [
|
||||
@@ -22,13 +22,13 @@ export const modalRolloutSchema = {
|
||||
help: '启用统一弹窗运行时与认证快照流程。',
|
||||
},
|
||||
{
|
||||
key: 'frontend_modal_rollout_badges',
|
||||
key: 'frontend_modal_rollout_badge',
|
||||
label: '徽章新流程',
|
||||
type: 'switch',
|
||||
help: '启用统一 JSON 徽章流程和短缓存。',
|
||||
},
|
||||
{
|
||||
key: 'frontend_modal_rollout_orders',
|
||||
key: 'frontend_modal_rollout_order',
|
||||
label: '订单新流程',
|
||||
type: 'switch',
|
||||
help: '启用订单详情快速开壳与状态同步流程。',
|
||||
@@ -7,12 +7,12 @@ import { importExportSchema } from './import-export.js'
|
||||
import { healthSchema } from './health.js'
|
||||
import { emailRollbackSchema } from './email-rollback.js'
|
||||
import { backupSchema } from './backup.js'
|
||||
import { modalRolloutSchema } from './modal-rollout.js'
|
||||
import { frontendModalRolloutSchema } from './frontend-modal-rollout.js'
|
||||
|
||||
export const toolsSchemas = {
|
||||
'import-export': importExportSchema,
|
||||
health: healthSchema,
|
||||
'email-rollback': emailRollbackSchema,
|
||||
backup: backupSchema,
|
||||
'modal-rollout': modalRolloutSchema,
|
||||
'frontend-modal-rollout': frontendModalRolloutSchema,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user