Skip to content

LG-7400 Add update functionality to VerifyInfoController outside Flow State Machine (rebased)#7676

Merged
soniaconnolly merged 14 commits intomainfrom
sonia-lg-7400-rebased
Jan 23, 2023
Merged

LG-7400 Add update functionality to VerifyInfoController outside Flow State Machine (rebased)#7676
soniaconnolly merged 14 commits intomainfrom
sonia-lg-7400-rebased

Conversation

@soniaconnolly
Copy link
Contributor

This is the correct set of cherry-picked commits from PR #7661. Recommend merging this one instead. Feedback from prior reviews has been addressed.

What
Add update functionality to VerifyInfoController outside Flow State Machine

  • After submitting the info on the verify screen it is submitted to the enabled vendor(s)
  • Errors from the vendor are rendered to the user
  • If there are no errors the user is sent to the phone step
  • Rate limiting is enforced on this step
  • Async functionality included (LG-7401) because it wasn't feasible to separate it out, but LG-7401 will now be the ticket for adding the Spinner button back in.

All changes are hidden behind doc_auth_verify_info_controller_enabled IdentityConfig feature flag which is false in prod.

🎫 Ticket

LG-7400

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Confirm that doc_auth_verify_info_controller_enabled flag is false
  • Run through remote proofing, confirm unchanged
  • Set doc_auth_verify_info_controller_enabled flag to true
  • Run through remote proofing, will see /verify/verify_info url in browser for Verify step
  • Screens should otherwise remain unchanged
  • Confirm other proofing flows also unchanged

soniaconnolly and others added 14 commits January 20, 2023 15:26
Co-authored-by: Jonathan Hooper <jonathan.hooper@gsa.gov>
Co-authored-by: Jonathan Hooper <jonathan.hooper@gsa.gov>
Co-authored-by: Eric Gade <eric.gade@gsa.gov>
Co-authored-by: Jonathan Hooper <jonathan.hooper@gsa.gov>
Replace resolution_info_verified with already existing resolution_successful

Co-authored-by: Eric Gade <eric.gade@gsa.gov>
Look for proofing results in :stages, :resolution rather than :extra

Co-authored-by: Eric Gade <eric.gade@gsa.gov>
Redirect back to verify_info if needed from review controller before action
Proofing results exception found deeper in data structure on failure

Co-authored-by: Eric Gade <eric.gade@gsa.gov>
Co-authored-by: Alex Bradley <alexander.bradley@gsa.gov>
per PR feedback. This is now available for a future PR to use in PhoneController and VerifyBaseStep.

Co-authored-by: Alex Bradley <alexander.bradley@gsa.gov>
Co-authored-by: Eric Gade <eric.gade@gsa.gov>
changelog: Internal, Flow State Machine, Add update action for new VerifyInfoController
Copy link
Contributor

@eric-gade eric-gade left a comment

Choose a reason for hiding this comment

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

manually compared with older branch, looks good

@soniaconnolly soniaconnolly merged commit d57c3d1 into main Jan 23, 2023
@soniaconnolly soniaconnolly deleted the sonia-lg-7400-rebased branch January 23, 2023 22:03
@mdiarra3 mdiarra3 mentioned this pull request Jan 26, 2023
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