Skip to content
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

Merged
merged 1 commit into from
Dec 5, 2017
Merged

Conversation

nickbristow
Copy link
Contributor

@nickbristow nickbristow commented Dec 5, 2017

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 helper
    instead of the session helper so the data does not persist beyond the user's
    session.

@nickbristow
Copy link
Contributor Author

nickbristow commented Dec 5, 2017

banners_and_alerts_and_login_gov_-_you_have_verified_your_identity_with__ app

login_gov_-_you_have_verified_your_identity_with__ app

login_gov_-_we_weren_t_able_to_verify_your_identity_with__ app

login_gov_-_we_weren_t_able_to_verify_your_identity_with__ app

@nickbristow nickbristow force-pushed the nb-update-verified-message branch 3 times, most recently from 0c6a61b to ffff41e Compare December 5, 2017 19:39
@nickbristow nickbristow force-pushed the nb-update-verified-message branch from ffff41e to e95f92c Compare December 5, 2017 19:58
@@ -1,10 +1,12 @@
- title t('idv.titles.hardfail')
.clearfix
.col-10.sm-col-12.mx-auto
.center
Copy link
Contributor

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?

Copy link
Contributor Author

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

@nickbristow nickbristow force-pushed the nb-update-verified-message branch from e95f92c to d7d6e0c Compare December 5, 2017 20:29
**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))
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

@tbaxter-18f tbaxter-18f left a comment

Choose a reason for hiding this comment

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

LGTM

@nickbristow nickbristow merged commit 4c17739 into master Dec 5, 2017
@nickbristow nickbristow deleted the nb-update-verified-message branch December 5, 2017 20:44
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.

2 participants