-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
NextIssues/bugs for Vue Storefront NextIssues/bugs for Vue Storefront Nextbacklogfeature requestRequests for new features. Please be as specific as possible and provide proposal API if it you canRequests for new features. Please be as specific as possible and provide proposal API if it you can
Description
What is the motivation for adding / enhancing this feature?
Errors
Use VSF Error Handling to display errors in login/registration forms.
How the flow should look like:
- User is entering the data to the form
- Sends the form
- UI notification with "Something went wrong!" is being displayed
- If the error corresponds to a certain field display it under this fields (eg email already taken under email field) (so you should do ifs based on error message therefore login/registration form are parts of integration templates)
- For other issues add
SfAlerton top of registration/login form with a friendly message. For example
<SfAlert v-if="error.logIn.message === 'Lorem ipsum dolor'" type="danger" :message="error.logIn.message" />Success
- If user logs in display "Successfully logged in" notification of type
success - If user registers successfully display "Successfully created a new account"
What are the acceptance criteria
- All errors are handled for Logging in according to specification
- All errors are handled for Registering according to specification
- Success messages are displayed
Metadata
Metadata
Assignees
Labels
NextIssues/bugs for Vue Storefront NextIssues/bugs for Vue Storefront Nextbacklogfeature requestRequests for new features. Please be as specific as possible and provide proposal API if it you canRequests for new features. Please be as specific as possible and provide proposal API if it you can