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>
This commit is contained in:
2026-11-23 01:30:31 +08:00
parent 3c2c623f70
commit 300c8efb01
180 changed files with 27036 additions and 4185 deletions

View File

@@ -0,0 +1,170 @@
{
"schema": "freecad-web-manual/capture/v1",
"generatedAt": "2026-11-22T11:02:51.002Z",
"chapter": "ch11",
"workflow": "techdraw-task-panels",
"scenario": "manual/scenarios/ch11-techdraw-panels.json",
"origin": "http://127.0.0.1:5183",
"ok": true,
"trace": [
{
"at": "2026-11-22T11:02:38.068Z",
"action": "goto",
"url": "/workbench.html?module=TechDraw&command=TechDraw_PageDefault"
},
{
"at": "2026-11-22T11:02:38.317Z",
"action": "waitFor",
"selector": "fieldset:has-text(\"Hatches\")",
"text": null
},
{
"at": "2026-11-22T11:02:42.387Z",
"action": "shot",
"name": "01-page-default",
"bytes": 324139
},
{
"at": "2026-11-22T11:02:42.550Z",
"action": "goto",
"url": "/workbench.html?module=TechDraw&command=TechDraw_View"
},
{
"at": "2026-11-22T11:02:42.680Z",
"action": "waitFor",
"selector": "fieldset:has-text(\"工程图视图\")",
"text": null
},
{
"at": "2026-11-22T11:02:42.728Z",
"action": "fill",
"selector": "input[aria-label=\"投影页面\"]",
"value": "Page"
},
{
"at": "2026-11-22T11:02:42.763Z",
"action": "fill",
"selector": "input[aria-label=\"投影方向 X\"]",
"value": "0"
},
{
"at": "2026-11-22T11:02:42.797Z",
"action": "fill",
"selector": "input[aria-label=\"投影方向 Y\"]",
"value": "-1"
},
{
"at": "2026-11-22T11:02:42.824Z",
"action": "fill",
"selector": "input[aria-label=\"投影方向 Z\"]",
"value": "0"
},
{
"at": "2026-11-22T11:02:42.839Z",
"action": "fill",
"selector": "input[aria-label=\"投影比例\"]",
"value": "1"
},
{
"at": "2026-11-22T11:02:43.844Z",
"action": "shot",
"name": "02-view-task-fields",
"bytes": 17964
},
{
"at": "2026-11-22T11:02:43.965Z",
"action": "click",
"selector": "创建视图"
},
{
"at": "2026-11-22T11:02:43.979Z",
"action": "waitFor",
"selector": null,
"text": "Select source objects in the current document"
},
{
"at": "2026-11-22T11:02:45.114Z",
"action": "shot",
"name": "03-view-create-boundary",
"bytes": 363331
},
{
"at": "2026-11-22T11:02:45.285Z",
"action": "goto",
"url": "/workbench.html?module=TechDraw&command=TechDraw_SectionView"
},
{
"at": "2026-11-22T11:02:45.382Z",
"action": "waitFor",
"selector": "section[aria-label=\"TechDraw Section View task\"]",
"text": null
},
{
"at": "2026-11-22T11:02:48.004Z",
"action": "shot",
"name": "04-section-view",
"bytes": 32393
},
{
"at": "2026-11-22T11:02:48.147Z",
"action": "goto",
"url": "/workbench.html?module=TechDraw&command=TechDraw_ProjectionGroup"
},
{
"at": "2026-11-22T11:02:48.252Z",
"action": "waitFor",
"selector": "section[aria-label=\"Projection Group task\"]",
"text": null
},
{
"at": "2026-11-22T11:02:51.002Z",
"action": "shot",
"name": "05-projection-group",
"bytes": 183019
}
],
"shots": [
{
"id": "ch11/techdraw-task-panels/01-page-default",
"file": "manual/assets/ch11/techdraw-task-panels/01-page-default.png",
"bytes": 324139,
"sha256": "3396b8a7b8e36e8d01dc37de6c647ad90ca0e0437a004c48a40161c625509781",
"fullPage": true,
"selector": null
},
{
"id": "ch11/techdraw-task-panels/02-view-task-fields",
"file": "manual/assets/ch11/techdraw-task-panels/02-view-task-fields.png",
"bytes": 17964,
"sha256": "eaaed30da6a3ede9b04ed3d21e98bd7d7a7b204a8224cf00b35d9d8678dbc2f3",
"fullPage": false,
"selector": "fieldset:has-text(\"工程图视图\")"
},
{
"id": "ch11/techdraw-task-panels/03-view-create-boundary",
"file": "manual/assets/ch11/techdraw-task-panels/03-view-create-boundary.png",
"bytes": 363331,
"sha256": "1feeec5ebee1d4f5add63d94822de87fabd5c2c035d6a4b1c4d0b53e31ba5ca6",
"fullPage": true,
"selector": null
},
{
"id": "ch11/techdraw-task-panels/04-section-view",
"file": "manual/assets/ch11/techdraw-task-panels/04-section-view.png",
"bytes": 32393,
"sha256": "7b917ed4a3f71c65661bba57fe5bff92775fae54c929d49d99c98611cb9a407f",
"fullPage": false,
"selector": "section[aria-label=\"TechDraw Section View task\"]"
},
{
"id": "ch11/techdraw-task-panels/05-projection-group",
"file": "manual/assets/ch11/techdraw-task-panels/05-projection-group.png",
"bytes": 183019,
"sha256": "1fa983273ba548e93297db736a62cdb82f73e5f2f0a916a99722fe482b281e35",
"fullPage": false,
"selector": null
}
],
"pageErrors": [],
"consoleErrors": []
}