Skip to content

LG-15000: Add idv_please_call email#11604

Merged
matthinz merged 1 commit intomainfrom
matthinz/15000-idv-please-call-part-1
Dec 18, 2024
Merged

LG-15000: Add idv_please_call email#11604
matthinz merged 1 commit intomainfrom
matthinz/15000-idv-please-call-part-1

Conversation

@matthinz
Copy link
Contributor

@matthinz matthinz commented Dec 5, 2024

NOTE: This is the first of three PRs, which will be spread across deploys. The next one is #11662, then #11664.

🎫 Ticket

Link to the relevant ticket:
LG-15000

🛠 Summary of changes

We want to update the remote flow to send the "Please call" email. Since it will be the same email the IPP flow currently sends, we're going to rename it to be more generic: idv_please_call rather than in_person_please_call.

This PR is step one of the process:

  • Rename templates, i18n keys, etc
  • Add idv_please_call method to the mailer
  • Add in_person_please_call as an alias to that method (so we don't break)

A subsequent PR will actually add the email to the remote flow and update the in person flow to use the new name.

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  1. Update your application.yml to reduce the interval at which the IDP sends the "Please call" email for IPP:
in_person_results_delay_in_hours: -1
  1. Go through IdV, selecting the in-person proofing route (make sure you are wicked so that you are flagged by ThreatMetrix)

  2. Once you have your barcode, go to the IPP enrollment list and approve yourself

  3. Verify that the "Please call" email sends as expected

@matthinz matthinz requested a review from a team December 5, 2024 21:00
@matthinz matthinz force-pushed the matthinz/15000-idv-please-call-part-1 branch from d21aa15 to e4cf87b Compare December 6, 2024 17:53
Base automatically changed from matthinz/return-profile to main December 6, 2024 18:37
@matthinz matthinz force-pushed the matthinz/15000-idv-please-call-part-1 branch 3 times, most recently from 3f8c0d5 to 24def64 Compare December 6, 2024 21:01
@matthinz matthinz force-pushed the matthinz/15000-idv-please-call-part-1 branch 3 times, most recently from 8a3cb94 to 8b232aa Compare December 17, 2024 18:17
@voidlily
Copy link
Contributor

can you rebase this to pick up fixes for the reviewapps cluster to be less sad?

- Change to idv_please_call to indicate it is used by idv generally
- Keep in_person_please_call as an alias on the theory that we need it for 1 deploy

[skip changelog]

RSpec.describe UserMailerPreview do
it_behaves_like 'a mailer preview'
it_behaves_like 'a mailer preview', preview_methods_that_can_be_missing: [:in_person_please_call]
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this meant to be temporary until we're fully moved over to the new name?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

Copy link
Contributor

@eileen-nava eileen-nava left a comment

Choose a reason for hiding this comment

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

LGTM.

end
end

alias_method :in_person_please_call, :idv_please_call
Copy link
Contributor

Choose a reason for hiding this comment

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

👏🏻

user_mailer.email_deleted.help_html: If you did not want to delete this email address, please visit the %{app_name_html} %{help_link_html} or %{contact_link_html}.
user_mailer.email_deleted.subject: Email address deleted
user_mailer.help_link_text: Help Center
user_mailer.idv_please_call.body.contact_message_html: Call <strong>%{contact_number}</strong> and provide them with the error code <strong>%{support_code}</strong>.
Copy link
Contributor

Choose a reason for hiding this comment

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

💪🏻

@matthinz matthinz merged commit 6b5f274 into main Dec 18, 2024
@matthinz matthinz deleted the matthinz/15000-idv-please-call-part-1 branch December 18, 2024 18:25
matthinz added a commit that referenced this pull request Jan 14, 2025
This was added to support changing the name of a template in #11604 and is no longer needed.

[skip changelog]
matthinz added a commit that referenced this pull request Jan 14, 2025
This was added to support changing the name of a template in #11604 and is no longer needed.

[skip changelog]
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.

5 participants