-
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
Update verify messages with app name #1841
Conversation
0c6a61b
to
ffff41e
Compare
ffff41e
to
e95f92c
Compare
app/views/verify/fail.html.slim
Outdated
@@ -1,10 +1,12 @@ | |||
- title t('idv.titles.hardfail') | |||
.clearfix | |||
.col-10.sm-col-12.mx-auto | |||
.center |
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.
do we need all three wrapping divs?
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.
That was copy pasta, no, just two should work
e95f92c
to
d7d6e0c
Compare
**Why**: Clarify which entity is verifying the users identity. Updated styles to be more consistent
@@ -23,7 +23,7 @@ def initialize(loa3_requested:, decorated_session:, current_user:) | |||
# rubocop:disable Rails/OutputSafety | |||
def heading | |||
if requested_loa == 'loa3' | |||
content_tag(:strong, I18n.t('titles.sign_up.verified')) | |||
content_tag(:strong, I18n.t('titles.sign_up.verified', app: APP_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.
If someone went an IDP route, is APP_NAME still set to something?
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.
yeah, APP_NAME is always set to login.gov in our case.
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
Why:
Clarify which entity is verifying the users
identity
Hi! Before submitting your PR for review, and/or before merging it, please
go through the following checklist:
For DB changes, check for missing indexes, check to see if the changes
affect other apps (such as the dashboard), make sure the DB columns in the
various environments are properly populated, coordinate with devops, plan
migrations in separate steps.
For route changes, make sure GET requests don't change state or result in
destructive behavior. GET requests should only result in information being
read, not written.
For encryption changes, make sure it is compatible with data that was
encrypted with the old code.
Do not disable Rubocop or Reek offenses unless you are absolutely sure
they are false positives. If you're not sure how to fix the offense, please
ask a teammate.
When reading data, write tests for nil values, empty strings,
and invalid formats.
When calling
redirect_to
in a controller, use_url
, not_path
.When adding user data to the session, use the
user_session
helperinstead of the
session
helper so the data does not persist beyond the user'ssession.