docs(agents): detail views may use right-side Drawer per ADR-0005

This commit is contained in:
sinohqb 2026-08-06 01:42:13 +08:00
parent 01f451c155
commit 9f25728c2f

View File

@ -131,7 +131,7 @@ SPA 由 FastAPI 托管(`GET /{full_path:path}` → `index.html`)。`frontend
- **useState**:各页面本地数据,无全局缓存(不使用 SWR/React Query - **useState**:各页面本地数据,无全局缓存(不使用 SWR/React Query
**UI 交互一致性标准**ADR-0005全部管理页必须遵守 **UI 交互一致性标准**ADR-0005全部管理页必须遵守
- 页壳:`PageWrapper inline fullHeight`;详情页用页内 view 切换(非新路由) - 页壳:`PageWrapper inline fullHeight`;详情/报告用页内 view 切换或右侧 Drawer 弹出(非新路由),列表常驻
- 表格:`Empty` 空态;超过 20 行才分页pageSize 20禁止 `scroll.y` calc hack外层 div `overflowY: auto` - 表格:`Empty` 空态;超过 20 行才分页pageSize 20禁止 `scroll.y` calc hack外层 div `overflowY: auto`
- 表单:`components/FormDrawer.tsx`(宽 640、页脚取消/确定、`submitting` loading、`destroyOnClose` - 表单:`components/FormDrawer.tsx`(宽 640、页脚取消/确定、`submitting` loading、`destroyOnClose`
- 危险操作(删除/取消/停止):`Popconfirm` - 危险操作(删除/取消/停止):`Popconfirm`