Skip to content

LG-6341: Create template for success email and send it when status is set to passed#6665

Merged
tomas-nava merged 19 commits intomainfrom
shannon/lg-6341-verified-identity-email
Aug 2, 2022
Merged

LG-6341: Create template for success email and send it when status is set to passed#6665
tomas-nava merged 19 commits intomainfrom
shannon/lg-6341-verified-identity-email

Conversation

@tomas-nava
Copy link
Contributor

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

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

Testing instructions:

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

you-verified-your-identity-email-v2

</table>
<h4><%= @header || message.subject %>
</h4><%= yield %>
<% unless @hide_title %>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm doing this so we can render the image above the title

changelog: Upcoming Features, In-Person Proofing, Implement "You verified" email notification
@rutvigupta-design
Copy link

LGTM! 🎉

@tomas-nava tomas-nava changed the title LG-6341: Implement email template for "You verified your identity", and send when status is set to passed LG-6341: Create template for success email and send it when status is set to passed Aug 2, 2022
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.

LGTM, comments are minor and non-blocking 👍

Comment on lines +4 to +5
# update to user's time zone when out of pilot
USPS_SERVER_TIMEZONE = ActiveSupport::TimeZone['America/New_York']
Copy link
Contributor

Choose a reason for hiding this comment

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

It's a problem we can sort out later, but I'm wondering how we'll know what the user's timezone is. I don't think we record this preference anywhere.

…ail, 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>
@tomas-nava tomas-nava merged commit 8205a50 into main Aug 2, 2022
@tomas-nava tomas-nava deleted the shannon/lg-6341-verified-identity-email branch August 2, 2022 17:19
@solipet solipet mentioned this pull request Aug 9, 2022
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.

4 participants