Skip to content

LG-8734 direct link to update ssn from VerifyInfoController when using new SsnController#7848

Merged
soniaconnolly merged 5 commits intomainfrom
sonia-lg-8734-direct-link-to-update-ssn
Feb 17, 2023
Merged

LG-8734 direct link to update ssn from VerifyInfoController when using new SsnController#7848
soniaconnolly merged 5 commits intomainfrom
sonia-lg-8734-direct-link-to-update-ssn

Conversation

@soniaconnolly
Copy link
Contributor

@soniaconnolly soniaconnolly commented Feb 17, 2023

🎫 Ticket

LG-8734

🛠 Summary of changes

Behind the feature flag for the new SsnController, use a direct link to update the SSN on the Verify Info page, rather than a button that looks like a link. This gets rid of a trailing ? on the url in the browser address bar.

Also added small whitespace changes and renamed IdvSession#ssn_updated! to invalidate_steps_after_ssn! per feedback from @zachmargolis on #7810 that I saw after merging it.

Note: Once we get rid of the feature flag, a couple more tests will need to change click_button to click_link for ssn update on the VerifyInfo view.

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • In dev or some other environment where doc_auth_ssn_controller_enabled feature flag is set to true
  • Create an account
  • Navigate to /verify and go through verification steps
  • On VerifyInfo step, click Update link next to the SSN and note that the url is verify/ssn without a ? at the end.

👀 Screenshots

After: ![image](https://user-images.githubusercontent.com/2381438/219515711-d44c3ec9-226e-4333-9254-4420c7c0bf1b.png)

soniaconnolly and others added 4 commits February 16, 2023 14:08
Note that when the ssn_controller goes live, a couple of other tests will have to change from click_button to click_link.

Co-authored-by: Matt Hinz <matt.hinz@gsa.gov>
from Zach's feedback in previous SsnController PR
per feedback from Zach

[skip changelog]
@soniaconnolly soniaconnolly marked this pull request as ready for review February 17, 2023 00:06
@soniaconnolly soniaconnolly requested review from a team, jmhooper and zachmargolis February 17, 2023 00:07
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! 👍

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM! thanks for following up with those suggestions!

)

idv_session.ssn_updated!
idv_session.invalidate_steps_after_ssn!
Copy link
Contributor

Choose a reason for hiding this comment

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

love the new name!

@soniaconnolly soniaconnolly merged commit cba40b7 into main Feb 17, 2023
@soniaconnolly soniaconnolly deleted the sonia-lg-8734-direct-link-to-update-ssn branch February 17, 2023 17:30
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.

3 participants