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.
14 lines
636 B
Markdown
14 lines
636 B
Markdown
# 02 — Targets 页迁移
|
||
|
||
**What to build:** 评测对象页对齐交互标准:PageWrapper 骨架复核、创建/编辑表单统一 FormDrawer、删除 Popconfirm 复核、空态 Empty、分页 20 行阈值。
|
||
|
||
**Blocked by:** 01
|
||
|
||
**Acceptance criteria:**
|
||
- [ ] 表单容器为 FormDrawer(创建与编辑统一)
|
||
- [ ] 删除有 Popconfirm 确认,连通测试按钮行为不变
|
||
- [ ] 列表空态 Empty、加载用 Table loading、20 行分页阈值
|
||
- [ ] 无 `window.confirm`、无绕过 tokens 的硬编码色值(迁移可见部分)
|
||
- [ ] `tsc --noEmit` 通过
|
||
- [ ] t480 走查:增删改查 + 连通测试 golden path
|