Skip to content

LG-3022: extending auth clients to accept front/back DL images in one call.#3901

Merged
solipet merged 11 commits intomasterfrom
dprice-lg-3022-one-form-to-submit-them-all
Jul 14, 2020
Merged

LG-3022: extending auth clients to accept front/back DL images in one call.#3901
solipet merged 11 commits intomasterfrom
dprice-lg-3022-one-form-to-submit-them-all

Conversation

@solipet
Copy link
Contributor

@solipet solipet commented Jul 10, 2020

We're capping this story on merging the front/back image upload (desktop only) into one call so that we can prepare for the switch over to Experian.

As a user, I would like a form that allows me to upload the necessary images so that I can complete my proofing.

AC:

  • A single back-end call for docauth instead of two calls

This is in addition to the existing flow, not replacing - need to be able to switch back and forth (feature flag)

@solipet solipet changed the title LG-3022: extending auth clients to accept all images in one call. LG-3022: extending auth clients to accept front/back DL images in one call. Jul 13, 2020
@solipet solipet marked this pull request as ready for review July 13, 2020 18:13
@solipet solipet force-pushed the dprice-lg-3022-one-form-to-submit-them-all branch from 8fec481 to ba4adeb Compare July 13, 2020 18:24
Comment on lines +30 to +32
$('#take_picture').on('click', function() {
document.getElementById('doc_auth_front_image').click();
});
Copy link
Contributor

Choose a reason for hiding this comment

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

I haven't tested to see how this behaves, but seeing as the same ID is being used for both the front and back image, each with a click handler to click on a different element, I've got to imagine there would be some conflict, where both would be clicked.

Copy link
Contributor

@jmhooper jmhooper left a comment

Choose a reason for hiding this comment

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

Awesome, I think this one is ready to go then we can move on to selfie 👍

@solipet solipet force-pushed the dprice-lg-3022-one-form-to-submit-them-all branch from 92d6a4f to d73a702 Compare July 14, 2020 18:31
@solipet solipet merged commit 98e59a6 into master Jul 14, 2020
@solipet solipet deleted the dprice-lg-3022-one-form-to-submit-them-all branch July 14, 2020 18:51
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.

4 participants