Description
Testing Instructions
This PR is for adding an email validation banner on the Launchpad page. The banners shows up for any new user that hasn’t validated their email yet.
- Create a new WordPress account. (You can use Temp Email)
- Create a new Launchpad site
- Go to
http://calypso.localhost:3000/setup/launchpad?flow=link-in-bio&siteSlug=YOUR_SITE_SLUG
- You should see the banner displayed on the top of the page
- Click
Resend Email
. You should see the success email notice appear in the top-right and you should receive a new email
- Click
change email address
. You should be redirected to your account page. Click Resend Email
. You should see the success email notice appear in the top-right and you should receive a new email
- Go back to Launchpad
- Use the DevTools to block the request URL for the email verification. By doing this you can simulate a failed request. Click
Resend Email
. You should see the failure email notice appear in the top-right and you should not receive a new email
- Click
change email address
. You should be redirected to your account page. Click Resend Email
. You should see the failure email notice appear in the top-right and you should not receive a new email
- Go back to Launchpad
- Close the email verification banner and refresh the page. The banner should appear again.
- Go to your email and follow the verification link. Once you have verified your email, go back to Launchpad. You should not see the email banner anymore
demo.mov
Icon Changes
After a conversation in slack, I am going for an already existing icon as opposed to the custom icon in the mockup. We will most likely follow up on this
Pre-merge Checklist
Related to #68961
Unfortunately, no screenshots were provided by the developer.