Clicking a name or avatar opens the profile card #297

Closed
opened 2026-10-07 20:43:10 -04:00 by Salastil · 1 comment
Owner

The name span (MessageRow.tsx:729) and avatar (694-709) have no click handler; "Profile of …" is only in the right-click menu (437-444). Discord, Slack and Element open a profile popout on click.

Fix: click on name or avatar opens the existing profile card, anchored to the click.

Part of the v1.0 UI pass.

The name span (MessageRow.tsx:729) and avatar (694-709) have no click handler; "Profile of …" is only in the right-click menu (437-444). Discord, Slack and Element open a profile popout on click. **Fix:** click on name or avatar opens the existing profile card, anchored to the click. _Part of the v1.0 UI pass._
Salastil added this to the v1.0 milestone 2026-10-07 20:43:10 -04:00
Salastil added the feature label 2026-10-07 20:43:10 -04:00
Author
Owner

Finished: bf45147.

Before (top) and after (bottom):

name profile

Somebody else's name or picture now opens their profile card when clicked (the pointer shows it is a link and the name underlines on hover; the tooltip says "Profile of ..."). Your own name and system lines have nothing to open, as before. It is the same card the right-click menu's "Profile of ..." opens.

Checked in the isolated test copy: the name is a button on others' messages and not on your own, and a click sends the profile request (the test copy has no real conversation, so it answers with an error toast - the real card needs a live account).

Finished: [bf45147](https://git.salastil.com/Salastil/moho/commit/bf45147b47529ac464b8c8b3ad86a652d360130c). Before (top) and after (bottom): ![name profile](https://git.salastil.com/attachments/093e24e6-d97c-422d-ae84-754e404f69ac) Somebody else's name or picture now opens their profile card when clicked (the pointer shows it is a link and the name underlines on hover; the tooltip says "Profile of ..."). Your own name and system lines have nothing to open, as before. It is the same card the right-click menu's "Profile of ..." opens. Checked in the isolated test copy: the name is a button on others' messages and not on your own, and a click sends the profile request (the test copy has no real conversation, so it answers with an error toast - the real card needs a live account).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#297