From 88c2515f2edc1b6247ccf7b9d8ba005c757a4f93 Mon Sep 17 00:00:00 2001 From: HIsheR Date: Mon, 26 Oct 2026 15:18:37 +0800 Subject: [PATCH] =?UTF-8?q?chore(backlog):=20=E8=AE=B0=E5=BD=95=20g129=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 | 2 +- .ua/iterations.log | 1 + .ua/log-one.mjs | 13 +++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .ua/log-one.mjs diff --git a/.ua/backlog.json b/.ua/backlog.json index e1cd9ba..dd0c29b 100644 --- a/.ua/backlog.json +++ b/.ua/backlog.json @@ -1394,7 +1394,7 @@ "title": "新增排版文本组件 typography", "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 全绿", - "status": "open", + "status": "done", "notes": "自补:组件补充方向" }, { diff --git a/.ua/iterations.log b/.ua/iterations.log index 477629f..894ac45 100644 --- a/.ua/iterations.log +++ b/.ua/iterations.log @@ -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: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-26T15:18:37+08:00","id":"g129","result":"done","commit":"ea2a846","summary":"新增 typography 排版文本组件(标题 h1-h5/段落/行内 + 语义色/装饰位/对齐 + 多行截断 + 复制按钮),组件 60→61"} diff --git a/.ua/log-one.mjs b/.ua/log-one.mjs new file mode 100644 index 0000000..dbdc859 --- /dev/null +++ b/.ua/log-one.mjs @@ -0,0 +1,13 @@ +import { readFileSync, writeFileSync, appendFileSync } from 'node:fs'; + +// 用法:node .ua/log-one.mjs +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);