Files
FreeCADWasmDev/docs/current/web-commandview-55ea8fba87aa02ba80d1b47b.md
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

1.7 KiB

Web CommandView batch 55ea8fba87aa02ba80d1b47b

Edits

  • Extended WebViewCommands.h dispatch to all 16 selected command names. Execution delegates to the supplied desktop Gui command manager and retains its active-command checks and error responses.
  • Added validation and transfer of supplied object/subelement selection before command activation.
  • Mounted web-desktop-adapter.ts at DesktopCommandDispatcher.execute, which is already called by the workbench shell. The adapter sends the selected commands to web.statefulFamilyBatch and propagates native record errors and returned selection.

Remaining boundaries

This batch is incomplete. FreeCADWebWebRuntimeProbe initializes App::Application::initWebCore(); the dispatcher requires FreeCADGui and App.GuiUp. These edits do not provide a GUI runtime, native view providers, Inventor views, texture task dialog, clipping dock, or tree widget. Those owners must be connected to the active Web document and mounted UI before these commands work in the browser. Merely recognizing command names is not executable GUI registration and is not implementation readiness.

The selected commands retain desktop behavior through Gui.runCommand when a GUI host is present. No fixed result, synthetic view state, or readiness marker was added. The generated route/worker compatibility for the explicit web.statefulFamilyBatch request remains unconfirmed; the source reader refused the targeted follow-up with SCHEDULER_SOURCE_BUDGET_REACHED.

No tests, acceptance, browser validation, benchmarks, historical reconciliation, build, sync, or route receipt commands were run. The outer pipeline owns incremental build/sync/route receipts. Receipts do not establish business acceptance.