Files
FreeCADWasmDev/docs/current/task-interaction-parity-4a034290-progress.md

14 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 桌面任务交互实施进度
批次:4a03429077247883eab6c48b
记录:product:desktop-task-interaction-parity
状态:未完成;保留已有 sourceConfirmedGap 和历史证据。
本次复用主入口 project-shell.tsx 已嵌入的 PartDesignWorkspace、共享 request、onSnapshot 和 onSelection。嵌入模式的 ShapeBinder 创建/编辑改走该共享原生文档请求入口,不再直接调用独立桌面适配器。嵌入草图编辑复用 edit 的快照、选择及同步重复提交保护。独立工作区仍保留原桌面适配器路径。
尚未实现真正的任务 begin/apply/accept/cancel 事务协议、取消时原生状态和历史恢复、任务切换生命周期以及完整的主界面任务选择同步。此次修改不构成这些行为的完成证明,不更新整体实现或验收回执。
下一具体实现:从 web/src/partdesign-document-facade.ts 第 100 行之后定位处理器及实际原生文档所有者;追踪现有单次编辑的事务提交位置,接入真实可延迟提交与中止的任务事务,再连接 web/src/partdesign-workspace-component.tsx 原第 202 行附近的 edit 和主界面任务切换。当前已读取的 DesignAction 定义不含任务事务动作,不能仅增加 UI 按钮、使用 undo 或重置草稿代替原生取消。
本轮未运行测试、业务验收、浏览器验证、基准、构建或同步。构建/同步由外层流水线处理;所有功能完成后再安排验证。