Skip to main content

minimize_block_in_layout

Function minimize_block_in_layout 

Source
pub(crate) async fn minimize_block_in_layout(
    state: &AppState,
    tab_id: &str,
    block_id: &str,
) -> Result<bool, String>
Expand description

Show block_id’s pane in tab_id as a chip, in srv’s tree and the window’s mirror (the minimize action). Not applied, and Ok(false), when it is the only pane there showing content: a tab always shows one. SPEC_DRAG_MINIMIZED_PANES_2026_10_20.md §3 C.