shivansh-bhatnagar18 / multiplayer-uno

https://multiplayer-uno.vercel.app
21 stars 43 forks source link

Add support for replying to messages in `Message` box #153

Closed kuv2707 closed 1 week ago

kuv2707 commented 1 week ago

Description

We need to add a way to select a message to be replied. The design is subject to discussion. The implementation is mostly there:

Possible design

Perhaps we can make it so that clicking on a message selects it for replying, and when sending the message, we include the selected message's id in the ref field. When displaying a message, we can take the content of the message ref is pointing to, and truncate it to around 20 characters, and display it in a dark css filter before the actual message content.

issue-assigner[bot] commented 1 week ago

Comment '@csoc-bot claim' to get this issue assigned or '@csoc-bot abandon' to get this issue unassigned.

kuv2707 commented 1 week ago

@shivansh-bhatnagar18 Please take care of the design and UX that should be there for this.

ritwik-69 commented 1 week ago

@csoc-bot claim

issue-assigner[bot] commented 1 week ago

@ritwik-69 This issue has been successfully assigned to you! 🚀