Skip to content

LG-6434: Create template for "Your identity could not be verified" email, and send when status is set to failed#6676

Merged
tomas-nava merged 14 commits intoshannon/lg-6341-verified-identity-emailfrom
shannon/lg-6434-failed-identity-email-clean-rebase
Aug 2, 2022
Merged

LG-6434: Create template for "Your identity could not be verified" email, and send when status is set to failed#6676
tomas-nava merged 14 commits intoshannon/lg-6341-verified-identity-emailfrom
shannon/lg-6434-failed-identity-email-clean-rebase

Conversation

@tomas-nava
Copy link
Contributor

@tomas-nava tomas-nava commented Aug 2, 2022

Why: As a public user who's visited a Post Office to be proofed in person, I want to know whether or not I was successfully proofed.

Testing instructions:

  1. Go to http://localhost:3000/rails/mailers/user_mailer/in_person_failed
Screenshot

your-identity-could-not-be-verified-email-v2

@tomas-nava tomas-nava changed the title LG-6434: Implement email template for "Your identity could not be verified", and send when status is set to failed LG-6434: Create template for "Your identity could not be verified" email, and send when status is set to failed Aug 2, 2022
Required by tests for single point of update
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

</p> tag removal is main blocker-ish item, but otherwise LGTM 👍

FYI I pushed minor changes in 543e6bf to resolve the failing build.

<%= link_to idv_url, idv_url, target: '_blank', rel: 'noopener' %>
</p>

<div class="s16">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separately we should consider changing the default font size for all emails, so we're not applying them to individual templates like this.

</div>

<p>
<%= link_to idv_url, idv_url, target: '_blank', rel: 'noopener' %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to note, we're telling the user to follow these links to "try again", but unless the user is already signed in when they visit /verify, they would be presented with the sign in page, and we don't currently redirect the user to their original intended destination (LG-3737), so they would arrive at their account page after signing in.

Copy link

@kellular kellular left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cross-checked the screenshot with the Figma file. This LGTM

@tomas-nava tomas-nava merged commit 24f02d3 into shannon/lg-6341-verified-identity-email Aug 2, 2022
@tomas-nava tomas-nava deleted the shannon/lg-6434-failed-identity-email-clean-rebase branch August 2, 2022 15:43
tomas-nava pushed a commit that referenced this pull request Aug 2, 2022
… set to passed (#6665)

* add styles to email stylesheet

* add heading strings

* add verified email strings

* add route

* create verified email and show in preview

* add send verified email to jobs

* lint fix

* fix urls? and normalize yaml

* can hide title in layout, added to new template

* use rasterized header image & add padding

* use the standard email button size

* use existing sample enrollment data for preview

* send email in job, remove user's first name

* rename presenter methods

* tests

* add changelog

changelog: Upcoming Features, In-Person Proofing, Implement "You verified" email notification

* fix i18n test failures

* LG-6434: Create template for "Your identity could not be verified" email, and send when status is set to failed (#6676)

* add strings

* fr strings added

* refactor presenter

* add failure email ui

* update spec to use refactored presenter

* failure email

* normalize yaml, split list into steps

* email styles: no header image, bold list opener

* mover lower part of both emails into a partial

* Interpolate app_name

Required by tests for single point of update

* styling changes

Co-authored-by: Shannon Alexander <shannonalexander@Shannons-MBP.fios-router.home>
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>

Co-authored-by: Shannon Alexander <shannonalexander@Shannons-MBP.fios-router.home>
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
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.

3 participants