chore(backlog): 记录 g129 完成

This commit is contained in:
HIsheR
2026-10-26 15:18:37 +08:00
parent ea2a846734
commit 88c2515f2e
3 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -1394,7 +1394,7 @@
"title": "新增排版文本组件 typography", "title": "新增排版文本组件 typography",
"motivation": "文档类页面(详情、说明、条款)目前只能手搓 h/p + 内联样式,标题层级、语义色、多行省略、复制都没有统一入口", "motivation": "文档类页面(详情、说明、条款)目前只能手搓 h/p + 内联样式,标题层级、语义色、多行省略、复制都没有统一入口",
"acceptance": "typography 支持 variant(title/text/paragraph) + level + type + 装饰位(strong/underline/delete/mark/code) + align + ellipsis 多行截断 + copyable;标题出语义 h1-h5;样式只消费 --ua-*;manifest/docs/README/demo/llms-full 同步;npm run check 全绿", "acceptance": "typography 支持 variant(title/text/paragraph) + level + type + 装饰位(strong/underline/delete/mark/code) + align + ellipsis 多行截断 + copyable;标题出语义 h1-h5;样式只消费 --ua-*;manifest/docs/README/demo/llms-full 同步;npm run check 全绿",
"status": "open", "status": "done",
"notes": "自补:组件补充方向" "notes": "自补:组件补充方向"
}, },
{ {
+1
View File
@@ -173,3 +173,4 @@
{"ts":"2026-10-26T14:49:32+08:00","id":"g126","result":"done","commit":"023a2eb","summary":"inputNumber 补 precision 小数位(toFixed 归一,消除步进浮点尾差)"} {"ts":"2026-10-26T14:49:32+08:00","id":"g126","result":"done","commit":"023a2eb","summary":"inputNumber 补 precision 小数位(toFixed 归一,消除步进浮点尾差)"}
{"ts":"2026-10-26T14:51:40+08:00","id":"g127","result":"done","commit":"48b0f35","summary":"recipes 补配方 6:长表单编辑页(吸底操作条 + 提交三处锁定)"} {"ts":"2026-10-26T14:51:40+08:00","id":"g127","result":"done","commit":"48b0f35","summary":"recipes 补配方 6:长表单编辑页(吸底操作条 + 提交三处锁定)"}
{"ts":"2026-10-26T14:52:25+08:00","id":"g128","result":"done","commit":"b399640","summary":"收尾刷新 CHANGELOG(329 提交),顺带提交 g127 漏带的 llms-full.txt"} {"ts":"2026-10-26T14:52:25+08:00","id":"g128","result":"done","commit":"b399640","summary":"收尾刷新 CHANGELOG(329 提交),顺带提交 g127 漏带的 llms-full.txt"}
{"ts":"2026-10-26T15:18:37+08:00","id":"g129","result":"done","commit":"ea2a846","summary":"新增 typography 排版文本组件(标题 h1-h5/段落/行内 + 语义色/装饰位/对齐 + 多行截断 + 复制按钮),组件 60→61"}
+13
View File
@@ -0,0 +1,13 @@
import { readFileSync, writeFileSync, appendFileSync } from 'node:fs';
// 用法:node .ua/log-one.mjs <id> <commit> <result> <summary> <ts>
const [id, commit, result, summary, ts] = process.argv.slice(2);
const b = JSON.parse(readFileSync('.ua/backlog.json', 'utf8'));
const item = b.items.find((i) => i.id === id);
if (item) item.status = result === 'done' ? 'done' : 'open'; // 失败保持 open
writeFileSync('.ua/backlog.json', JSON.stringify(b, null, 2) + '\n', 'utf8');
// 留痕行:字段顺序固定 ts/id/result/commit/summary,ts 由 date 命令实测传入
appendFileSync('.ua/iterations.log', JSON.stringify({ ts, id, result, commit, summary }) + '\n', 'utf8');
console.log('logged', id, result, commit, ts);