Skip to main content

auto_open_tick

Function auto_open_tick 

Source
pub fn auto_open_tick(
    conv_store: &ConversationStore,
    coordinator: &PermissionMenuCoordinator,
) -> Vec<Effect>
Expand description

PU-B.3: the auto-open decision, run every editor tick by the install-time tick callback (run_tick_pending fires on the actor’s async_landed wake — no keystroke, so a permission arriving while the user is idle opens the menu on its own). Opens the oldest non-deferred pending request when no menu is showing, and sets menu_open optimistically so it emits ONCE rather than every tick until on_activate lands. Returns the effects to apply.