Files
FreeCADWasmDev/docs/current/web-commandwindow-boundaries.json
wangdequan 9a7c4f0335 Save FreeCAD Web workspace sources and user validation evidence
IFC native binding remains incomplete; preserve accurate test results.
2026-09-15 22:01:58 +08:00

33 lines
2.5 KiB
JSON

{
"batchId": "0b31a4b3ac92e57290cd335f",
"status": "implementation_pending",
"implementationChanged": false,
"commands": [
"Std_ActivateNextWindow", "Std_ActivatePrevWindow", "Std_CascadeWindows",
"Std_CloseActiveWindow", "Std_CloseAllWindows", "Std_DockViewMenu",
"Std_TileWindows", "Std_ToggleToolBarLock", "Std_ToolBarMenu",
"Std_UserInterface", "Std_ViewStatusBar", "Std_Windows", "Std_WindowsMenu"
],
"observations": [
"CommandWindow.cpp delegates navigation, arrangement and closing to MainWindow; CloseAllWindows calls closeAllDocuments.",
"DockViewMenu and ToolBarMenu are handled by related QAction objects; WindowsMenu is handled by the main window.",
"ToggleToolBarLock negates ToolBarManager lock state; ViewStatusBar uses the activated integer as visibility; UserInterface switches to docked mode.",
"web-desktop-adapter.ts has no explicit selected-command routes in its route or action maps. Membership in imported command predicates has not been inspected, so missing runtime behavior is not established by this observation.",
"The adapter routes recognized Std workflows through the persistent native document owner and validates the returned workflow contract. That path must be inspected before adding window behavior."
],
"remainingBoundaries": [
"Locate selected-command membership and response shape in web-std-workflow-contract.ts and the native document-view owner.",
"Locate mounted window state and command handling in project-shell.tsx and workbench-shell.tsx, including document close cancellation and save handling.",
"Trace the native close and activation operations before connecting document-changing commands; do not substitute tab removal for document close.",
"Locate mounted dock, toolbar and status-bar ownership before wiring visibility, lock and menu operations."
],
"nextPacketAnchorsNeeded": [
"web/src/workbench-shell.tsx:289 std-command event handler and its complete selected-command branches",
"web/src/project-shell.tsx: mounted window command handlers and document close owner",
"web/src/web-std-workflow-contract.ts: command membership and result contract",
"freecad-source/src/WebAssembly/FreeCADCoreProbe/WebViewCommands.h: executeDocumentCommand and selected window command handlers"
],
"sourceWindowLimit": "Four supplemental windows consumed reading the existing adapter; no further source reads performed.",
"validation": "Not run, as instructed. Build, sync and route receipts remain owned by the outer pipeline."
}