From 43d35fcb8183acf400d0dd9c23d039a3ff998033 Mon Sep 17 00:00:00 2001 From: HIsheR Date: Mon, 26 Oct 2026 17:51:42 +0800 Subject: [PATCH] =?UTF-8?q?chore(backlog):=20=E8=AE=B0=E5=BD=95=20g189=20?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ua/backlog.json | 8 ++++++++ .ua/iterations.log | 1 + 2 files changed, 9 insertions(+) diff --git a/.ua/backlog.json b/.ua/backlog.json index 08d130f..1a7f0fc 100644 --- a/.ua/backlog.json +++ b/.ua/backlog.json @@ -2101,6 +2101,14 @@ "acceptance": "新增 commandPalette:open 信号驱动显隐、items 支持 group/hint/keywords 三层过滤、↑↓ 环形选择 + Home/End + 回车执行、Esc 走弹层栈只关最上层、开关均归还焦点、⌘K/Ctrl+K 可开关;样式只消费 --ua-* 令牌,禁止新增硬编码阴影/时长/字号;demo 新增可交互区块;npm run check 全绿且 audit:visual 计数不涨。", "status": "done", "notes": "新增 packages/skin/ui/src/commandPalette.ts(148 行)+ types 三接口 + ui.css 13 条规则(全令牌,含 prefers-reduced-motion 兜底);过滤看 label/hint/keywords 三层,高亮只切 class 不重建列表(aria-activedescendant 供读屏);Esc 复用 overlay 栈、滚动锁复用 lockScroll;demo 新增 sec-cmdk(按钮 + ⌘K 双入口);README 清单与「浮层」分组、ARCHITECTURE/AGENTS 组件数随 sync-counts 同步到 69;audit:visual 仍 40 处" + }, + { + "id": "g189", + "title": "补配方 12:命令面板(⌘K 全局操作入口)", + "motivation": "commandPalette 刚入库,但「id 分发 / keywords 兜拼音 / onSelect 里开二次确认 / 多实例 hotkey 冲突」这些坑只有实现者知道;配方是 Agent 与新人复用组件的入口,缺一条就会各写一遍。", + "acceptance": "packages/tools/cli/recipes.md 增加配方 12(编号连续、含代码块与要点),代码块至少认出一个已注册组件 id;ua recipes 12 能取到骨架与要点;npm run check 全绿。", + "status": "done", + "notes": "配方 12「命令面板(⌘K 全局操作入口)」:id 做分发键、label 只显示;keywords 塞拼音别名;同组连续才合并;二次确认交给 modal/popconfirm 而非面板内叠层;一页只留一个 hotkey;items 快照需重建。ua recipes 12 识别 commandPalette / modal / popconfirm / toast 四组件" } ] } diff --git a/.ua/iterations.log b/.ua/iterations.log index fc7b974..77cf89b 100644 --- a/.ua/iterations.log +++ b/.ua/iterations.log @@ -233,3 +233,4 @@ {"ts":"2026-10-26T17:45:53+08:00","id":"g185","result":"done","commit":"999f3f6","summary":"分割线与轮廓分色:新增 border-literal 第十一类门禁(色值字面量,纯黑 rgba 边可迁移),19 处 1px 分割线改走 --ua-border-subtle,计数 0、基线 40 处"} {"ts":"2026-10-26T17:47:55+08:00","id":"g186","result":"done","commit":"5908202","summary":"视觉回归抽查清单固化:ITERATION.md 六组件 26 条可勾选项(五维度标签),ua verify 新增章节/条目/维度三重校验(负向已拦),AGENTS 与 cli 清单同步"} {"ts":"2026-10-26T17:50:31+08:00","id":"g188","result":"done","commit":"7e47a54","summary":"新增 commandPalette 命令面板(第 69 个组件):⌘K 唤起、label/hint/keywords 三层过滤、↑↓ 环形高亮 + aria-activedescendant、Esc 走弹层栈、开关归还焦点;样式全令牌,视觉基线仍 40 处"} +{"ts":"2026-10-26T17:51:39+08:00","id":"g189","result":"done","commit":"b83cf59","summary":"补配方 12:命令面板 ⌘K 入口(id 分发 / keywords 兜拼音 / 二次确认外置 / hotkey 单实例),ua recipes 12 可取出骨架与六条要点"}