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.
632 B
632 B
05 — Scenarios 页迁移
What to build: 评测场景页对齐交互标准。Monaco 编辑器与版本对比等功能保持不变,只统一外壳与基础模式。
Blocked by: 04
Acceptance criteria:
- 创建/编辑入口统一(表单 Drawer 或保留 Monaco 全屏编辑——以现有主模式为准,但容器样式对齐标准)
- 删除有 Popconfirm;模板相关交互不变
- 空态 Empty、20 行分页阈值
- 现状 Modal 与 Drawer 混用处收敛(保留 Monaco 场景所需的 Modal)
tsc --noEmit通过- t480 走查:场景 CRUD + 编辑 + 校验 golden path