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

32 lines
1.9 KiB
Markdown

# Web CommandView batch d19b1daac0c3285508d58133
Batch remains incomplete. No builds, tests, browser validation, benchmarks, or acceptance were run.
Native document helper now handles Std_ShowObjects, Std_HideObjects,
Std_ShowSelection, Std_HideSelection, and Std_SelectVisibleObjects using
the requested open document. Visibility is persisted in WebViewState,
applied to object Visibility properties when available, and consumed when
returning native display meshes. Subelement visibility explicitly requires
the view-provider host; it is not silently widened to whole-object visibility.
Remaining boundaries:
- Connect these five operations through the existing Part document owner,
part-view-facade.ts, web-desktop-adapter.ts, and mounted web-view-task.tsx.
The current adapter still accepts only the existing VIEW_COMMANDS. Native
helper changes alone do not make these commands available in the browser.
- Implement frozen camera save/restore, projection switching, scene inspection,
selection history, selection bounding boxes, texture mapping, clipping,
navigation redirection, and fullscreen with the mounted view host and actual
document state. Existing GUI-command-manager fallback is unavailable in the
headless Web runtime and does not complete these operations.
- Registration discovery still requires repair after executable integration;
no markers were added and no completion receipts were generated.
Required next source packet anchors: command list and request validation in
web/src/part-view-facade.ts; mounted view state, mesh consumption, and command
execution in web/src/web-view-task.tsx; corresponding native document-view
dispatcher and helper in the PartBox/DocumentProbe owner. The current packet
reader rejected part-view-facade.ts because it is not a packet source/support
file. Do not interpret this reading restriction as missing business source.