-
Notifications
You must be signed in to change notification settings - Fork 293
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
feat: Delete/File upload modal is now improved and Reaction emoji is added in message toolbar . #914
base: develop
Are you sure you want to change the base?
Conversation
Hello @thepiyush-303, Has the behavior changed for all messages, or only for messages with attachments like audio, video, files, and images? For normal text messages, the current delete modal works well by displaying the message content in the modal. However, for messages with attachments, it simply displays the attachment. We can improve this by showing the filename and file description along with the attachment. This would give the user a clear understanding of which message they are deleting. Currently, the following texts are displayed:
The approach mentioned above would certainly enhance the UI and improve the user experience. |
I think we should follow Rocket's behaviour in EC also, rest will be decided by @Spiral-Memory |
2ef2985
to
8f3bb40
Compare
Hi @thepiyush-303 |
@Spiral-Memory Screencast.from.2025-01-28.18-33-52.mp4 |
Brief Title
The Delete modal now follows RC’s standard labels and no longer displays actual content. The message toolbar shows a proper reaction emoji icon, and the file upload modal now includes validation to prevent empty submissions while improving accessibility. Additionally, usernames are now clickable, displaying user info, with an error fallback if the data cannot be fetched.
Acceptance Criteria fulfillment
Fixes #913
Video/Screenshots
Screencast.from.2025-02-09.15-08-38.mp4
PR Test Details
Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-914 after approval. Contributors are requested to replace
<pr_number>
with the actual PR number.