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

Move front-end logic into its own separate files #220

Closed
AlexanderWangY opened this issue Apr 13, 2024 · 2 comments
Closed

Move front-end logic into its own separate files #220

AlexanderWangY opened this issue Apr 13, 2024 · 2 comments
Labels
Frontend 🖥 Issues corresponding to the frontend/client. Help wanted Someone needs to work on this Medium You should have some familiarity with our codebase to work on this issue Refactor Rewriting functions, changing names, improving code readability, reducing complexity

Comments

@AlexanderWangY
Copy link
Collaborator

As of now, all frontend logic such as navigation, receiving messages, sockets, etc etc all happen within the actual screens. We want to reserve the screens for mainly UI and as little actual logic as possible.

Your task:

  • Refactor and move most logic into their respective files and make sure they are still accessible within the screens
  • Ensure all logic still works correctly.
  • D.R.Y Don't Repeat Yourself! If the same code is written twice, it isn't nice! Make sure to write functions ONCE and reuse when needed! Keep them flexible too and add comments if needed to ensure the devs who use your functions understand their purposes!
  • Test, test, test! Keep reloading the app every little change and make sure it all still works!
  • Be thoughtful when naming and moving functions into different folders/files. We want to be able to trace errors back to certain screens and functions!
@AlexanderWangY AlexanderWangY added Frontend 🖥 Issues corresponding to the frontend/client. Help wanted Someone needs to work on this 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
@Teja-11
Copy link

Teja-11 commented Apr 15, 2024

can i work on this?

@AlexanderWangY
Copy link
Collaborator Author

Yes! Thank you for taking up this issue. If you have any questions or just want to run ideas through someone, let me know! 😄

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. Help wanted Someone needs to work on this Medium You should have some familiarity with our codebase to work on this issue Refactor Rewriting functions, changing names, improving code readability, reducing complexity
Projects
Development

No branches or pull requests

2 participants