feat(tui): browse or PM a user from a chat room's member list

The member list in an open room is now selectable with the arrow keys.
Press 'b' to browse the highlighted user's shared files (opens the
browse tree) or 'm' to send them a private message (opens the compose
bar pre-filled with the recipient). Selection resets when switching
rooms; RoomsState navigation is unit-tested.
This commit is contained in:
michel
2026-07-19 20:22:33 +02:00
parent 01796f5d87
commit 5a3bc6fcd5
4 changed files with 114 additions and 6 deletions
+2
View File
@@ -121,6 +121,8 @@ In the interactive TUI, press `c` to open the chat-rooms popup:
- several rooms can be **open at once** as tabs — `Tab`/`Shift-Tab` switch
between them, `x` leaves the active room, `l` returns to the room list;
- in a room, press `Enter` to type a message and `Enter` again to send;
- the room's **member list** is selectable with `↑`/`↓`; press `b` to browse
the highlighted user's shared files or `m` to send them a private message;
- **unread messages** bold a room's tab and add a `room (n)` badge, and the
`c chat (n)` shortcut counts unread across all open rooms.