Files
FreeCADWasmDev/web/manual/data/capture/ch02-part-task-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

285 lines
7.6 KiB
JSON

{
"schema": "freecad-web-manual/capture/v1",
"generatedAt": "2026-11-22T08:47:22.770Z",
"chapter": "ch02",
"workflow": "part-task-panels",
"scenario": "manual/scenarios/ch02-part-panels.json",
"origin": "http://127.0.0.1:5183",
"ok": true,
"trace": [
{
"at": "2026-11-22T08:47:01.795Z",
"action": "goto",
"url": "/project.html?workbench=Part"
},
{
"at": "2026-11-22T08:47:03.308Z",
"action": "waitFor",
"selector": "select[aria-label=\"Workbench\"]",
"text": null
},
{
"at": "2026-11-22T08:47:04.535Z",
"action": "click",
"selector": "nav[aria-label=\"Application menus\"] details"
},
{
"at": "2026-11-22T08:47:04.867Z",
"action": "click",
"selector": "新建 Document"
},
{
"at": "2026-11-22T08:47:06.870Z",
"action": "eval"
},
{
"at": "2026-11-22T08:47:06.978Z",
"action": "click",
"selector": "button[data-command=\"Part_Box\"] >> visible=true"
},
{
"at": "2026-11-22T08:47:08.427Z",
"action": "click",
"selector": ".fc-tree-text"
},
{
"at": "2026-11-22T08:47:08.745Z",
"action": "fill",
"selector": "input[aria-label=\"Length\"]",
"value": 80
},
{
"at": "2026-11-22T08:47:08.769Z",
"action": "fill",
"selector": "input[aria-label=\"Width\"]",
"value": 60
},
{
"at": "2026-11-22T08:47:08.795Z",
"action": "fill",
"selector": "input[aria-label=\"Height\"]",
"value": 20
},
{
"at": "2026-11-22T08:47:08.911Z",
"action": "click",
"selector": "应用尺寸并重算"
},
{
"at": "2026-11-22T08:47:10.153Z",
"action": "click",
"selector": "Close task / Cancel"
},
{
"at": "2026-11-22T08:47:10.753Z",
"action": "click",
"selector": "button[data-command=\"Part_Builder\"] >> visible=true"
},
{
"at": "2026-11-22T08:47:10.761Z",
"action": "waitFor",
"selector": "section[aria-label=\"Shape builder\"]",
"text": null
},
{
"at": "2026-11-22T08:47:11.273Z",
"action": "assertVisible",
"selector": "section[aria-label=\"Shape builder\"]"
},
{
"at": "2026-11-22T08:47:12.035Z",
"action": "shot",
"name": "01-shape-builder",
"bytes": 26533
},
{
"at": "2026-11-22T08:47:12.113Z",
"action": "click",
"selector": "Close task / Cancel"
},
{
"at": "2026-11-22T08:47:12.668Z",
"action": "click",
"selector": ".fc-tree-text"
},
{
"at": "2026-11-22T08:47:13.052Z",
"action": "click",
"selector": "button[data-command=\"Part_Fillet\"] >> visible=true"
},
{
"at": "2026-11-22T08:47:13.059Z",
"action": "waitFor",
"selector": "section[aria-label=\"Fillet task\"]",
"text": null
},
{
"at": "2026-11-22T08:47:13.665Z",
"action": "assertAnyText",
"selector": "section[aria-label=\"Fillet task\"]",
"contains": "Fillet"
},
{
"at": "2026-11-22T08:47:13.947Z",
"action": "shot",
"name": "02-fillet",
"bytes": 24631
},
{
"at": "2026-11-22T08:47:14.034Z",
"action": "click",
"selector": "Close task / Cancel"
},
{
"at": "2026-11-22T08:47:14.577Z",
"action": "click",
"selector": ".fc-tree-text"
},
{
"at": "2026-11-22T08:47:14.971Z",
"action": "click",
"selector": "button[data-command=\"Part_Chamfer\"] >> visible=true"
},
{
"at": "2026-11-22T08:47:14.978Z",
"action": "waitFor",
"selector": "section[aria-label=\"Chamfer task\"]",
"text": null
},
{
"at": "2026-11-22T08:47:15.597Z",
"action": "assertAnyText",
"selector": "section[aria-label=\"Chamfer task\"]",
"contains": "Chamfer"
},
{
"at": "2026-11-22T08:47:15.774Z",
"action": "shot",
"name": "03-chamfer",
"bytes": 25802
},
{
"at": "2026-11-22T08:47:15.918Z",
"action": "click",
"selector": "Close task / Cancel"
},
{
"at": "2026-11-22T08:47:16.497Z",
"action": "click",
"selector": "button[data-command=\"Part_Boolean\"] >> visible=true"
},
{
"at": "2026-11-22T08:47:16.512Z",
"action": "waitFor",
"selector": "fieldset.primitive-editor:has-text(\"布尔运算\")",
"text": null
},
{
"at": "2026-11-22T08:47:17.019Z",
"action": "assertAnyText",
"selector": "fieldset.primitive-editor:has-text(\"布尔运算\")",
"contains": "Base"
},
{
"at": "2026-11-22T08:47:17.203Z",
"action": "shot",
"name": "04-boolean",
"bytes": 10245
},
{
"at": "2026-11-22T08:47:17.325Z",
"action": "click",
"selector": "Close task / Cancel"
},
{
"at": "2026-11-22T08:47:17.863Z",
"action": "click",
"selector": ".fc-tree-text"
},
{
"at": "2026-11-22T08:47:18.233Z",
"action": "click",
"selector": "button[data-command=\"Part_CheckGeometry\"] >> visible=true"
},
{
"at": "2026-11-22T08:47:18.242Z",
"action": "waitFor",
"selector": "section[aria-label=\"Check geometry task\"]",
"text": null
},
{
"at": "2026-11-22T08:47:18.814Z",
"action": "click",
"selector": "Check shapes"
},
{
"at": "2026-11-22T08:47:20.824Z",
"action": "assertAnyText",
"selector": "section[aria-label=\"Check geometry task\"]",
"contains": "Valid"
},
{
"at": "2026-11-22T08:47:20.962Z",
"action": "shot",
"name": "05-check-geometry",
"bytes": 19664
},
{
"at": "2026-11-22T08:47:21.040Z",
"action": "click",
"selector": "Close task / Cancel"
},
{
"at": "2026-11-22T08:47:22.770Z",
"action": "save",
"name": "web_project_document_3.FCStd",
"bytes": 2552,
"status": "Saved web_project_document_3.FCStd to OPFS (2552 bytes)"
}
],
"shots": [
{
"id": "ch02/part-task-panels/01-shape-builder",
"file": "manual/assets/ch02/part-task-panels/01-shape-builder.png",
"bytes": 26533,
"sha256": "88fa3e81ca8a8d636bac70c485b6a73030bce693fe5e9fd7f4518c6153a8250a",
"fullPage": false,
"selector": "section[aria-label=\"Shape builder\"]"
},
{
"id": "ch02/part-task-panels/02-fillet",
"file": "manual/assets/ch02/part-task-panels/02-fillet.png",
"bytes": 24631,
"sha256": "cf5b50ac6f00ff44b9e87de82856000c9e6785b0cdb72fa32bbdc18adb216133",
"fullPage": false,
"selector": "section[aria-label=\"Fillet task\"]"
},
{
"id": "ch02/part-task-panels/03-chamfer",
"file": "manual/assets/ch02/part-task-panels/03-chamfer.png",
"bytes": 25802,
"sha256": "009c8cdb52ca9d5a43c848101d5744296e651ff7d200165361e302bf243880ea",
"fullPage": false,
"selector": "section[aria-label=\"Chamfer task\"]"
},
{
"id": "ch02/part-task-panels/04-boolean",
"file": "manual/assets/ch02/part-task-panels/04-boolean.png",
"bytes": 10245,
"sha256": "65d6e854510f3c4677c2e1866859b4bcd5755b5b70f7f213380cb1245b351892",
"fullPage": false,
"selector": "fieldset.primitive-editor:has-text(\"布尔运算\")"
},
{
"id": "ch02/part-task-panels/05-check-geometry",
"file": "manual/assets/ch02/part-task-panels/05-check-geometry.png",
"bytes": 19664,
"sha256": "1e356d757cec1a90631433e2301a01d3113e87312d2325337d3aca1ff5b6a5a7",
"fullPage": false,
"selector": "section[aria-label=\"Check geometry task\"]"
}
],
"pageErrors": [],
"consoleErrors": []
}