Skip to content

Improvement: Toggle User Info when tapping the participant name in 1:1 DM foreword #40514

@abbiekuma

Description

@abbiekuma

Description:

In a 1:1 direct message room, the room foreword shows: “You have joined a new direct message with ”. The is rendered as a clickable link (Tag with href pointing to the same DM route, e.g. /direct/<username>).

When the user is already inside that DM, clicking the name re-navigates to the current room. That re-triggers the room open flow and causes visible flickering (and unnecessary navigation), instead of doing something useful (e.g. opening User Info or being a no-op).

Steps to reproduce:

  1. Log in as user A.
  2. Open a 1:1 Direct message with user B (only you and B in the room).
  3. Scroll to the top of the message list so the room foreword is visible (“You have joined a new direct message with …”).
  4. Click the clickable username for B in the foreword.
    (Optional) Click the same username again and observe repeated flicker.

Expected behavior:

  • Clicking the username in the foreword should not re-navigate to the same DM when already in that room (no flicker).
  • Preferably, the control should toggle the same User Info / contextual panel as the room header flow (consistent with opening User Info for the other participant in a 1:1 DM), or at minimum no-op when already on the target room.

Actual behavior:

  • Each click performs navigation to the same DM URL / room open sequence.
  • The chat UI flickers (brief reload / re-mount style behavior) on each click.
  • No User Info is opened from that control in 1:1 DM.
Before.1-1.DM.2026-05-13.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featurePull requests that introduces new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions