Closed kuv2707 closed 1 week ago
Comment '@csoc-bot claim' to get this issue assigned or '@csoc-bot abandon' to get this issue unassigned.
@csoc-bot claim
@sksmagr23 This issue has been successfully assigned to you! 🚀
Updated the issue description.
The updated specs can be worked on once we have the entire game event system in place.
@csoc-bot claim
@shiviiish Sorry, maximum limit for assignees in this issue has reached. Please check other issues or contact a maintainer.
Description
We wish to include a collapsible chat box in the game page.
Exact structure to be decided, but we can work on the designs for the message list, input box, reactions to messages.
A folder
Chatbox
can be created inside the library directory, containing all the files relevant to it.The chatbox will render an array of messages, each of which will roughly have the schema:
When rendering the message, we make use of all this content to "hydrate" the message.
As mentioned somewhere else, when the server first sends the entire game data, we extract all the user ids and corresponding user info, which we later use in messages etc