-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feat/authentication/UI #31
Conversation
Awaiting Supabase integration
…ual password validation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice UI! Conforms to the Figma, great job!
Comments
- The composable
ErrorMessage
is not directly related to authentication and should be moved to another file. Maybe havecom.android.periodpals.ui.components
folder and put it there. This would improve general organization and make it easier for us later down the line. - The
ErrorMessage
composable tests the observable Stringmessage
. I think this should be done outside of it, inSignInScreen
andSignUpScreen
to improve readability and modularity.
Improvements
Next time, try and do smaller PRs. The SignIn.kt
and SignUp.kt
could have been separated into two smaller PRs. This would make it easier to review as well as improve general team organisation.
Steps before merge
Everything listed into the "Comments" section.
Don't forget to pull from main to get the AGP version bug fixed (see #32 #33).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Thank you for implementing the changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary:
Great work on implementing the sign-in and sign-up screens! The code is well-structured and easy to follow. The use of Compose components and state management is effective and clean.
Suggestions:
For future improvements, consider improving the validation logic for an email address. A valid email address typically has four parts:
- Recipient name
- @ symbol
- Domain name
- Top-level domain
This will help in maintaining data integrity. Keep up the good work!
Overview
This PR introduces the Sign-In and Sign-Up authentication screens.
Key Features
Sign-In Screen:
Sign-Up Screen:
AuthSharedComposables.kt:
Testing:
Next Steps