Extract the standard form drawer (width 640, footer actions, destroyOnClose) as FormDrawer; reuse existing usePolling hook. IntelligentEvals becomes the first consumer — create drawer and both 5s pollings switched with zero behaviour change. Includes ui-consistency spec, tickets, and ADR-0005.
688 B
688 B
08 — Campaigns 页迁移(最后硬骨头)
What to build: 评估活动页(1094 行)对齐交互标准。时间线、探索区、分析区等独特交互不做模式化改造,只统一页面外壳与基础模式(表单 Drawer、删除确认、空态、反馈)。
Blocked by: 07
Acceptance criteria:
- 创建/编辑活动表单统一 FormDrawer
- 删除/取消活动 Popconfirm;探索派发等独特交互不变
- 空态 Empty、20 行分页阈值
- 文件体量显著下降(重复模式收敛到共享件),不强制目标行数
tsc --noEmit通过- t480 走查:活动 CRUD + 时间线 + 探索区 + 报告 golden path