refactor: share the tmux client picker #425

Open
opened 2026-07-21 14:12:30 +02:00 by dries · 0 comments
Owner

What to build

Replace the duplicate tmux client chooser in project detail and the session sidebar with one shared picker and controller. Preserve local switching, direct switching when only one client exists, anchored positioning, outside-click dismissal, and remote error logging.

Acceptance criteria

  • Project detail and session sidebar render the same shared tmux client picker.
  • Client rows use semantic interactive elements and remain keyboard accessible.
  • Positioning, dismissal, selection, and switch failure behavior remain unchanged.
  • Frontend tests exercise both consumers and shared picker behavior.

Blocked by

None - can start immediately.

## What to build Replace the duplicate tmux client chooser in project detail and the session sidebar with one shared picker and controller. Preserve local switching, direct switching when only one client exists, anchored positioning, outside-click dismissal, and remote error logging. ## Acceptance criteria - [ ] Project detail and session sidebar render the same shared tmux client picker. - [ ] Client rows use semantic interactive elements and remain keyboard accessible. - [ ] Positioning, dismissal, selection, and switch failure behavior remain unchanged. - [ ] Frontend tests exercise both consumers and shared picker behavior. ## Blocked by None - can start immediately.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dries/ocman#425
No description provided.