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>
176 lines
3.7 KiB
JSON
176 lines
3.7 KiB
JSON
{
|
|
"schema": "freecad-web-manual/scenario/v1",
|
|
"chapter": "ch13",
|
|
"workflow": "specialist-task-panels",
|
|
"title": "Specialist task panels",
|
|
"actions": [
|
|
{
|
|
"type": "goto",
|
|
"url": "/workbench.html?module=Draft"
|
|
},
|
|
{
|
|
"type": "waitFor",
|
|
"text": "Draft GUI sources",
|
|
"timeout": 120000
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 3000
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "01-draft-workbench",
|
|
"fullPage": true
|
|
},
|
|
{
|
|
"type": "goto",
|
|
"url": "/project.html?workbench=Draft"
|
|
},
|
|
{
|
|
"type": "waitFor",
|
|
"selector": "[role=\"toolbar\"][aria-label=\"Workbench toolbars\"]",
|
|
"timeout": 120000
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 2500
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "02-draft-toolbars",
|
|
"selector": "[role=\"toolbar\"][aria-label=\"Workbench toolbars\"]"
|
|
},
|
|
{
|
|
"type": "goto",
|
|
"url": "/project.html?workbench=Spreadsheet"
|
|
},
|
|
{
|
|
"type": "waitFor",
|
|
"selector": "select[aria-label=\"Workbench\"]",
|
|
"timeout": 120000
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1500
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "nav[aria-label=\"Application menus\"] details",
|
|
"hasText": "File",
|
|
"target": ":scope > summary"
|
|
},
|
|
{
|
|
"type": "click",
|
|
"role": "button",
|
|
"name": "新建 Document",
|
|
"exact": true
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 2500
|
|
},
|
|
{
|
|
"type": "eval",
|
|
"script": "for (const d of document.querySelectorAll('nav[aria-label=\"Application menus\"] details[open]')) d.open = false"
|
|
},
|
|
{
|
|
"type": "select",
|
|
"selector": "select[aria-label=\"Workbench\"]",
|
|
"label": "Spreadsheet"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1500
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "button:has-text(\"Create spreadsheet\")"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 2500
|
|
},
|
|
{
|
|
"type": "waitFor",
|
|
"selector": "section[aria-label=\"Spreadsheet Sheet\"]",
|
|
"timeout": 60000
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "[role=\"gridcell\"][data-cell-address=\"A1\"]"
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"selector": "input[aria-label=\"Cell contents\"]",
|
|
"value": "=2+2"
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "section[aria-label=\"Spreadsheet Sheet\"] button:has-text(\"Apply\")"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1500
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "02-spreadsheet-formula",
|
|
"selector": "section[aria-label=\"Spreadsheet Sheet\"]"
|
|
},
|
|
{
|
|
"type": "goto",
|
|
"url": "/workbench.html?module=Import"
|
|
},
|
|
{
|
|
"type": "waitFor",
|
|
"text": "Import GUI sources",
|
|
"timeout": 120000
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 3000
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "03-import-module",
|
|
"fullPage": true
|
|
},
|
|
{
|
|
"type": "goto",
|
|
"url": "/workbench.html?module=Surface&command=Surface_Filling"
|
|
},
|
|
{
|
|
"type": "waitFor",
|
|
"selector": "section[aria-label=\"Surface Filling task\"]",
|
|
"timeout": 120000
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 2500
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "04-surface-filling",
|
|
"selector": "section[aria-label=\"Surface Filling task\"]"
|
|
},
|
|
{
|
|
"type": "goto",
|
|
"url": "/workbench.html?module=Points&command=Points_Import"
|
|
},
|
|
{
|
|
"type": "waitFor",
|
|
"selector": "section[aria-label=\"Merge point clouds\"]",
|
|
"timeout": 120000
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 2500
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "05-points-import",
|
|
"selector": "section[aria-label=\"Merge point clouds\"]"
|
|
}
|
|
]
|
|
}
|