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,232 @@
{
"schema": "freecad-web-manual/capture/v1",
"generatedAt": "2026-11-22T05:16:14.169Z",
"chapter": "ch16",
"workflow": "shell-surfaces",
"scenario": "manual/scenarios/ch16-shell-surfaces.json",
"origin": "http://127.0.0.1:5183",
"ok": true,
"trace": [
{
"at": "2026-11-22T05:15:58.058Z",
"action": "goto",
"url": "/project.html?workbench=Part"
},
{
"at": "2026-11-22T05:15:59.019Z",
"action": "waitFor",
"selector": "select[aria-label=\"Workbench\"]",
"text": null
},
{
"at": "2026-11-22T05:16:00.559Z",
"action": "click",
"selector": "nav[aria-label=\"Application menus\"] details"
},
{
"at": "2026-11-22T05:16:01.256Z",
"action": "click",
"selector": "新建 Document"
},
{
"at": "2026-11-22T05:16:03.460Z",
"action": "eval"
},
{
"at": "2026-11-22T05:16:03.707Z",
"action": "shot",
"name": "01-shell-overview",
"bytes": 171653
},
{
"at": "2026-11-22T05:16:03.812Z",
"action": "click",
"selector": ".utility-menus > button"
},
{
"at": "2026-11-22T05:16:04.866Z",
"action": "shot",
"name": "02-tools-menu",
"bytes": 180408
},
{
"at": "2026-11-22T05:16:04.906Z",
"action": "click",
"selector": ".utility-menus .dropdown button"
},
{
"at": "2026-11-22T05:16:05.431Z",
"action": "shot",
"name": "03-preferences",
"bytes": 114360
},
{
"at": "2026-11-22T05:16:05.471Z",
"action": "click",
"selector": "[aria-label=\"Close preferences\"]"
},
{
"at": "2026-11-22T05:16:05.801Z",
"action": "click",
"selector": ".utility-menus > button"
},
{
"at": "2026-11-22T05:16:06.173Z",
"action": "click",
"selector": ".utility-menus .dropdown button"
},
{
"at": "2026-11-22T05:16:06.963Z",
"action": "shot",
"name": "04-shortcuts",
"bytes": 165340
},
{
"at": "2026-11-22T05:16:07.091Z",
"action": "click",
"selector": "[aria-label=\"Close shortcut editor\"]"
},
{
"at": "2026-11-22T05:16:07.421Z",
"action": "click",
"selector": ".utility-menus > button"
},
{
"at": "2026-11-22T05:16:07.673Z",
"action": "click",
"selector": ".utility-menus .dropdown button"
},
{
"at": "2026-11-22T05:16:08.365Z",
"action": "shot",
"name": "05-command-palette",
"bytes": 226289
},
{
"at": "2026-11-22T05:16:08.470Z",
"action": "click",
"selector": "[aria-label=\"Close command palette\"]"
},
{
"at": "2026-11-22T05:16:08.803Z",
"action": "click",
"selector": ".utility-menus > button"
},
{
"at": "2026-11-22T05:16:09.040Z",
"action": "click",
"selector": ".utility-menus .dropdown button"
},
{
"at": "2026-11-22T05:16:09.842Z",
"action": "shot",
"name": "06-bottom-dock",
"bytes": 181424
},
{
"at": "2026-11-22T05:16:10.029Z",
"action": "shot",
"name": "07-viewport-tools",
"bytes": 8241
},
{
"at": "2026-11-22T05:16:10.156Z",
"action": "click",
"selector": ".part-menu > summary"
},
{
"at": "2026-11-22T05:16:11.651Z",
"action": "click",
"selector": "details.part-submenu"
},
{
"at": "2026-11-22T05:16:12.018Z",
"action": "click",
"selector": "button[data-command=\"Part_Box\"]"
},
{
"at": "2026-11-22T05:16:13.612Z",
"action": "shot",
"name": "08-task-panel",
"bytes": 236882
},
{
"at": "2026-11-22T05:16:13.764Z",
"action": "click",
"selector": "Close task / Cancel"
},
{
"at": "2026-11-22T05:16:14.169Z",
"action": "assertVisible",
"selector": "select[aria-label=\"Workbench\"]"
}
],
"shots": [
{
"id": "ch16/shell-surfaces/01-shell-overview",
"file": "manual/assets/ch16/shell-surfaces/01-shell-overview.png",
"bytes": 171653,
"sha256": "18f11a96af5e5b7f6a4b6c6553be95c69c3fe28af3fbcff00659849d327a4039",
"fullPage": true,
"selector": null
},
{
"id": "ch16/shell-surfaces/02-tools-menu",
"file": "manual/assets/ch16/shell-surfaces/02-tools-menu.png",
"bytes": 180408,
"sha256": "98c67c1dff1032ed3360a8c96a34eca757777283fb07f9a741c68a60d8a1a7b9",
"fullPage": true,
"selector": null
},
{
"id": "ch16/shell-surfaces/03-preferences",
"file": "manual/assets/ch16/shell-surfaces/03-preferences.png",
"bytes": 114360,
"sha256": "7d55c10b014fa69fa2ff2082f8ccad6af83da662983f14b9afdcd3bdc31c9829",
"fullPage": false,
"selector": ".web-preferences"
},
{
"id": "ch16/shell-surfaces/04-shortcuts",
"file": "manual/assets/ch16/shell-surfaces/04-shortcuts.png",
"bytes": 165340,
"sha256": "d8138be9c16bb514e12e6af36a62257f06e0685d1a5b815ef304d8743598496f",
"fullPage": true,
"selector": null
},
{
"id": "ch16/shell-surfaces/05-command-palette",
"file": "manual/assets/ch16/shell-surfaces/05-command-palette.png",
"bytes": 226289,
"sha256": "a127339362c8becfa283670a172fdc7155177576388c2e837677e3fc38b7df39",
"fullPage": true,
"selector": null
},
{
"id": "ch16/shell-surfaces/06-bottom-dock",
"file": "manual/assets/ch16/shell-surfaces/06-bottom-dock.png",
"bytes": 181424,
"sha256": "c34a8dd58834b12ac4743f32a157bd56e72610f39d70838174873f0fe9831018",
"fullPage": true,
"selector": null
},
{
"id": "ch16/shell-surfaces/07-viewport-tools",
"file": "manual/assets/ch16/shell-surfaces/07-viewport-tools.png",
"bytes": 8241,
"sha256": "353359e662fb2577e69117c5881e5286d1aa49f117d5afdbc4d4588d3b3ae3a2",
"fullPage": false,
"selector": "[role=\"toolbar\"][aria-label=\"Object transform\"]"
},
{
"id": "ch16/shell-surfaces/08-task-panel",
"file": "manual/assets/ch16/shell-surfaces/08-task-panel.png",
"bytes": 236882,
"sha256": "a8a5790c58db705d10b542b550f6f0c6b901aa6922c694d13ba40a5ff95e999d",
"fullPage": true,
"selector": null
}
],
"pageErrors": [],
"consoleErrors": []
}