Render manifest toolbars for non-Part workbenches

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
2026-11-13 16:50:18 +08:00
parent 4a45ffaf47
commit 4efeadbee3
4 changed files with 31 additions and 0 deletions

View File

@@ -45,6 +45,10 @@
- 选中 BIM 后菜单显示 2D Drafting / 3D/BIM / Annotation / Manage / Flamingo /
Fasteners / Utils;截图 `BIM-web-menu.png`;
- Part 回归审计仍 0 错误/0 溢出。
- **非 Part 工具栏已接入**:`web/src/shell/workbench-toolbars.tsx` +
`toolbar.tsx` 渲染 manifest 工具栏并复用 TaskFrame 回调。
BIM 实测 8 组工具栏 / 73 个按钮,0 pageError、0 溢出;
截图 `BIM-toolbars.png`。命令标签部分仍是原始 ID(缺元数据),后续补。
- 非 Part 菜单命令改为打开 **React TaskFrame 模态**(`web/src/shell/task-frame.tsx`),
iframe 复用 `/workbench.html?module=<id>&command=<id>` 的现有任务面板;
BIM_TogglePanels 实测弹出 "Bottom panels" 任务并可点按钮,0 pageError;

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB