Files
Nexus/docs/audit/2026-06-14-watch-slot-paused-ui-polish.md
2026-07-08 22:31:31 +08:00

31 lines
898 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 审计 — 监测槽暂停态 UI 与顶栏间距
**Changelog**: `docs/changelog/2026-06-14-watch-slot-paused-ui-polish.md`
## 审计范围
| 文件 | 变更 | 状态 |
|------|------|------|
| `WatchSlotCard.vue` | 顶栏 ⋮ 菜单(暂停/恢复/移除);底栏暂停;暂停态 UI | ☑ |
| `WatchMetricRing.vue` | `dimmed` 占位态 | ☑ |
## Step 3 规则扫描
| H | 规则 | 结论 |
|---|------|------|
| H1 | 无新 API | SAFE — 仍 `emit('monitoring'/'remove')` |
| H2 | 误触移除/暂停 | SAFE — 顶栏无开关;暂停/移除在菜单内;底栏「暂停」为文字链 |
| H3 | 无障碍 | SAFE — `aria-label` on 开关与移除 |
## Closure
| H | 判定 | 依据 |
|---|------|------|
| H1H3 | SAFE | 纯前端 |
## DoD
- [x] changelog ≥10 行
- [x] `vite build`
- [ ] 生产终验:暂停态无大虚线框;开启后开关与 ✕ 不贴在一起