Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remake Chat Screen and Store Messages in a Map #218

Open
AlexanderWangY opened this issue Apr 13, 2024 · 1 comment
Open

Remake Chat Screen and Store Messages in a Map #218

AlexanderWangY opened this issue Apr 13, 2024 · 1 comment
Assignees
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

Comments

@AlexanderWangY
Copy link
Collaborator

AlexanderWangY commented Apr 13, 2024

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 !

@AlexanderWangY AlexanderWangY added Optimization Changes that makes functionality faster or use less memory Frontend 🖥 Issues corresponding to the frontend/client. Medium You should have some familiarity with our codebase to work on this issue Refactor Rewriting functions, changing names, improving code readability, reducing complexity labels Apr 13, 2024
@fmcubium
Copy link
Collaborator

Not taking on this issue but make sure to load the chat messages onto touchableLongPresses so we can make reactions work eventually

@AlexanderWangY AlexanderWangY self-assigned this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Development

No branches or pull requests

2 participants