Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logout issue #666

Merged
merged 3 commits into from
Nov 11, 2024
Merged

Conversation

abirc8010
Copy link
Contributor

@abirc8010 abirc8010 commented Nov 11, 2024

Brief Title

Fix immediate UI update on logout by clearing messages and user avatar

Acceptance Criteria fulfillment

  • The messages state is reset to an empty array upon logout.
  • The user avatar is set to null on logout to reflect the logged-out state.
  • The UI updates immediately after logout without requiring a page reload.

Fixes #665

Video/Screenshots

logout-issue-fix.webm

PR Test Details

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

@Spiral-Memory
Copy link
Collaborator

LGTM !

@Spiral-Memory Spiral-Memory merged commit 75f7760 into RocketChat:develop Nov 11, 2024
4 checks passed
github-actions bot added a commit that referenced this pull request Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI does not update on Logout
2 participants