Rocket.Chat
Rocket.Chat copied to clipboard
[BUG]: Quoted message link is wrapped with time text instead of the entire box.
Description:
Currently, when quoting a message and sending it, the message link gets wrapped inside the time text/box, which is inappropriate behavior. It doesn't make much sense. Instead, the quoted message should be wrapped over the complete box so that if anyone clicks on that box, they will be scrolled towards that message easily.
Steps to reproduce:
- Open Rocket.Chat.
- Send a message, for example, "Hi."
- Quote that message and reply with some message, for instance, "Hello."
- After quoting, you will notice that the wrapped message link is with the time text, and when you click on it, you will be scrolled towards the quoted message.
Expected behavior:
The entire box should be wrapped with the message link so that the user can click on the box and be scrolled towards the message.
Actual behavior:
The quoted message is wrapped in time text, which is not appropriate.
https://github.com/RocketChat/Rocket.Chat/assets/78961432/f8affd73-6ccd-4dbd-8a6e-27955e01b995
Server Setup Information:
- Rocket.Chat Server Version: 6.7.0-develop
- Operating System: Ubuntu 22.04.3 LTS
- Deployment Method: Local development server deployment
- NodeJS Version: 14.21.4 - x64
- MongoDB Version: 6.0.3
Client Setup Information
- Desktop App or Browser Version: Microsoft Edge Version 120.0.2210.133 (Official build) (64-bit)
- Operating System: Ubuntu 22.04.3 LTS