This PR does the following: (a)Added intent to navigate to SignUpActivity , (b) Display progressbar animation after login button is pressed , (c) Navigate to the User Dashboard / Admin Dashboard based on the user email registered. (d) Removing all previous activities from the activity stack after successful login (e) Added necessary toast messages for empty and error states.
Essential Checklist
[x] The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
[x] "Allow edits from maintainers" is checked. (See here for instructions on how to enable it.)
[x] The PR is made from a branch that's not called "main/master".
If you need a review or an answer to a question, and don't have permissions to assign people, leave a comment like the following: "{{Question/comment}} @{{reviewer_username}} PTAL".
Never force push. If you do, your PR will be closed.
Overview
Essential Checklist
Proof that changes are correct
https://github.com/user-attachments/assets/4316c595-03c1-4635-8cfd-b73a73949717
PR Pointers