fix: address phase two review and theme benchmark page
This commit is contained in:
@@ -0,0 +1,164 @@
|
||||
[
|
||||
{
|
||||
"theme": "light",
|
||||
"errors": [],
|
||||
"overflow": false,
|
||||
"colors": {
|
||||
"panel": {
|
||||
"background": "rgb(255, 255, 255)",
|
||||
"color": "rgb(31, 35, 40)",
|
||||
"border": "rgb(228, 231, 235)"
|
||||
},
|
||||
"input": {
|
||||
"background": "rgb(255, 255, 255)",
|
||||
"color": "rgb(31, 35, 40)",
|
||||
"border": "rgb(102, 113, 241)"
|
||||
},
|
||||
"button": {
|
||||
"background": "rgb(91, 103, 241)",
|
||||
"color": "rgb(255, 255, 255)",
|
||||
"border": "rgba(0, 0, 0, 0)"
|
||||
},
|
||||
"metric": {
|
||||
"background": "rgb(247, 248, 250)",
|
||||
"color": "rgb(31, 35, 40)",
|
||||
"border": "rgb(228, 231, 235)"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"theme": "dark",
|
||||
"errors": [],
|
||||
"overflow": false,
|
||||
"colors": {
|
||||
"panel": {
|
||||
"background": "rgb(22, 27, 34)",
|
||||
"color": "rgb(230, 237, 243)",
|
||||
"border": "rgb(48, 54, 61)"
|
||||
},
|
||||
"input": {
|
||||
"background": "rgb(21, 26, 33)",
|
||||
"color": "rgb(230, 237, 243)",
|
||||
"border": "rgb(116, 129, 231)"
|
||||
},
|
||||
"button": {
|
||||
"background": "rgb(125, 139, 255)",
|
||||
"color": "rgb(13, 17, 23)",
|
||||
"border": "rgba(0, 0, 0, 0)"
|
||||
},
|
||||
"metric": {
|
||||
"background": "rgb(22, 27, 34)",
|
||||
"color": "rgb(230, 237, 243)",
|
||||
"border": "rgb(48, 54, 61)"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"theme": "sepia",
|
||||
"errors": [],
|
||||
"overflow": false,
|
||||
"colors": {
|
||||
"panel": {
|
||||
"background": "rgb(255, 248, 232)",
|
||||
"color": "rgb(64, 55, 43)",
|
||||
"border": "rgb(221, 207, 173)"
|
||||
},
|
||||
"input": {
|
||||
"background": "rgb(255, 247, 231)",
|
||||
"color": "rgb(64, 55, 43)",
|
||||
"border": "rgb(148, 105, 65)"
|
||||
},
|
||||
"button": {
|
||||
"background": "rgb(138, 91, 50)",
|
||||
"color": "rgb(255, 255, 255)",
|
||||
"border": "rgba(0, 0, 0, 0)"
|
||||
},
|
||||
"metric": {
|
||||
"background": "rgb(244, 232, 202)",
|
||||
"color": "rgb(64, 55, 43)",
|
||||
"border": "rgb(221, 207, 173)"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"theme": "paper-moments",
|
||||
"errors": [],
|
||||
"overflow": false,
|
||||
"colors": {
|
||||
"panel": {
|
||||
"background": "rgb(255, 253, 245)",
|
||||
"color": "rgb(73, 63, 53)",
|
||||
"border": "rgb(181, 166, 147)"
|
||||
},
|
||||
"input": {
|
||||
"background": "rgb(254, 251, 243)",
|
||||
"color": "rgb(73, 63, 53)",
|
||||
"border": "rgb(147, 105, 88)"
|
||||
},
|
||||
"button": {
|
||||
"background": "rgb(134, 82, 66)",
|
||||
"color": "rgb(255, 253, 245)",
|
||||
"border": "rgba(0, 0, 0, 0)"
|
||||
},
|
||||
"metric": {
|
||||
"background": "rgb(243, 238, 227)",
|
||||
"color": "rgb(73, 63, 53)",
|
||||
"border": "rgb(181, 166, 147)"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"theme": "ocean-blue",
|
||||
"errors": [],
|
||||
"overflow": false,
|
||||
"colors": {
|
||||
"panel": {
|
||||
"background": "rgb(255, 255, 255)",
|
||||
"color": "rgb(30, 41, 59)",
|
||||
"border": "rgb(226, 232, 240)"
|
||||
},
|
||||
"input": {
|
||||
"background": "rgb(255, 255, 255)",
|
||||
"color": "rgb(30, 41, 59)",
|
||||
"border": "rgb(27, 133, 189)"
|
||||
},
|
||||
"button": {
|
||||
"background": "rgb(0, 118, 181)",
|
||||
"color": "rgb(255, 255, 255)",
|
||||
"border": "rgba(0, 0, 0, 0)"
|
||||
},
|
||||
"metric": {
|
||||
"background": "rgb(248, 250, 252)",
|
||||
"color": "rgb(30, 41, 59)",
|
||||
"border": "rgb(226, 232, 240)"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"theme": "midnight-purple",
|
||||
"errors": [],
|
||||
"overflow": false,
|
||||
"colors": {
|
||||
"panel": {
|
||||
"background": "rgb(36, 40, 59)",
|
||||
"color": "rgb(192, 202, 245)",
|
||||
"border": "rgb(59, 63, 92)"
|
||||
},
|
||||
"input": {
|
||||
"background": "rgb(34, 38, 55)",
|
||||
"color": "rgb(192, 202, 245)",
|
||||
"border": "rgb(139, 75, 197)"
|
||||
},
|
||||
"button": {
|
||||
"background": "rgb(156, 77, 220)",
|
||||
"color": "rgb(26, 27, 38)",
|
||||
"border": "rgba(0, 0, 0, 0)"
|
||||
},
|
||||
"metric": {
|
||||
"background": "rgb(36, 40, 59)",
|
||||
"color": "rgb(192, 202, 245)",
|
||||
"border": "rgb(59, 63, 92)"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,24 @@
|
||||
# 第二阶段审阅修复与主题适配
|
||||
|
||||
日期:2026-09-07。工作目录:`G:/OSProject/NotesAgent`,分支:`feat/phase2-completion`。
|
||||
|
||||
## 修复内容
|
||||
|
||||
- DOCX 静态图同时受页面可用宽度和高度约束,保留比例,避免长图超出页面;覆盖 A4、Letter 的横图与长图。
|
||||
- Agent 参数评分改为最大一对一匹配,避免宽泛参数预期抢占唯一满足具体参数预期的调用;同一调用不可重复计分。
|
||||
- 导出提交期间取消会在收到任务 ID 后取消后台任务,并读取实际状态。已经完成、失败或取消请求失败时如实显示结果。
|
||||
- Mermaid 围栏识别统一支持大小写和附加信息,包括 `Mermaid`、`mermaid title="Flow"`。
|
||||
- Benchmark 页接入共享页面、面板、表单、按钮、状态和主题变量,补充空状态、中文状态、指标格式及窄屏布局;同步更新执行轨迹浏览器检查的定位文字。
|
||||
|
||||
## 验证
|
||||
|
||||
- 后端:867 passed;1 条既有 Starlette/httpx 弃用警告。
|
||||
- 前端:81 个测试文件、445 项测试通过。
|
||||
- 前端生产构建通过;仍有较大分包提示。
|
||||
- 六主题:light、dark、sepia、paper-moments、ocean-blue、midnight-purple。分别生成空状态、报告、窄屏记录、窄屏报告截图,共 24 张;页面脚本错误与窄屏页面横向溢出均为零。
|
||||
- 主题检查脚本:`frontend/scripts/benchmark-theme-check.cjs`。需先在 5189 端口启动 Vite,并提供 Playwright 与 Edge。接口全部使用拦截测试数据,未调用模型,也不代表真实评测质量。
|
||||
- 主题检查结果:`evidence/phase2-review-20260907/theme-results.json`;完整本机截图与测试日志在 `.local-plans/phase2-review/`。
|
||||
|
||||
DOCX 本次验证包括文档内部图片尺寸和比例;未进行 Word/LibreOffice 排版截图验证。此前真实模型验收记录仍以《第二阶段收尾实现与验收-2026-09-07》为准。
|
||||
|
||||
用户已有的三份笔记修改未纳入此次修复提交。
|
||||
Reference in New Issue
Block a user