chore(backlog): 记录 g253 完成
This commit is contained in:
@@ -2663,6 +2663,15 @@
|
||||
"status": "done",
|
||||
"domain": "tooling",
|
||||
"notes": "实测 stdio 往返:text 字段直接是可读 Markdown;json 分支未变(老客户端无感)"
|
||||
},
|
||||
{
|
||||
"id": "g253",
|
||||
"title": "文档站组件卡加「复制参数表」按钮",
|
||||
"motivation": "人类读文档站想引用某个组件的参数表时只能手抄或截图;CLI/MCP 侧已经有 Markdown 口径(g246/g252),文档站却还用不上。",
|
||||
"acceptance": "文档站每个组件卡标题右侧加「复制参数表」按钮:点击生成与 ua info --md 同款 Markdown(标题 + 参数表 + 用法 + 示例,竖线转义),成功文案短暂变「已复制」;无 clipboard 权限时退回 textarea + execCommand;npm run check 全绿。",
|
||||
"status": "done",
|
||||
"domain": "tooling",
|
||||
"notes": "生成器本身是模板串,MD 里的三反引号围栏改用 String.fromCharCode(96) 拼,避免把模板串提前截断(第一版直接写裸反引号导致 ua.js 语法错误,已回滚重写);顺手用 node 取生成产物里的 mdOf 做了一次实际输出核对(含联合类型竖线转义)"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user