Add command palette for all matrix commands
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -78,6 +78,13 @@
|
||||
- BIM/CAM/Fem/Mesh/TechDraw 等切换到对应 `/workbench.html?module=` 工作台,
|
||||
原 Part 视口隐藏;BIM 实测 iframe 挂载、视口 display:none、0 pageError;
|
||||
截图 `BIM-workbench-frame.png`。
|
||||
- **命令面板(Command Palette)**:`shell/command-palette.tsx`
|
||||
- `Ctrl+Shift+P` 或 Tools 菜单打开;
|
||||
- 读取 `workbench-command-matrix.json`,默认当前 workbench(含 Web/Std),可切全模块;
|
||||
- 搜索命令名/ID,点击后走 `executeManifestCommand`(视图命令直连 dispatcher,
|
||||
其余打开 TaskFrame);最多显示 400 条;
|
||||
- 实测搜索 `Part_Box` 返回 4 条,0 pageError;截图 `command-palette.png`。
|
||||
- 该面板给 1492 条命令提供统一 UI 入口,后续按执行成功率分类补齐。
|
||||
- 说明:外部工作台仍是 iframe,未共享项目文档;Python 控制台尚未接入;
|
||||
原生 Shortcut 参数同步待 P3。
|
||||
- 非 Part 菜单命令改为打开 **React TaskFrame 模态**(`web/src/shell/task-frame.tsx`),
|
||||
|
||||
BIN
web/docs/current/desktop-parity-evidence/command-palette.png
Normal file
BIN
web/docs/current/desktop-parity-evidence/command-palette.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 105 KiB |
Reference in New Issue
Block a user