Refactor main menu action shell

This commit is contained in:
2026-03-27 00:15:38 +08:00
parent 3ebad63874
commit 6ec5f05601
7 changed files with 148 additions and 76 deletions

View File

@@ -107,6 +107,7 @@
- `Project` 右键菜单目标已不再依赖 panel 内裸索引字段,而是改成 targeted popup state
- `Inspector / Console` 的局部 action 组装也开始继续下沉到 shared router
- `Inspector` 的 component section header 菜单已开始改成 callback/router 驱动,而不是在 widget 层硬编码动作
- `MenuBar` 的 File / View / Help / global shortcut 也开始继续下沉到 shared main-menu router
### 5. Dock / Layout 层
@@ -172,6 +173,8 @@
- `Exit` 已通过事件驱动关闭 editor
- `Edit` 菜单已开始跟随 active action route 在 `Hierarchy / Project` 之间切换
- `Edit` 菜单与上下文快捷键开始共享同一套 edit action router
- `File / View / Help / global shortcut` 已开始继续从 panel 下沉到 shared main-menu router
- scene status 与 about dialog 已开始继续从 panel 下沉到共享 UI widget/dialog
仍待完成: