-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
P3Nice to haveNice to haveenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededuxUser experience improvementUser experience improvement
Milestone
Description
Problem
In `src/app/input.rs` lines 197–207, mouse clicks detect which panel was clicked and focus it, but there's no row-level click handling for the profile table. Clicking on a specific profile name doesn't select it — the user must use keyboard navigation (`j`/`k`/arrows) to select individual profiles.
Expected behavior
Left-clicking on a profile row in the sidebar should:
- Focus the Sidebar panel (already works)
- Select the clicked profile row
The row can be determined from the click `mouse.row` coordinate relative to the panel area's Y offset, accounting for the border and any header row.
Where in the code
`src/app/input.rs`, `handle_mouse()` — the `MouseEventKind::Down(MouseButton::Left)` branch. After identifying the Sidebar panel click, calculate the profile index from the row offset.
Acceptance criteria
- Clicking a profile row selects it
- Clicking outside the profile rows (e.g., on the border) only focuses the panel
- Selection scrolls into view if needed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Nice to haveNice to haveenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededuxUser experience improvementUser experience improvement