chore(backlog): 记录 g227 完成

This commit is contained in:
HIsheR
2026-10-26 20:07:12 +08:00
parent 87bdc03213
commit 4b113215c7
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2429,6 +2429,15 @@
"status": "done",
"notes": "recipes.md 末尾三条新约定各自点出「违反时哪道门禁会报」:g214 收敛的 ua-pop-drop / ua-pop-rise(对应 checkDuplicateKeyframes)、滚动容器进 scrollbar-width 名单(对应 checkScrollCoverage)、颜色令牌 tokens.css + tokens.json 双写(对应 checkTokenParity);llms-full 重生成,配方结构校验(13 条编号连续 + 通用约定原样保留)通过",
"domain": "tooling"
},
{
"id": "g227",
"title": "timePicker 打开后焦点进入时列",
"motivation": "弹层打开后焦点还留在触发器上:键盘用户按 Tab 会跳到页面下一个元素(弹层被跳过),列内的 ↑↓ 也用不上——能看见却进不去,是弹层类组件最常见的无障碍漏项。",
"acceptance": "打开弹层时把焦点送到时列的当前格(无值则首个),用 preventScroll 保住刚算好的列内滚动位置;Esc 收起后焦点回到触发器(既有行为不变);manifest 步骤说明;npm run check 全绿。",
"status": "done",
"notes": "打开 effect 的 rAF 里在 reveal 之后补焦点:优先时列 is-active 格、无值退到首格,focus({ preventScroll: true }) 避免浏览器把刚算好的列内居中位置重新滚掉;收起路径未改(Esc 与选完分都 trigger.focus());manifest steps 补第 10 条;check 全绿",
"domain": "tune"
}
]
}
+1
View File
@@ -270,3 +270,4 @@
{"ts":"2026-10-26T20:05:13+08:00","id":"g224","result":"done","commit":"63351dc","summary":"timePicker 收起态支持 ↑↓ 按步长微调、Shift + ↑↓ 按小时微调,跨零点环形回绕,与收回合同一套 keydown"}
{"ts":"2026-10-26T20:05:58+08:00","id":"g225","result":"done","commit":"9c783cd","summary":"时分两列补 1px 分界线 + 左侧内距,弹层与单元格定最小宽度并居中,消除「两列像一列」「弹层比触发器窄」的观感问题"}
{"ts":"2026-10-26T20:06:34+08:00","id":"g226","result":"done","commit":"93a7c67","summary":"配方《通用约定》补三条单一来源规则:动效走 ua-pop-drop / ua-pop-rise、新滚动容器进 scrollbar 名单、颜色令牌两处双写"}
{"ts":"2026-10-26T20:07:11+08:00","id":"g227","result":"done","commit":"87bdc03","summary":"timePicker 打开弹层即把焦点送进时列当前格(preventScroll 保住滚动位置),键盘用户不必再 Tab 找,Esc 仍归还触发器"}