chore(backlog): 记录 g218 完成
This commit is contained in:
@@ -2348,6 +2348,15 @@
|
||||
"status": "done",
|
||||
"notes": "signal.ts 引入 activeDeps(当前 effect 订阅到的信号订阅集集合):信号读值在收集 active 的同时登记自己那本 subs,effect 每次重跑先遍历 deps 摘掉旧订阅再 clear(条件分支换走后不再被旧信号唤),注销函数置 stopped 标志并逐个 subs.delete(run)(原先只留空注释);computed 未改,靠 effect 自动受益;新增 packages/core/frame/scripts/smoke.mjs 14 条断言(含负向:注销后不重跑、切分支后旧依赖静默、扇出时注销一个不影响另一个),首跑即 5 红(其中 1 红是我把 3×2 写成 30 的断言错误,已改 6),修完 14/14 绿;npm run smoke 改为 frame + table-core 两段串跑,AGENTS 门禁段补两段断言数量与用途",
|
||||
"domain": "tooling"
|
||||
},
|
||||
{
|
||||
"id": "g218",
|
||||
"title": "timePicker 未选值时两列停在此刻",
|
||||
"motivation": "没选过值时打开弹层,时列与分列都停在 00:00,用户要从头往下翻到当前时刻;而「选一个今天稍后的时间」正是最常见的用法,默认落点应该就近。",
|
||||
"acceptance": "reveal 增加 fallback 参数:有激活格仍滚激活格,无值时滚到当前小时 / 当前分钟档(分钟按 minuteStep 折算下标并钳在列长内);manifest 步骤文案同步;npm run check 全绿。",
|
||||
"status": "done",
|
||||
"notes": "reveal(col, cells, fallback) 三参:findIndex 到 is-active 就用它,否则退到 clamp(fallback, 0, len-1);打开时 fallback 取 new Date() 的 getHours() 与 floor(getMinutes()/step)(步长大于 1 时分列下标与分钟数不同,必须折算);manifest 步骤 2 同步「还没选过时停在此刻」;时间源用系统时钟不引额外状态,选中后仍以 value 为准",
|
||||
"domain": "tune"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user