RocketChat / RocketChat/Rocket.Chat

userProfile button doesn't work as expected

Open
#31,640 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:
  • UserProfile button provided at top of direct message doesn't show user profile
  • Instead it tries to show direct/< name > room which dosn't exist
Steps to reproduce:
  1. Go at ' top of direct message '
  2. Click on 'profile button'
  3. it will show unexpected behavioud
Expected behavior:
  • Show userprofile as icon and name is given
Actual behavior:
  • redirects to room that doesn't exist

https://github.com/RocketChat/Rocket.Chat/assets/133019575/c92e98fd-3a2b-4b70-80ae-a4d9a532042f

Server Setup Information:
  • Version of Rocket.Chat Server: 6
  • Operating System: win 10
  • Deployment Method: production
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 14
  • MongoDB Version:6
Client Setup Information
  • Desktop App or Browser Version: broswer
  • Operating System:win 10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in a browser from the top of a direct message, then locate the UserProfile button and trace the route it triggers. Confirm the expected profile icon and name behavior, and verify that clicking the button opens the user's profile instead of a nonexistent direct/ room.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.