Files
FreeCADWasmDev/docs/current/web-commanddoc-boundaries.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

Document command batch ddbef758b1d8dbdfd055a067

Edits connect Refresh, Revert, Save, Save All, Save As, Save Copy, Select All, and Undo through the mounted desktop adapter to the persistent PartBox family runtime. Revert requires confirmation and calls document restore. Save Copy passes its destination to the native API. Save All enumerates open documents, preflights destinations, and saves each document. Native file bytes are returned for browser downloads. Mutations refresh the mounted scene; Select All applies the returned selection.

Remaining boundaries:

  • Std_Transform needs the desktop TaskTransform workflow connected to the mounted host. Std_TransformManip needs native ViewProvider transform edit integration. Neither is implemented by these edits.
  • Select All currently enumerates document objects. Desktop editing-provider and tree grouping semantics still need integration.
  • Save destinations use filename/path arguments, with a filenames map for unnamed documents in Save All. A mounted destination picker remains necessary.
  • Downloads do not persist the runtime filesystem across reloads. Revert uses the native saved file within the current runtime session.
  • Save All can partially complete if a later native save fails; a structured partial-save response remains necessary to deliver earlier saved files.
  • Undo uses the existing document undo operation; linked-document GUI transaction coordination remains unresolved.
  • Refresh dependency-cycle continuation currently requires the proceed argument; a mounted retry confirmation remains necessary.

No builds, tests, browser validation, benchmarks, or acceptance were run. The outer pipeline owns build, sync, and route receipts. This batch is incomplete.