Files
FreeCADWasmDev/web/manual/data/capture/ch03-sketcher-constraints-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

155 lines
4.4 KiB
JSON

{
"schema": "freecad-web-manual/capture/v1",
"generatedAt": "2026-11-22T08:51:53.339Z",
"chapter": "ch03",
"workflow": "sketcher-constraints-panels",
"scenario": "manual/scenarios/ch03-sketcher-panels.json",
"origin": "http://127.0.0.1:5183",
"ok": true,
"trace": [
{
"at": "2026-11-22T08:51:40.243Z",
"action": "goto",
"url": "/partdesign.html"
},
{
"at": "2026-11-22T08:51:41.639Z",
"action": "click",
"selector": "新建文档"
},
{
"at": "2026-11-22T08:51:43.874Z",
"action": "click",
"selector": "新建 Body"
},
{
"at": "2026-11-22T08:51:46.110Z",
"action": "click",
"selector": "创建草图"
},
{
"at": "2026-11-22T08:51:47.539Z",
"action": "click",
"selector": "矩形"
},
{
"at": "2026-11-22T08:51:49.061Z",
"action": "waitFor",
"selector": "div.segmented[aria-label=\"Profile type\"]",
"text": null
},
{
"at": "2026-11-22T08:51:49.083Z",
"action": "assertAnyText",
"selector": "fieldset:has(div.segmented[aria-label=\"Profile type\"])",
"contains": "Width"
},
{
"at": "2026-11-22T08:51:49.257Z",
"action": "shot",
"name": "01-sketch-toolbar",
"bytes": 20523
},
{
"at": "2026-11-22T08:51:49.409Z",
"action": "click",
"selector": "几何与约束"
},
{
"at": "2026-11-22T08:51:50.330Z",
"action": "waitFor",
"selector": "fieldset:has(> legend:text-is(\"Constraint 1\"))",
"text": null
},
{
"at": "2026-11-22T08:51:50.756Z",
"action": "assertAnyText",
"selector": "fieldset:has(> legend:text-is(\"Constraint 1\"))",
"contains": "Coincident"
},
{
"at": "2026-11-22T08:51:51.166Z",
"action": "shot",
"name": "02-constraint-tools",
"bytes": 13012
},
{
"at": "2026-11-22T08:51:51.274Z",
"action": "click",
"selector": "Add sketch constraint"
},
{
"at": "2026-11-22T08:51:52.204Z",
"action": "waitFor",
"selector": "fieldset:has(> legend:text-is(\"Constraint 5\"))",
"text": null
},
{
"at": "2026-11-22T08:51:52.629Z",
"action": "assertAnyText",
"selector": "fieldset:has(> legend:text-is(\"Constraint 5\"))",
"contains": "Dimension name"
},
{
"at": "2026-11-22T08:51:52.882Z",
"action": "shot",
"name": "03-constraint-dialog",
"bytes": 13250
},
{
"at": "2026-11-22T08:51:52.891Z",
"action": "waitFor",
"selector": "dl.object-summary",
"text": null
},
{
"at": "2026-11-22T08:51:52.896Z",
"action": "assertAnyText",
"selector": "dl.object-summary",
"contains": "自由度"
},
{
"at": "2026-11-22T08:51:53.338Z",
"action": "shot",
"name": "04-sketch-status",
"bytes": 6221
}
],
"shots": [
{
"id": "ch03/sketcher-constraints-panels/01-sketch-toolbar",
"file": "manual/assets/ch03/sketcher-constraints-panels/01-sketch-toolbar.png",
"bytes": 20523,
"sha256": "05b9cbffb95674c674ecc35dafaa246c4042cc633f6ecc26fb13140a4b3241cf",
"fullPage": false,
"selector": "fieldset:has(div.segmented[aria-label=\"Profile type\"])"
},
{
"id": "ch03/sketcher-constraints-panels/02-constraint-tools",
"file": "manual/assets/ch03/sketcher-constraints-panels/02-constraint-tools.png",
"bytes": 13012,
"sha256": "d64266dddb001942955554d7f949e89c3a976018bf38976bf6bb76f26866a724",
"fullPage": false,
"selector": "fieldset:has(> legend:text-is(\"Constraint 1\"))"
},
{
"id": "ch03/sketcher-constraints-panels/03-constraint-dialog",
"file": "manual/assets/ch03/sketcher-constraints-panels/03-constraint-dialog.png",
"bytes": 13250,
"sha256": "4ea04685d9b9f829d57a68c619dab9b2ecd2c0bb36f9b0e0303348ca6ea82636",
"fullPage": false,
"selector": "fieldset:has(> legend:text-is(\"Constraint 5\"))"
},
{
"id": "ch03/sketcher-constraints-panels/04-sketch-status",
"file": "manual/assets/ch03/sketcher-constraints-panels/04-sketch-status.png",
"bytes": 6221,
"sha256": "e56e4b3939aa005a89ebf96b29709683dac954e91e165227689e1625012c650c",
"fullPage": false,
"selector": "dl.object-summary"
}
],
"pageErrors": [],
"consoleErrors": []
}