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

Bug: Mention Usernames in File Upload Description Not Rendering Correctly #648

Open
SinghaAnirban005 opened this issue Oct 30, 2024 · 0 comments · May be fixed by #649
Open

Bug: Mention Usernames in File Upload Description Not Rendering Correctly #648

SinghaAnirban005 opened this issue Oct 30, 2024 · 0 comments · May be fixed by #649
Labels
bug Something isn't working

Comments

@SinghaAnirban005
Copy link
Contributor

Description:

The usernames mentioned in the File Upload description using the format @username do not render with the expected highlighted style as they do in message inputs. This inconsistency affects the user experience, making it unclear which usernames are being referenced.

Steps to reproduce:

  1. In the message section click on File Upload icon

  2. Select any file and then in the description section try to mention any member of that group or yourself
    image

  3. After mentioning click on Send and see the results

Expected behavior:

The mentioned username in the attachment description should render similarly to how it does in message inputs, with a highlighted background color and distinct styling to differentiate it from regular text.

For example on mentioning members in the message section it works correctly by displaying a reddish background when an user tries to mention his/her own self and greyish for mentioning other users .
image

Actual behavior:

The mentioned username appears as plain text without any special styling, making it indistinguishable from other text in the description.
Screenshot 2024-10-31 003948

@SinghaAnirban005 SinghaAnirban005 added the bug Something isn't working label Oct 30, 2024
@SinghaAnirban005 SinghaAnirban005 linked a pull request Oct 30, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant