Files
proxy/.scratch/tui-redesign/issues/06-active-profile-picker.md
T

20 lines
1.4 KiB
Markdown

# 06 — Add the searchable Active Profile picker
**What to build:** Let users search for and activate a Proxy Profile directly from the dashboard without mixing routine switching with Profile management.
**Blocked by:** 02 — Deliver the Operations Console dashboard; 04 — Unify operation coordination and status feedback.
**Status:** ready-for-agent
- [ ] A dashboard action opens a keyboard-only modal Profile picker.
- [ ] The Active Profile is pinned first and all remaining Profiles are sorted by name.
- [ ] The picker supports filtering and scrolling across more Profiles than fit in the terminal.
- [ ] Enter activates the selected Profile and Escape closes the picker without mutation.
- [ ] Activation uses the unified progressive operation contract and displays per-Target progress on the dashboard.
- [ ] Docker restart confirmation appears when required, with cancellation as the safe default.
- [ ] Partial failure retains successful Target updates, closes or preserves the picker predictably, and focuses the first failed Target.
- [ ] Search text and selection survive resize when the selected Profile still exists.
- [ ] Empty and no-match states provide clear next actions without conflating switching with creation.
- [ ] Profile names and all operation text are defensively redacted before rendering.
- [ ] Complete-Model tests cover ordering, search, keyboard selection, resize, activation, confirmation, cancellation, partial failure, and empty states.