Skip to content

LG-11634: remove phone question and logging from backend#9675

Merged
dawei-nava merged 8 commits intomainfrom
dwang/LG-11634-remove-phone-question
Dec 5, 2023
Merged

LG-11634: remove phone question and logging from backend#9675
dawei-nava merged 8 commits intomainfrom
dwang/LG-11634-remove-phone-question

Conversation

@dawei-nava
Copy link
Contributor

@dawei-nava dawei-nava commented Nov 28, 2023

🎫 Ticket

LG-11634: remove phone question and logging from backend

🛠 Summary of changes

This removes completely phone question page and ab testing related code in the backend.

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Step 1: Start document auth
  • Step 2: Accept on the agreement page.
  • Step 3: User should be on hybrid handoff page, other than the phone question page.

@dawei-nava dawei-nava force-pushed the dwang/LG-11634-remove-phone-question branch from d7180fb to ebf17b7 Compare November 30, 2023 13:49
@dawei-nava dawei-nava marked this pull request as ready for review December 1, 2023 13:59
personal_key
personal_key_acknowledged
phone_for_mobile_flow
phone_with_camera
Copy link
Contributor

Choose a reason for hiding this comment

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

This session attribute removal should be okay to deploy at the same time as deleting the controller that uses it, because the feature flag has been turned off for a while.

Comment on lines -348 to -350
get '/phone_question' => 'phone_question#show'
get '/phone_question/phone_with_camera' => 'phone_question#phone_with_camera'
get '/phone_question/phone_without_camera' => 'phone_question#phone_without_camera'
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to change these to redirects to hybrid handoff so that a user with a bookmark doesn't get a 404?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@soniaconnolly , what are our common practice here, is this standard practice?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@soniaconnolly , ok did some testing. I copied the hybrid-handoff page url(essentially bookmark it), then I close the browser.

Revisit loging.gov, it asks me to login, and then I go directly to http://localhost:3000/verify/hybrid_handoff, it lands on welcome page. So i think without a valid doc auth session, it will start from the beginning.

Copy link
Contributor

@eileen-nava eileen-nava left a comment

Choose a reason for hiding this comment

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

This looks good to me. Thanks for taking care of this PR, I know it was a lot of changes. 🙏🏻

@dawei-nava dawei-nava merged commit db2c533 into main Dec 5, 2023
@dawei-nava dawei-nava deleted the dwang/LG-11634-remove-phone-question branch December 5, 2023 23:36
@solipet solipet mentioned this pull request Dec 7, 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.

4 participants