vaadin / collaboration-engine

The simplest way to build real-time collaboration into web apps
https://vaadin.com/collaboration
Other
3 stars 1 forks source link

Add support for editing and deleting messages #67

Open heruan opened 2 years ago

heruan commented 2 years ago

Is your feature request related to a use case? Please describe. When using the CollaborationMessageList, existing messages can't be edited to correct typos nor deleted if sent by error.

Describe the solution you'd like An API to be able to edit and delete messages.

Additional context To make this available in CollaborationMessageList, it first needs to be supported by the MessageManager. Also, CollaborationMessage right now does not have any identifier, which will be needed (this would be a breaking change).

When using the component, messages are sent using a submitter or another component (e.g. CollaborationMessageInput) so the UI will need to provide accessible ways to perform edits and deletions.