EmbeddedChat icon indicating copy to clipboard operation
EmbeddedChat copied to clipboard

feat: add reply to message functionality

Open Spiral-Memory opened this issue 1 year ago • 1 comments

Brief Title

This PR adds a feature to quote message

Acceptance Criteria fulfillment

  • [x] added quote icon to message toolbox
  • [x] added global state to keep track of quote messages
  • [x] added UI preview of quoted message
  • [x] added support for attachment quoting

Fixes #560

Video/Screenshots

https://github.com/RocketChat/EmbeddedChat/assets/78961432/ba57637d-b305-4f34-8195-d002d15436d5

Spiral-Memory avatar Apr 12 '24 09:04 Spiral-Memory

Hey @sidmohanty11 , currently, I've added support for quoting a single message in EC. In RC, multiple messages can also be quoted, but I'm not adding that feature for now, as we typically reply to a single message. It can be added later on if necessary. Currently, I don't think that will be a valuable addition. What's your opinion on this?

Also, while quoting attachments, in RC, it shows image preview and download button, which I feel is unnecessary considering an in-chat app.

Please do let me know your thoughts. If required, I will add those or later if required, it can be added.

Additionally, the UI for when recursive messages are quoted is being handled for both the normal UI and for this addition as well in Issue #563 by Akshun.

Spiral-Memory avatar Apr 12 '24 18:04 Spiral-Memory