feat(sidebar): active DM/room highlight + resolved enclave member names #39

Merged
nrupard merged 1 commit from fix/sidebar-active-and-member-names into main 2026-05-06 17:02:18 +02:00
Owner
  • Add an active flag to SidebarRoom and SidebarPeer and set it from the room/DM handlers. The matching sidebar row now renders with aria-current="page", a blue background, and bold text so the user can see which conversation they are in. Apply matching focus styles to all sidebar links so keyboard users get a visible focus ring.
  • Resolve each enclave membership row to a new EnclaveMemberView carrying a pre-computed label: the user's display_name when set, otherwise @username, otherwise the raw user_id as a last-resort fallback. The enclave landing and settings pages now show "Alice" or "@alice" instead of the opaque UUID, with the UUID kept in the row's title= attribute for support.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

- Add an `active` flag to `SidebarRoom` and `SidebarPeer` and set it from the room/DM handlers. The matching sidebar row now renders with `aria-current="page"`, a blue background, and bold text so the user can see which conversation they are in. Apply matching focus styles to all sidebar links so keyboard users get a visible focus ring. - Resolve each enclave membership row to a new `EnclaveMemberView` carrying a pre-computed label: the user's `display_name` when set, otherwise `@username`, otherwise the raw user_id as a last-resort fallback. The enclave landing and settings pages now show "Alice" or "@alice" instead of the opaque UUID, with the UUID kept in the row's `title=` attribute for support. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Add an `active` flag to `SidebarRoom` and `SidebarPeer` and set it from the room/DM handlers. The matching sidebar row now renders with `aria-current="page"`, a blue background, and bold text so the user can see which conversation they are in. Apply matching focus styles to all sidebar links so keyboard users get a visible focus ring.
- Resolve each enclave membership row to a new `EnclaveMemberView` carrying a pre-computed label: the user's `display_name` when set, otherwise `@username`, otherwise the raw user_id as a last-resort fallback. The enclave landing and settings pages now show "Alice" or "@alice" instead of the opaque UUID, with the UUID kept in the row's `title=` attribute for support.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
nrupard deleted branch fix/sidebar-active-and-member-names 2026-05-06 17:02:18 +02:00
Sign in to join this conversation.
No reviewers
No labels
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
psa-systems/lets-chat!39
No description provided.