This pull request is the almost-complete frontend functionality of the relevant PBI of the Onboarding team.
Changes
Changed the layout of the "Login", "Signup" pages, and added a "Welcome" page.
The Login and Signup pages communicate correctly with the backend, and as a result their functionalities work as intended.
The user cannot access certain pages if they do not have an authentication token, and vice versa cannot access Login and Signup if they have an authentication token.
Added a "Sign Out" functionality, which clears the token from the storage, once again preventing and allowing access to certain pages.
The Login page notifies the content creator if their login credentials are incorrect.
New content creators must now enter their password twice, in order to sign up properly.
Updated "hide password" icon.
Related Issues
The layouts of Login, Signup, and Welcome are not properly implemented: their layout on different screens may vary. Additionally, some screens may find certain buttons inaccessible without the use of the tab button,
Checklist
[ ] Code has been tested locally and passes all relevant tests.
[ ] Documentation has been updated to reflect the changes, if applicable.
[ ] Code follows the established coding style and guidelines of the project.
[ ] All new and existing tests related to the changes have passed.
[ ] Any necessary dependencies or new packages have been properly documented.
[x] Pull request title and description are clear and descriptive.
[x] Reviewers have been assigned to the pull request.
[x] Any potential security implications have been considered and addressed.
[ ] Performance impact of the changes has been evaluated, if relevant.
Notes for Reviewers
The styling of Login, Pages, and Welcome are not finished, and incredibly messy: some styling elements overlap in certain places, making for a lot of unnecessary code. Will be fixed in next sprint :)
Description
This pull request is the almost-complete frontend functionality of the relevant PBI of the Onboarding team.
Changes
Changed the layout of the "Login", "Signup" pages, and added a "Welcome" page. The Login and Signup pages communicate correctly with the backend, and as a result their functionalities work as intended. The user cannot access certain pages if they do not have an authentication token, and vice versa cannot access Login and Signup if they have an authentication token. Added a "Sign Out" functionality, which clears the token from the storage, once again preventing and allowing access to certain pages. The Login page notifies the content creator if their login credentials are incorrect. New content creators must now enter their password twice, in order to sign up properly. Updated "hide password" icon.
Related Issues
The layouts of Login, Signup, and Welcome are not properly implemented: their layout on different screens may vary. Additionally, some screens may find certain buttons inaccessible without the use of the tab button,
Checklist
Notes for Reviewers
The styling of Login, Pages, and Welcome are not finished, and incredibly messy: some styling elements overlap in certain places, making for a lot of unnecessary code. Will be fixed in next sprint :)