bsoc-bitbyte / myLeave

myLeave is a user-friendly app that streamlines leave request submissions and management.
4 stars 14 forks source link

Implement Email Validation and Sign-Up Response Handling #29

Closed Agrim2112 closed 1 month ago

Agrim2112 commented 1 month ago
AyushNarsian commented 1 month ago

Good afternoon @Agrim2112 !! I would like to work on this issue. My approach includes adding an onclicklistener on login text to start loginactivity. Also I will use email validators using regex to check if the email is valid. I will implement a loading animation while the sign up process is in progress. On successful sign-up, I will navigate to the User Dashboard with flags to clear the backstack. I will also display toast messages for any empty or error states during sign up. I would like to work on this issue as I will learn a lot from the process.

ayushsaksena30 commented 1 month ago

@Agrim2112 I would like to work on this issue. My approach will be to use onclicklistener when login text is clicked. I will use Patterns.EMAIL_ADDRESS to check for valid email and use regex to check for domain. I will implement a progress bar to show loading animation by toggling its visibility as true when sign up button is clicked. I will use intent flags to remove all previous activities. I will also handle all error messages and toast appropriate error messages. Please Assign this issue to me. Thank You

zephyr004 commented 1 month ago

Good afternoon @Agrim2112,

I would like to work on the issue related to email validation and sign-up response handling. My approach includes adding an OnClickListener for the login text to direct users to the Loginactivity. For email validation, I will use Patterns.EMAIL_ADDRESS to verify the correct email format and a regex pattern to ensure the domain is @iiitdmj.ac.in. During the sign-up process, I will introduce a progress bar to display a loading animation. Upon successful sign-up I will navigate users to the User Dashboard and use intent flags to clear the backstack providing a smooth user experience. Additionally, I will display appropriate toast messages for any empty fields or errors during the sign-up. Thank you..

Agrim2112 commented 1 month ago

@ayushsaksena30 You can work on it.