Skip to content

Conversation

@Khizarshah01
Copy link
Contributor

Add clickable timestamp to quoted messages

  • Display a timestamp next to the quoted message author
  • Make the timestamp clickable to navigate to the original message

Fixes #1088

Video/Screenshots

Screencast.from.2026-01-20.00-33-38.mp4

Technical notes

  • This PR adds navigation to the original quoted message by locating the message element in the DOM using its message ID and scrolling to it when available.

  • Navigation works only when the original message is already loaded and rendered in the DOM

  • I explored whether there is an existing way to navigate to or load messages by ID in EmbeddedChat, but couldn’t find a suitable mechanism. If there is a recommended approach, I’d be happy to update the implementation

PR Test Details

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quoted messages do not provide a way to navigate to the original message

1 participant