Skip to content

fix: user info sidebar re-render - #1014

Merged
Spiral-Memory merged 1 commit into
RocketChat:developfrom
ShashwatPS:fix/avatar-change
Nov 27, 2025
Merged

fix: user info sidebar re-render#1014
Spiral-Memory merged 1 commit into
RocketChat:developfrom
ShashwatPS:fix/avatar-change

Conversation

@ShashwatPS

@ShashwatPS ShashwatPS commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

Brief Title

If the user info sidebar is already open and I click on another avatar, the sidebar doesn’t update even though the user state is being updated. This happened because the useEffect dependency array didn’t include the user info change.

Video/Screenshots ( Fixed )

Screen.Recording.2025-10-08.at.6.35.56.AM.mov

PR Test Details

Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-1014 after approval. Contributors are requested to replace 1014 with the actual PR number.

Related Issue: #1017

@CLAassistant

CLAassistant commented Oct 8, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Spiral-Memory

Copy link
Copy Markdown
Collaborator

Hi @ShashwatPS
Please create an issue with a video and tag that issue here in your PR description.

@ShashwatPS

Copy link
Copy Markdown
Contributor Author

Hi @ShashwatPS Please create an issue with a video and tag that issue here in your PR description.

Done please have a look whenever you are free.

@Spiral-Memory Spiral-Memory left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks @ShashwatPS

@Spiral-Memory
Spiral-Memory merged commit 6984897 into RocketChat:develop Nov 27, 2025
2 checks passed
github-actions Bot added a commit that referenced this pull request Nov 27, 2025
@Spiral-Memory Spiral-Memory added chore a subtle fix and removed testing labels Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore a subtle fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants