docs: record the UI verification workflow and its limits
- AGENTS §3: UI/GUI verification must be run by the user via ui-smoke.cmd; the DSH sandbox blocks named pipes so WebView2 cannot start, and Rust->JS calls have no compiler check. - HANDOFF §4.1: canonical description (why the sandbox fails, the script flow, the report/screenshot outputs, when to run it, maintenance notes). - STATUS §12: current verification matrix; README: command.
This commit is contained in:
@@ -221,3 +221,10 @@ cargo test
|
||||
- 下一步(讨论中,未动手):编辑区样式化——加粗、标题加粗加大、行内代码换字体。
|
||||
- 技术前提:`<textarea>` 不支持字符级样式;改字号会改变软换行与光标位置,透明叠加层只适合“同字号”样式。
|
||||
- 候选:A 透明 textarea + 样式层(只能同字号);B 自研 contenteditable 行编辑器;C 内嵌 CodeMirror 5(单文件、离线、约 +280 KB)。倾向 C,待用户确认体积与交互取舍。
|
||||
|
||||
## 12. 测试与验证(2026-11-04 起)
|
||||
|
||||
- 代码级:`cargo test`(当前 60)、`cargo clippy --all-targets`、`cargo fmt -- --check`、`agent\scripts\build.ps1`。
|
||||
- UI 级:**只能由用户**在桌面 PowerShell 运行 `agent\tests\ui-smoke.cmd`;Agent 读 `target\ui-test\ui-smoke.json` + `ui-smoke.png`。原因与流程见 `HANDOFF.md` §4.1(DSH 沙箱禁止命名管道,WebView2 无法启动)。
|
||||
- 边界:Rust→JS 调用没有编译器检查;改参数必须同步页面签名,并保留 `set_content_script_matches_the_page_signature` 这类测试。
|
||||
- 已验证(2026-11-04):ui-smoke 8/8 checks,截图确认页面正常渲染。
|
||||
|
||||
Reference in New Issue
Block a user