Skip to content
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 send email verification button #1445

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Chisomchima
Copy link
Member

@Chisomchima Chisomchima commented Nov 19, 2024

Implements DHIS2-18374

Description

This PR introduces functionality to allow users to initialize the email verification process from their profile page. It adheres to the outlined acceptance criteria and integrates backend communication to handle email verification requests.


Checklist

  • Added a "Verify Email" button to the user profile page, which is displayed only under specific conditions.
  • Integrated API call to the backend verify email endpoint (POST /api/account/sendEmailVerification).
  • Implemented UI feedback (spinner and disabled state) during request progress.
  • Handled request success and failure states, displaying appropriate alert messages.

@Chisomchima Chisomchima self-assigned this Nov 19, 2024
@Chisomchima Chisomchima marked this pull request as draft November 19, 2024 08:22
@dhis2-bot
Copy link
Contributor

dhis2-bot commented Nov 19, 2024

🚀 Deployed on https://pr-1445--dhis2-user-profile.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify November 19, 2024 08:23 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 19, 2024 08:38 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants