EmbeddedChat icon indicating copy to clipboard operation
EmbeddedChat copied to clipboard

Fix: Highlight entire message body for 'Jump to Message' functionality

Open dhairyashiil opened this issue 1 year ago • 10 comments

Brief Title

Fix: Highlight entire message body for 'Jump to Message' functionality

Acceptance Criteria fulfillment

  • [X] The entire message body is highlighted when using the 'Jump to Message' functionality.
  • [X] The highlight color is clearly visible in both light and dark themes.

Fixes #821

Video/Screenshots

Light theme:

https://github.com/user-attachments/assets/b8e8110d-fc05-46de-9728-5dcabcec7b3f

Dark theme:

https://github.com/user-attachments/assets/6353c022-4a75-4e9a-ae0c-a93ab89b3ef7

PR Test Details

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

dhairyashiil avatar Jan 06 '25 18:01 dhairyashiil

Good to review ?

Spiral-Memory avatar Jan 08 '25 20:01 Spiral-Memory

Good to review ?

Yes, ready.

dhairyashiil avatar Jan 08 '25 20:01 dhairyashiil

Can we keep the color subtle ? This isn't looking good

But, yaa this is needed, thanks

Spiral-Memory avatar Jan 27 '25 17:01 Spiral-Memory

Can we keep the color subtle ? This isn't looking good

But, yaa this is needed, thanks

Okay, understood. I'll do it. Thank you for the review.

dhairyashiil avatar Jan 28 '25 20:01 dhairyashiil

Subtle shade: (Matched with RC)

https://github.com/user-attachments/assets/929b8c03-ced5-4ea5-b8e5-2f1bf4d1f8e3

dhairyashiil avatar Jan 29 '25 14:01 dhairyashiil

Also, @Spiral-Memory, I think the current dark mode of the Default theme is too dark. We should make it less black and more greyish, just like RC. What do you think?

dhairyashiil avatar Jan 29 '25 14:01 dhairyashiil

Also, @Spiral-Memory, I think the current dark mode of the Default theme is too dark. We should make it less black and more greyish, just like RC. What do you think?

Not needed, that is upto the developer who is setting it up, this is just for testing in storybook

Spiral-Memory avatar Feb 09 '25 08:02 Spiral-Memory

In dark shade, it is still too yellowish, keep subtle there too. light looking good

Spiral-Memory avatar Feb 09 '25 08:02 Spiral-Memory

Hello @Spiral-Memory , Make color subtle for Dark mode as well.

https://github.com/user-attachments/assets/13c1bf02-4059-4215-ab8c-17b213609dcc

dhairyashiil avatar Feb 09 '25 09:02 dhairyashiil

Thanks @dhairyashiil

Spiral-Memory avatar Feb 09 '25 09:02 Spiral-Memory