cds-snc / notification-planning

Project planning for GC Notify Team
5 stars 0 forks source link

Create service email. Warning appears as error #1473

Closed amazingphilippe closed 4 months ago

amazingphilippe commented 9 months ago

Description of issue

If an email is entered in an incorrect format in Step 2 of 3 of Creating a service, characters that are not allowed are removed automatically and the page is reloaded with a correctly reformatted address. The input is highlighted as though the content in the field is not valid and has an associated error message. The message that appears above the field looks like an error, while it functions more as a warning to let users know that the email has been changed to match the required format and asking users to verify. Consider using different visual presentation for errors and warnings and more explicitly explaining what has occurred, for example, “We have reformatted your email to match the required format. Please make sure we formatted it correctly”.

image.png

Potential fix

amazingphilippe commented 5 months ago

Discussed some more potential fixes:

We landed on expanding our confirmation patter that we use on the scheduler, and our service identity preview prototype.

Our confirmation pattern looks like this:

image.png

Some AC: