should offer a way to go back to the previous screen
What needs to be done
Create a create_account view and view-model under src/authentication/create
the view should have:
static const routeName = "/authentication/link"
a back button on the AppBar to go back to the previous view
an email field
two password fields (one password, the second confirm password) with reveal (👁️) option
a Create account button
two icons button:
one with G from Google
one with apple (🍎) from Apple
the view-model should:
validate the email field content using regex
validate that both password fields' contents are the same
when any sign-in with button or Create account button is pressed, redirect to Glossary tab
Note: create account page should be removed from the navigation history to avoid a user accidentally going there after entering the application
redirect to the previous screen if the back button is pressed
update the router to access the new view if /authentication/link is called
Design
Wireframe
⚠️ Be reminded that this is a wireframe, it shows the minimum required to fulfill the task but you can be creative for the rest of the page
![image](https://github.com/RoadTripMoustache/kana_to_kanji/assets/22211097/0884f9a9-7fa7-475e-9a82-0d03f7fa5a2d)
As a user, I want a simple way to create an account
Requirements
The Create account page should:
What needs to be done
create_account
view and view-model undersrc/authentication/create
static const routeName = "/authentication/link"
/authentication/link
is calledDesign
Wireframe
⚠️ Be reminded that this is a wireframe, it shows the minimum required to fulfill the task but you can be creative for the rest of the page ![image](https://github.com/RoadTripMoustache/kana_to_kanji/assets/22211097/0884f9a9-7fa7-475e-9a82-0d03f7fa5a2d)Dependencies
Child of #130
Depends on:
134