pub(crate) async fn reveal_block(
state: &AppState,
r: &Arc<Router>,
block_id: String,
) -> Result<BlockRevealResult, String>Expand description
block.reveal: resolve the block’s tab and open window like a toast
click, make the block its pane’s visible tab in the STORED layout (so a
window that loads the tab fresh already shows it), then tell only that
window’s renderer to reveal it (block:reveal). A workspace open in no
window is out of scope: found: false, nothing changed.