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: user action messages #746

Merged
merged 3 commits into from
Jan 1, 2025

Conversation

abirc8010
Copy link
Contributor

@abirc8010 abirc8010 commented Dec 28, 2024

Brief Title

This update ensures that user action messages are displayed when the room's topic, announcement, or description is updated. Additionally, it introduces styling changes for better alignment and includes a showUsername prop in Storybook for testing.

Acceptance Criteria fulfillment

  • Added 3 new cases in the existing switch case to handle topic, announcement, and description updates.
  • Styled MessageBodyContainer to set max-width to 90% for proper alignment

Fixes #745

Video/Screenshots

Screencast.from.2024-12-28.13-45-07.webm

PR Test Details

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

Copy link
Collaborator

@Spiral-Memory Spiral-Memory left a comment

Choose a reason for hiding this comment

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

LGTM ! Thanks @abirc8010

@@ -279,6 +279,7 @@ EmbeddedChat.propTypes = {
channelName: PropTypes.string,
anonymousMode: PropTypes.bool,
toastBarPosition: PropTypes.string,
showUsername: PropTypes.bool,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why this, in this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

@Spiral-Memory Spiral-Memory merged commit 1c01bbd into RocketChat:develop Jan 1, 2025
4 checks passed
github-actions bot added a commit that referenced this pull request Jan 1, 2025
SinghaAnirban005 pushed a commit to SinghaAnirban005/EmbeddedChat that referenced this pull request Jan 1, 2025
* fix: user action messages

* remove showUsername
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.

User Action Messages Missing for Topic, Announcement, or Description Changes
2 participants