pub fn set_allowed_only_selected(app: &AppState)Expand description
What: Restrict details loading to only the currently selected package.
Inputs:
app: Application state to read the current selection from
Output:
- Updates the internal allowed set to contain only the selected package; no-op if none.
Details:
- Clears any previously allowed names to prioritise responsiveness during rapid navigation.