-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LG-15000: Add idv_please_call email #11604
Conversation
d21aa15
to
e4cf87b
Compare
3f8c0d5
to
24def64
Compare
8a3cb94
to
8b232aa
Compare
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]
8b232aa
to
092612f
Compare
@@ -2,7 +2,7 @@ | |||
require_relative './user_mailer_preview' | |||
|
|||
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] |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏🏻
@@ -1875,6 +1875,10 @@ user_mailer.email_deleted.header: An email address was deleted from your %{app_n | |||
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>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💪🏻
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 thanin_person_please_call
.This PR is step one of the process:
idv_please_call
method to the mailerin_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.
Go through IdV, selecting the in-person proofing route (make sure you are wicked so that you are flagged by ThreatMetrix)
Once you have your barcode, go to the IPP enrollment list and approve yourself
Verify that the "Please call" email sends as expected