Skip to content

LG-8816 Implement the redo document capture action for the new verify info controller#7748

Merged
jmhooper merged 2 commits intomainfrom
jmhooper-fix-the-redo-doc-capture-code
Feb 2, 2023
Merged

LG-8816 Implement the redo document capture action for the new verify info controller#7748
jmhooper merged 2 commits intomainfrom
jmhooper-fix-the-redo-doc-capture-code

Conversation

@jmhooper
Copy link
Contributor

@jmhooper jmhooper commented Feb 1, 2023

The verify info controller is a replacement for the verify info step. When it was being built we overlooked a feature that allowed users with barcode errors to recapture an image of their document.

This commit implements that feature for the verify info controller

… info controller

The verify info controller is a replacement for the verify info step. When it was being built we overlooked a feature that allowed users with barcode errors to recapture an image of their document.

This commit implements that feature for the verify info controller

[skip changelog]
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.

I tried testing locally but I wasn't able to get past the document capture step with my test document. Unsure if that's something with my test file / local environment, or a real issue? In any case, the code itself looks good.

Test file:

document:
  type: license
  first_name: Susan
  last_name: Smith
  middle_name: Q
  address1: 1 Microsoft Way
  address2: Apt 3
  city: Bayside
  state: NY
  zipcode: "11364"
  dob: 10/06/1938
  phone: +1 314-555-1212
failed_alerts:
  - name: 2D Barcode Read
    result: Attention

Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

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

LGTM!

'doc_auth.headings.capture_scan_warning_html',
link: render(
FormLinkComponent.new(
href: idv_doc_auth_step_path(step: :redo_document_capture),
Copy link
Contributor

Choose a reason for hiding this comment

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

Eventually, redo_document_capture will need to be its own controller and this link will need to change. Looks good for now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, we may want to throw together a story for that 🤔

@jmhooper jmhooper merged commit 7d0653c into main Feb 2, 2023
@jmhooper jmhooper deleted the jmhooper-fix-the-redo-doc-capture-code branch February 2, 2023 16:48
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