chore(backlog): 记录 g255 完成

This commit is contained in:
HIsheR
2026-10-26 22:17:27 +08:00
parent 48efb44a26
commit 8e97e99cf4
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2681,6 +2681,15 @@
"status": "done",
"domain": "core",
"notes": "只回写不改派生:pageInfo 仍是纯派生量,越界钳制口径不变(dataTable 的受控页码桥接因此不再需要额外钳制);快照新鲜度用「本次 derive 是否按当前 state 完整跑过」判断,paged=false(getAllRows 导出)会把 fresh 置假,避免拿旧快照写错页码"
},
{
"id": "g255",
"title": "减少动效下归零全站悬停位移",
"motivation": "audit:motion 只盯 infinite 循环动画,没人管「一动就位移」的那一类。实测皮肤样式表里 14 处悬停 / 按压位移(btn 上浮、page-btn 回缩、image 放大、backtop 抬升、colorpicker 格子浮起…)在 prefers-reduced-motion 下一处降级都没有——开了「减少动效」的用户每次划鼠标都被推一下,比循环动画更常见也更难躲。",
"acceptance": "ui.css 末尾新增一条 ua- 类通配的减少动效规则(:hover / :active 下 transform 与 translate 归零,颜色 / 描边 / 阴影过渡保留);audit:motion 扩为两类必查,悬停位移逐条核对是否有对应归零规则(或全局通配兜底),缺一条退出码 1、--json 增加 shift 段;负向自检删掉规则确认报「未归零 8 处」;ui.css 仍零硬编码字面量、对比度与其余门禁全绿。",
"status": "done",
"domain": "visual",
"notes": "兜底选全局通配而不是逐组件补:14 处分散在 10 多个组件,逐个补降级等于给每个新组件留一道必踩的坑;用 !important 压源码序更早的 :hover transform,同时只归零 transform/translate,颜色与阴影过渡照旧,避免把状态反馈一起砍掉。顺带把 AGENTS 里 smoke 条数(26 条)与 g254 的实际 31 条对齐"
}
]
}
+1
View File
@@ -299,3 +299,4 @@
{"ts": "2026-10-26T22:09:57+08:00", "id": "g252", "result": "done", "commit": "80ffee5", "summary": "MCP get_component 增加 format:md,与 ua info --md 共用渲染;tools/call 对字符串结果原样返回,Agent 直接拿到可粘贴 Markdown"}
{"ts": "2026-10-26T22:11:44+08:00", "id": "g253", "result": "done", "commit": "d23d861", "summary": "文档站每个组件卡加「复制参数表」按钮,前端按同一口径生成 Markdown(竖线转义 + 围栏),无剪贴板权限时退回 execCommand"}
{"ts":"2026-10-26T22:14:54+08:00","id":"g254","result":"done","commit":"43af4cf","summary":"TablePlugin 增 settle 钩子:派生后把越界页码收敛回内核 state,换源缩水不再滞留旧页码、数据恢复也不跳页;smoke 26→31 条"}
{"ts":"2026-10-26T22:17:26+08:00","id":"g255","result":"done","commit":"48efb44","summary":"audit:motion 增加第二类必查「悬停/按压位移」;ui.css 用 ua- 类通配一条规则把全站 14 处位移在减少动效下归零(颜色/阴影过渡保留),负向自检确认报 8 处未归零"}