chore(backlog): 记录 g238 完成

This commit is contained in:
HIsheR
2026-10-26 21:35:34 +08:00
parent 226271986e
commit 9e85ef3f12
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2528,6 +2528,15 @@
"status": "done",
"domain": "new",
"notes": "组件 73→74;实现 10 行(h() 纯声明式拼接,无状态);键帽高度走 --ua-control-h-sm 档、字号 sm 档,零新增视觉字面量;demo 与命令面板快捷键说明混排;check 全绿"
},
{
"id": "g238",
"title": "新增 highlight 关键词高亮组件(组件 74→75)",
"motivation": "搜索结果 / 补全列表 / 帮助文档都高频需要「命中片段高亮」,此前业务各自 indexOf 切串包 span,样式与刷新逻辑散落各处。",
"acceptance": "命中片段包进 mark(大小写不敏感、全部命中、首尾空白忽略);text / keyword 均接受信号响应式重画;空关键词原样展示;高亮淡底只消费 --ua-* 令牌;十处落点齐全,npm run check 全绿。",
"status": "done",
"domain": "new",
"notes": "组件 74→75;单 effect 追踪两个信号(render 内统一取值,依赖自动收集);淡底走警示黄 --ua-alpha-tint 混色 + mark 语义标签;demo 与 textField 联动演示实时高亮;check 全绿"
}
]
}