multicam: hide the wizard menu item for v0.5
CI / Build & test (Linux) (push) Failing after 11s
CI / Build & test (Windows) (push) Failing after 3m30s

The 窗口 → 多机位向导 entry is removed from the menu bar and the
action-search list (menu_id 0, the hidden convention); the engine
pathway (wizard dialog, sync, multicam creation) stays intact behind
the action dispatch for a future release. The panel's multi-cam
feature remains.
This commit is contained in:
2026-09-01 22:06:12 +08:00
parent be42620e22
commit 19a83f8359
2 changed files with 13 additions and 7 deletions
+5 -3
View File
@@ -207,9 +207,11 @@ define_actions! {
FocusTimeline { cpp: "focustimeline", i18n: "menu.window.timeline", keys: [], route: Global, menu_id: 607 };
FocusEffectLibrary { cpp: "focuseffectlibrary", i18n: "menu.window.effect_library", keys: [], route: Global, menu_id: 608 };
FocusMulticam { cpp: "focusmulticam", i18n: "menu.window.multicam", keys: [], route: Global, menu_id: 609 };
// The multicam wizard (窗口 → 多机位向导; create a multi-angle
// sequence from selected footage with auto-sync alignment).
MulticamWizard { cpp: "multicamwizard", i18n: "menu.sequence.multicam_wizard", keys: [], route: Global, menu_id: 613 };
// The multicam wizard was cut from the v0.5 surface: the menu item and
// the action-search entry are gone (menu_id 0 = hidden, like the
// panel-context hotkeys), the engine pathway stays for a future
// release.
MulticamWizard { cpp: "multicamwizard", i18n: "menu.sequence.multicam_wizard", keys: [], route: Global, menu_id: 0 };
MaximizePanel { cpp: "maximizepanel", i18n: "menu.window.maximize_panel", keys: ["`"], route: Global, menu_id: 1070 };
ResetDefaultLayout { cpp: "resetdefaultlayout", i18n: "menu.window.reset_layout", keys: [], route: Global, menu_id: 1071 };
+8 -4
View File
@@ -3344,7 +3344,6 @@ fn make_menus(state: MenuState) -> Vec<MenuBarEntry> {
menu_item(A::SeqCacheInOut),
menu_item(A::SeqCacheClear).separated(),
menu_item(A::SequenceSettings).disabled(),
menu_item(A::MulticamWizard).separated(),
]),
),
MenuBarEntry::new(
@@ -4688,8 +4687,10 @@ mod tests {
/// The 窗口/Window → 多机位向导 menu item opens the wizard modal with
/// the engine's wizard footage rows (the mock offers a demo list), and
/// the created modal carries the content entity (the "click freezes"
/// regression guard).
/// The multicam wizard action still opens the modal via the direct
/// dispatch path (the 窗口 → 多机位向导 MENU ITEM was cut from v0.5 —
/// the feature is out of the shipped surface, but the action code path
/// keeps its guard).
#[gpui::test]
async fn multicam_wizard_menu_opens_the_modal(cx: &mut TestAppContext) {
let _guard = crate::actions::shortcuts_test_lock()
@@ -4702,7 +4703,10 @@ mod tests {
cx.update(|app| {
root.update(app, |app, cx| {
app.on_menu(ActionId::MulticamWizard.menu_id(), cx)
app.dispatch_action_id(
crate::actions::ActionId::MulticamWizard,
cx,
)
})
});
cx.run_until_parked();