Skip to main content

move_tabs

Function move_tabs 

Source
pub(crate) async fn move_tabs(
    state: &AppState,
    cmd: CommandPaneMoveTabsData,
) -> Result<PaneTabEditResult, String>
Expand description

Core pane.moveTabs logic: several tabs into one pane in one reducer edit (Command::LayoutStackMoveMany), then one queued stackmove per block (and a stackactivate when the visible tab is a member that did not move) so any OTHER window viewing the layout follows. The calling frontend has already made the same edit and skips every queued copy by its base action_id. SPEC_PANE_TAB_MULTI_SELECT_MOVE_AND_COLLAPSED_EXPAND_2026_10_24.md §5.