-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add email verification pages #57
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 🎉.
I've left some comments to clean up some styling points.
We also need to wrap the strings in i18n.t function for translations.
In the login app, this happens slightly differently (because we allow you to change the language without reloading the page), so you need to get a list of languages and then pass them to the translation function as options, e.g.
const MyComponent = () => {
const {lngs} = useLoginConfig()
return (<p>{i18n.t('This is my text,{lngs})}</p>
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 🚀
🎉 This PR is included in version 100.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Implements DHIS2-18375
Description
This PR introduces two pages within the Login app to provide feedback on the status of email verification for users:
Email Verification Success Page
Email Verification Error Page
The functionality aims to improve the user experience by providing clear and actionable feedback on email verification attempts.
Screenshots
Email Verification Success Page
Email Verification Error Page