Files
FreeCADWasmDev/web/manual/data/capture/ch07-import-export-panels.json
wangdequan 300c8efb01 docs(web): full UI surface inventory, illustrated manual, panel screenshots
Interface design document and manual now share one authoritative surface
inventory (333 surfaces across 9 categories, gap 0), and every chapter carries
real Playwright screenshots of the panels it documents.

- tools/fcweb: ui-surface-scan/ui-surface-inventory (deterministic --check),
  build-ui-doc renders panel catalog, workbench matrix and mapping tables;
  blank toolbar crops (<1 KB) are skipped and pruned instead of embedded
- web/tools/manual: generate-panel-index (ch16), audit-ui-gaps,
  generate-final-status, generate-gaps-doc; pager is per-chapter so the manual
  no longer overflows horizontally
- manual: 130 screenshot references / 128 PNGs, panel sections for ch02-ch13
- web/src: utility menus stop click propagation (menu reopened on item click);
  workbench shell gains an OPFS document picker so workbench.html can bind a
  real document instead of the fixed workbench-document id; Sketcher panel
  moves from the command column to the main stage

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 01:30:31 +08:00

175 lines
4.7 KiB
JSON

{
"schema": "freecad-web-manual/capture/v1",
"generatedAt": "2026-11-22T08:56:17.136Z",
"chapter": "ch07",
"workflow": "import-export-panels",
"scenario": "manual/scenarios/ch07-import-export-panels.json",
"origin": "http://127.0.0.1:5183",
"ok": true,
"trace": [
{
"at": "2026-11-22T08:56:00.129Z",
"action": "goto",
"url": "/project.html"
},
{
"at": "2026-11-22T08:56:01.500Z",
"action": "waitFor",
"selector": "select[aria-label=\"Workbench\"]",
"text": null
},
{
"at": "2026-11-22T08:56:03.426Z",
"action": "click",
"selector": "nav[aria-label=\"Application menus\"] details"
},
{
"at": "2026-11-22T08:56:03.565Z",
"action": "click",
"selector": "新建 Document"
},
{
"at": "2026-11-22T08:56:05.774Z",
"action": "eval"
},
{
"at": "2026-11-22T08:56:05.844Z",
"action": "click",
"selector": "nav[aria-label=\"Application menus\"] details"
},
{
"at": "2026-11-22T08:56:05.950Z",
"action": "click",
"selector": "Open / import / export"
},
{
"at": "2026-11-22T08:56:05.958Z",
"action": "waitFor",
"selector": "details.file-tools",
"text": null
},
{
"at": "2026-11-22T08:56:06.965Z",
"action": "assertAnyText",
"selector": "details.file-tools",
"contains": "导出格式"
},
{
"at": "2026-11-22T08:56:07.855Z",
"action": "shot",
"name": "01-file-tools",
"bytes": 53974
},
{
"at": "2026-11-22T08:56:09.079Z",
"action": "save",
"name": "web_project_document_3.FCStd",
"bytes": 1041,
"status": "No objects"
},
{
"at": "2026-11-22T08:56:09.082Z",
"action": "eval"
},
{
"at": "2026-11-22T08:56:09.663Z",
"action": "shot",
"name": "02-opfs-browser",
"bytes": 106080
},
{
"at": "2026-11-22T08:56:09.933Z",
"action": "goto",
"url": "/project.html"
},
{
"at": "2026-11-22T08:56:10.122Z",
"action": "waitFor",
"selector": "select[aria-label=\"Workbench\"]",
"text": null
},
{
"at": "2026-11-22T08:56:11.396Z",
"action": "select",
"selector": "select[aria-label=\"Workbench\"]",
"label": "Import"
},
{
"at": "2026-11-22T08:56:13.210Z",
"action": "waitFor",
"selector": "aside:has-text(\"Import commands\")",
"text": null
},
{
"at": "2026-11-22T08:56:13.218Z",
"action": "assertAnyText",
"selector": "aside:has-text(\"Import commands\")",
"contains": "GUI / Web matrix"
},
{
"at": "2026-11-22T08:56:13.444Z",
"action": "shot",
"name": "03-import-commands",
"bytes": 72964
},
{
"at": "2026-11-22T08:56:13.531Z",
"action": "click",
"selector": "button[data-command=\"import.pythonApi\"]"
},
{
"at": "2026-11-22T08:56:13.982Z",
"action": "click",
"selector": "执行选中命令"
},
{
"at": "2026-11-22T08:56:16.988Z",
"action": "assertAnyText",
"selector": "section:has-text(\"统一命令结果\")",
"contains": "native command complete"
},
{
"at": "2026-11-22T08:56:17.136Z",
"action": "shot",
"name": "04-import-result",
"bytes": 80097
}
],
"shots": [
{
"id": "ch07/import-export-panels/01-file-tools",
"file": "manual/assets/ch07/import-export-panels/01-file-tools.png",
"bytes": 53974,
"sha256": "397c13637e03ce53caea4f53b8160ae06748c2c4a494e42a011ebf8580a45932",
"fullPage": false,
"selector": "details.file-tools"
},
{
"id": "ch07/import-export-panels/02-opfs-browser",
"file": "manual/assets/ch07/import-export-panels/02-opfs-browser.png",
"bytes": 106080,
"sha256": "9d8f0abc23bc08f3912370a67d2a2054c462a373a6c0876e7df0fd6b8d343dc3",
"fullPage": false,
"selector": null
},
{
"id": "ch07/import-export-panels/03-import-commands",
"file": "manual/assets/ch07/import-export-panels/03-import-commands.png",
"bytes": 72964,
"sha256": "cac3715c07468f3b3d0adf92df981ae0201029b6c536bf51af292dabaa45c418",
"fullPage": false,
"selector": "aside:has-text(\"Import commands\")"
},
{
"id": "ch07/import-export-panels/04-import-result",
"file": "manual/assets/ch07/import-export-panels/04-import-result.png",
"bytes": 80097,
"sha256": "3cac395ff22204256155cf616cf587807dab7e01bf5617de91f08974bc926ee6",
"fullPage": false,
"selector": "section:has-text(\"统一命令结果\")"
}
],
"pageErrors": [],
"consoleErrors": []
}