Files
FreeCADWasmDev/web/manual/scenarios/ch11-techdraw-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

125 lines
2.6 KiB
JSON

{
"schema": "freecad-web-manual/scenario/v1",
"chapter": "ch11",
"workflow": "techdraw-task-panels",
"title": "TechDraw task panels",
"actions": [
{
"type": "goto",
"url": "/workbench.html?module=TechDraw&command=TechDraw_PageDefault"
},
{
"type": "waitFor",
"selector": "fieldset:has-text(\"Hatches\")",
"timeout": 120000
},
{
"type": "wait",
"ms": 3000
},
{
"type": "shot",
"name": "01-page-default",
"fullPage": true
},
{
"type": "goto",
"url": "/workbench.html?module=TechDraw&command=TechDraw_View"
},
{
"type": "waitFor",
"selector": "fieldset:has-text(\"工程图视图\")",
"timeout": 120000
},
{
"type": "fill",
"selector": "input[aria-label=\"投影页面\"]",
"value": "Page"
},
{
"type": "fill",
"selector": "input[aria-label=\"投影方向 X\"]",
"value": "0"
},
{
"type": "fill",
"selector": "input[aria-label=\"投影方向 Y\"]",
"value": "-1"
},
{
"type": "fill",
"selector": "input[aria-label=\"投影方向 Z\"]",
"value": "0"
},
{
"type": "fill",
"selector": "input[aria-label=\"投影比例\"]",
"value": "1"
},
{
"type": "wait",
"ms": 800
},
{
"type": "shot",
"name": "02-view-task-fields",
"selector": "fieldset:has-text(\"工程图视图\")"
},
{
"type": "click",
"role": "button",
"name": "创建视图",
"exact": true
},
{
"type": "waitFor",
"text": "Select source objects in the current document",
"timeout": 30000
},
{
"type": "wait",
"ms": 800
},
{
"type": "shot",
"name": "03-view-create-boundary",
"fullPage": true
},
{
"type": "goto",
"url": "/workbench.html?module=TechDraw&command=TechDraw_SectionView"
},
{
"type": "waitFor",
"selector": "section[aria-label=\"TechDraw Section View task\"]",
"timeout": 120000
},
{
"type": "wait",
"ms": 2500
},
{
"type": "shot",
"name": "04-section-view",
"selector": "section[aria-label=\"TechDraw Section View task\"]"
},
{
"type": "goto",
"url": "/workbench.html?module=TechDraw&command=TechDraw_ProjectionGroup"
},
{
"type": "waitFor",
"selector": "section[aria-label=\"Projection Group task\"]",
"timeout": 120000
},
{
"type": "wait",
"ms": 2500
},
{
"type": "shot",
"name": "05-projection-group"
}
]
}