Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

[UX Improvement] - Link previews should appear with their specified links in messages

Open shivang-16 opened this issue 1 year ago • 2 comments

Description:

When sending multiple links in a message, the current behavior is such that all link previews appear at the end of the message. This can lead to confusion as the link previews are not associated with their respective links in the message body.

Steps to reproduce:

  1. Compose a message containing multiple links.
  2. Observe that the link previews appear collectively at the end of the message.

Expected behavior:

Link previews should be associated with their specified links within the message, providing a clear and intuitive display for users.

Actual behavior:

Link previews for multiple links appear at the end of the message, causing potential confusion about which preview corresponds to which link

Server Setup Information:

  • Version of Rocket.Chat Server: 6.7.0
  • Operating System: macOS
  • NodeJS Version: 14.21.3
  • MongoDB Version: 6.0.3

Client Setup Information

  • Desktop App or Browser Version: chrome 121
  • Operating System: macOs

Additional context

Screenshot 2024-02-10 at 12 54 04 AM

shivang-16 avatar Feb 09 '24 19:02 shivang-16

Hello Sir, @shivang-16 Can you assign me this issues please ?

ProgrammingPirates avatar Feb 10 '24 16:02 ProgrammingPirates

@ProgrammingPirates, you can directly start working on this

shivang-16 avatar Feb 11 '24 14:02 shivang-16

Yes issue is there. I am trying to fix this .

Himanshu-kiran avatar Feb 19 '24 08:02 Himanshu-kiran

@shivang-16 Did you get any way to resolve the issue..?? I think Two things are possible using hooks and making preview available only when we try to click or embedding previewing between the messages.

Himanshu-kiran avatar Feb 21 '24 07:02 Himanshu-kiran