When the admin selects the CTA "Decline," a modal should display prompting the admin to confirm.
The confirmation modal should prompt the admin to confirm before moving the application forward.
Confirmation text should read "Do you want to Decline Application?
Confirmation modal should also display a "Yes" and "No" CTA
When the admin selects the "No" CTA, the modal closes remains in current status
When the admin selects the "Yes" CTA, the modal closes and the declines application (respective of the CTA first clicked), hence the updating the database to reflect the new application status of "Decline"
Gray out all stages of the status bar.
Send decline email.
Impacted areas in the application:
NominationBanner.js
Describe the steps you took to test your changes: I set a nomination with my email and when I click on DeclineAplication/yes I received the email
List general components of the application that this PR will affect:
NominationBanner.js
PR checklist
Zenhub Link:
Describe the problem being solved:
When the admin selects the CTA "Decline," a modal should display prompting the admin to confirm. The confirmation modal should prompt the admin to confirm before moving the application forward. Confirmation text should read "Do you want to Decline Application? Confirmation modal should also display a "Yes" and "No" CTA When the admin selects the "No" CTA, the modal closes remains in current status When the admin selects the "Yes" CTA, the modal closes and the declines application (respective of the CTA first clicked), hence the updating the database to reflect the new application status of "Decline" Gray out all stages of the status bar. Send decline email.
Impacted areas in the application:
NominationBanner.js
Describe the steps you took to test your changes: I set a nomination with my email and when I click on DeclineAplication/yes I received the email
List general components of the application that this PR will affect: NominationBanner.js PR checklist