Skip to content

Start renaming skip_upload parameter#8884

Merged
matthinz merged 4 commits intomainfrom
matthinz/rename-skip-upload
Jul 27, 2023
Merged

Start renaming skip_upload parameter#8884
matthinz merged 4 commits intomainfrom
matthinz/rename-skip-upload

Conversation

@matthinz
Copy link
Contributor

🎫 Ticket

Kind of related to LG-10402

🛠 Summary of changes

We've already renamed "upload" step of IdV to "hybrid handoff". This PR begins the process of renaming an internal parameter from skip_upload to skip_hybrid_handoff. To handle the 50/50 state during deployment, we'll temporarily send both skip_upload and skip_hybrid_handoff and let our controllers accept both. A future PR (to be merged after this is deployed) will fully remove support for skip_upload.

This PR also adds some test coverage for what happens when skip_upload or skip_hybrid_handoff is present–the details of this will change with work on LG-10402, but I wanted to capture it as it is here.

Also, since we're in the process of A/B testing a new unified "Getting Started" screen, this PR involves the same changes made to AgreementController and GettingStartedController.

@matthinz matthinz requested a review from a team July 27, 2023 18:01
@matthinz
Copy link
Contributor Author

#8885 will be the cleanup PR for this one, ready to merge after this is deployed.


def update
skip_to_capture if params[:skip_upload]
skip_to_capture if params[:skip_hybrid_handoff] || params[:skip_upload]
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think of changing the new parameter name to is_mobile or mobile_device_detected or something like that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I want to keep it as skip_hybrid_handoff. At this moment it makes slighly more sense to me to think of it as the client saying "I don't need to see the hybrid handoff screen" rather than the server saying "you're probably a mobile device with a camera, so I won't show you the hybrid handoff screen".

@matthinz matthinz merged commit 86fa605 into main Jul 27, 2023
@matthinz matthinz deleted the matthinz/rename-skip-upload branch July 27, 2023 21:17
matthinz added a commit that referenced this pull request Jul 28, 2023
The process of renaming skip_upload to skip_hybrid_handoff was started in #8884. This completes the job.

[skip changelog]
matthinz added a commit that referenced this pull request Aug 1, 2023
The process of renaming skip_upload to skip_hybrid_handoff was started in #8884. This completes the job.

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