Skip to main content

redock_updates

Function redock_updates 

Source
fn redock_updates(
    state: &AppState,
    source_tab_id: &str,
    target_tab_id: &str,
) -> Vec<MuxObjUpdate>
Expand description

The object updates a redock owes the renderers: the source and target tabs and their layouts. Layout updates MUST come first: the queue helpers persist via the reducer route (SPEC_864 Phase 4), whose SQLite write is NOT auto-broadcast (only the row gets a new version). Without them the target window never sees the new leaf and renders nothing, and the source’s pending delete action never gets pulled. Both layouts are read AFTER the helpers return: they persist synchronously inside the reducer lock, so the re-read sees the appended actions.