Add selection and report bottom dock

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
2026-11-13 22:47:59 +08:00
parent 1c7d85b3a2
commit 26c0963363
5 changed files with 50 additions and 3 deletions

View File

@@ -59,8 +59,11 @@
- **偏好已写入 OPFS**:`shell/settings-store.ts` 基于 `parameter-storage.ts` 的
`persist/saved`,保存到 `freecad-parameters/web-preferences.json`。
实测切换单位制后文件为 98 字节、内容含 `MKS (m, kg, s, °)`;localStorage 仍作缓存。
- **底部停靠面板**:`shell/bottom-dock.tsx` + Windows 菜单入口。
- Selection view 显示当前选择对象;Report view 保留最近 50 条状态;
- 实测打开/切换正常,0 pageError;截图 `bottom-dock.png`。
- 说明:原生 `BaseApp/Preferences` 参数同步与单位制驱动显示待 P3;
快捷键仍仅 localStorage。
快捷键仍仅 localStorage;Python 控制台尚未接入。
- 非 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: 131 KiB