Remake Chat Screen and Store Messages in a Map #218
Labels
Frontend 🖥
Issues corresponding to the frontend/client.
Medium
You should have some familiarity with our codebase to work on this issue
Optimization
Changes that makes functionality faster or use less memory
Refactor
Rewriting functions, changing names, improving code readability, reducing complexity
Remake the chat screen and make it clean and modulized (move functions into their respective locations). Screens should ONLY have UI components and as little actual logic as possible!
Also, now store messages in maps with the key being the
msgID
and the content being the actual message itself. Make sure it can be retrieved by msgID (which should be in O(1) time).Confused on where to store certain components and functions? Ask @AlexanderWangY !
The text was updated successfully, but these errors were encountered: