From c5826b72111991d0886aa5104656373aafbe5d34 Mon Sep 17 00:00:00 2001 From: HIsheR Date: Mon, 26 Oct 2026 20:04:34 +0800 Subject: [PATCH] =?UTF-8?q?chore(backlog):=20=E8=AE=B0=E5=BD=95=20g223=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 | 9 +++++++++ .ua/iterations.log | 1 + 2 files changed, 10 insertions(+) diff --git a/.ua/backlog.json b/.ua/backlog.json index b944bb3..b65773b 100644 --- a/.ua/backlog.json +++ b/.ua/backlog.json @@ -2393,6 +2393,15 @@ "status": "done", "notes": "ui.css 顶部三处档位选择器各并进 .ua-timepicker-trigger(md / is-sm / is-lg),组件段原本写死的 height: var(--ua-control-h-md) 删掉,改为注释说明「高度由顶部三档统一给」——同一件事只留一个来源;TS 侧 class 按 select 的写法拼 is-${size}(缺省 md 不挂类);types 增 size 字段、manifest props 7 项 + steps 8 条,demo 加 320px 内的「小号」实例;check 全绿,audit 十一类仍 0", "domain": "tune" + }, + { + "id": "g223", + "title": "timePicker 非档值按最近档对齐", + "motivation": "外部传进来的值不一定落在 minuteStep 档上(09:07 配 15 分钟档很常见,历史数据或后端下发都可能):此时分列没有任何高亮格,滚动锚点还错跑到「此刻」,用户看到的是一个「有值却什么都没选中」的弹层。", + "acceptance": "新增 nearestMinute 助手:值不在档上时取最近档,作为分列高亮与滚动锚点;打开时锚点优先跟随值(有值滚值、无值滚此刻);点最近档即写回对齐后的值,触发器在用户重新选之前照常显示原值;manifest 步骤说明该行为;npm run check 全绿。", + "status": "done", + "notes": "nearestMinute(mm) 取 Math.round(mm/step) 下标并钳到列尾,空值/NaN 直接返回空串;column 内引入 activeText():时列精确比、分列走最近档,is-active 与 aria-selected 同源(原先两处各写一遍比较);打开时锚点改为「有值滚值(时取 Number(hh)、分取 nearest 的下标)、无值滚此刻」;点最近档 commit 时按当前 hh + 档值写回,触发器在用户重选前仍显示原值;manifest steps 补一条说明该行为;check 全绿、audit 十一类 0(踩坑:bash -e 内联脚本里的反引号被命令替换吃掉,改用 Edit 工具精改模板字符串)", + "domain": "tune" } ] } diff --git a/.ua/iterations.log b/.ua/iterations.log index 3ba4994..2e7b9b3 100644 --- a/.ua/iterations.log +++ b/.ua/iterations.log @@ -266,3 +266,4 @@ {"ts":"2026-10-26T20:00:36+08:00","id":"g219","result":"done","commit":"f042c66","summary":"verify 新增重复关键帧检测(帧体剥注释归一后比对,报出两个动画名),首跑即抓出 ua-switch-spin ≡ ua-spin,开关转圈改为复用"} {"ts":"2026-10-26T20:02:26+08:00","id":"g221","result":"done","commit":"92bc8bb","summary":"verify 新增 checkScrollCoverage:括号配平扫出全部 overflow 容器,逐个核对是否在细条规则内(14/14 覆盖),负向自检摘掉 .ua-timepicker-col 即报错"} {"ts":"2026-10-26T20:03:19+08:00","id":"g222","result":"done","commit":"3067c63","summary":"timePicker 补 size 三档:高度并入顶部「控件高度三档」统一规则、组件段删掉重复高度声明,与 textField/select 同源"} +{"ts":"2026-10-26T20:04:32+08:00","id":"g223","result":"done","commit":"126da05","summary":"timePicker 非档值(如 09:07 + 15 分钟档)改为按最近档高亮与滚动,锚点优先跟值,消除「有值却无高亮」的空弹层"}