Skip to content

LG-15437: New 'Add a photo of your passport' screen#12061

Merged
solipet merged 20 commits intomainfrom
dprice/lg-15437-doc-cap-passport
Apr 22, 2025
Merged

LG-15437: New 'Add a photo of your passport' screen#12061
solipet merged 20 commits intomainfrom
dprice/lg-15437-doc-cap-passport

Conversation

@solipet
Copy link
Copy Markdown
Contributor

@solipet solipet commented Apr 9, 2025

🎫 Ticket

Link to the relevant ticket:
LG-15437
LG-16092

🛠 Summary of changes

New passport capture page in the document capture react app.

📜 Testing Plan

Can run locally or use the solipet env.

  • Start IdV and select passport
  • Confirm you are taken to the passport capture page (see screenshots below)
  • Test out uploading and taking a photo of a passport
    • For desktop, just upload any image file
    • For mobile, using the Acuant SDK, you will need to use a passport

Note
Submitting will currently fail and take you to the try again screen for state ID capture. This will be updated in a later ticket.

👀 Screenshots

Screenshot, in all languages:

en:
Desktop Mobile
LG-15437-en LG-15437-mobile-en
es:
Desktop Mobile
LG-15437-es LG-15437-mobile-es
fr:
Desktop Mobile
LG-15437-fr LG-15437-mobile-fr
zh:
Desktop Mobile
LG-15437-zh LG-15437-mobile-zh
preview:

LG-15437-preview

@solipet solipet force-pushed the dprice/lg-15437-doc-cap-passport branch from f1b2fe0 to 7b22c5f Compare April 11, 2025 20:24
@solipet solipet marked this pull request as ready for review April 11, 2025 21:04
Copy link
Copy Markdown
Contributor

@lmgeorge lmgeorge left a comment

Choose a reason for hiding this comment

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

Caveat: I'm still learning the frontend piece of the doc auth flow

This mostly looks good!

One outstanding question I have is how does the new document capture step get represented in the analytics?

There weren't any additions or changes in analytics_events.rb to support tracking the same events that are logged for front and back image capture.

@anniehirshman-gsa
Copy link
Copy Markdown
Contributor

Mobile should follow this design and content (looks different than the state ID page on mobile).

And the old yellow banner on hybrid can be removed from the "Add a photo of your passport" page because it appears on the previous page ("Choose your ID type").

Happy to test again when ready. Desktop LGTM thanks!

solipet and others added 13 commits April 18, 2025 15:51
A new 'step' for document capture for capturing a picture of a user's
passport book.

changelog: Upcoming Features, Passports, Document capture screen for passport books.

Co-authored-by: Alex Bradley <alexander.bradley@gsa.gov>
Co-authored-by: Alex Bradley <alex.bradley@gsa.gov>
Co-authored-by: John Maxwell <john.maxwell@gsa.gov>
@solipet solipet force-pushed the dprice/lg-15437-doc-cap-passport branch from bbeeb01 to f473496 Compare April 18, 2025 19:51
@solipet solipet requested a review from lmgeorge April 21, 2025 20:15
Copy link
Copy Markdown
Contributor

@theabrad theabrad left a comment

Choose a reason for hiding this comment

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

Tested it on desktop worked as intended.
Tested on mobile, the only problem I see is when you load the acuant camera and turn your phone sideways to take the picture, the camera does not take up the full screen, I can still see the browser bar and tabs on safari

@amirbey
Copy link
Copy Markdown
Contributor

amirbey commented Apr 22, 2025

I tested on mobile (Chrome) and desktop and worked as expected 👍🏿

@amirbey amirbey self-requested a review April 22, 2025 16:47
Copy link
Copy Markdown
Contributor

@AShukla-GSA AShukla-GSA left a comment

Choose a reason for hiding this comment

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

Tested and confirmed on Safari. LGTM!

@solipet solipet merged commit d0dde86 into main Apr 22, 2025
1 check passed
@solipet solipet deleted the dprice/lg-15437-doc-cap-passport branch April 22, 2025 17:13
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.

7 participants