pub(crate) async fn float_by_setting(
state: &AppState,
cmd: &mut CommandPaneOpenData,
asked: Option<bool>,
) -> Result<(), String>Expand description
Make a browser open float when agent:floatbrowsers says so (float_default, and under the shared rate limit
of an agent’s floating opens), with a floating browser’s defaults. A background session is refused here when it
would pass a cap (background_limit) or the shared rate limit.