pub(crate) async fn handoff_float(
state: &AppState,
asked: Option<bool>,
agent: Option<&str>,
pane: &str,
popup: bool,
) -> Result<Option<Value>, String>Expand description
What a hand-off does about where its pane is: a background session is shown first (the person is asked to work in a
page they can see, whoever the caller is: it is the caller’s hand-off to make), and the hand-off is refused when it
cannot be, since its banner would wait on a window above every display. Any other pane is as float_for_handoff says.