Skip to content

LG-6308: Show correct step indicator steps in in-person flow#6846

Merged
aduth merged 18 commits intomainfrom
aduth-lg-6308-step-indicator-steps
Sep 2, 2022
Merged

LG-6308: Show correct step indicator steps in in-person flow#6846
aduth merged 18 commits intomainfrom
aduth-lg-6308-step-indicator-steps

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Aug 26, 2022

Related: #6860

Why: As a user going through in-person proofing, I want to see a step indicator at the top of the page that shows me moving forward in the flow, so that it's easy to understand that I'm making progress and what I still need to do.

Screen Before After
Phone phone-before phone-after
Phone OTP Delivery Method phone-otp-deliver-before phone-otp-deliver-after
Phone OTP Confirmation phone-otp-confirm-before phone-otp-confirm-after
GPO Opt-in gpo-before gpo-after
Password Confirm review-before review-after
GPO Password Confirm review-gpo-before review-gpo-after
Personal Key personal-key-before personal-key-after
GPO Personal Key personal-key-gpo-before personal-key-gpo-after
GPO "Come Back Soon" come-back-soon-before come-back-soon-after
GPO Confirmation gpo-confirm-before gpo-confirm-after
Ready to Verify In Person ready-before ready-after
GPO Ready to Verify In Person ready-gpo-before ready-gpo-after

@aduth aduth force-pushed the aduth-lg-6308-step-indicator-steps branch from b277dda to 1b7b686 Compare August 30, 2022 20:38
@aduth aduth changed the base branch from main to aduth-lg-6307-step-indicator-pending August 30, 2022 20:38
@aduth aduth force-pushed the aduth-lg-6307-step-indicator-pending branch from 396506c to fba1bf0 Compare September 1, 2022 17:42
@aduth aduth force-pushed the aduth-lg-6308-step-indicator-steps branch 2 times, most recently from 2ee8e8c to 123145d Compare September 1, 2022 17:45
Comment on lines 6 to 13
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Notes on the changes here:

  • I removed the protocol-specific test repetition, consistent with previous changes in Try limiting IdV cancellation shared examples to single SP #6404 to improve feature spec performance
    • As part of this, I moved the shared example code into this spec file, to be run once.
  • The "GPO proofing disabled" context wasn't doing what it claimed to be doing, since it never set up the actual contextual variation.
    • I added a new "with gpo feature disabled" to the spec file which actually disables the feature to test that a user can still verify their profile.

@aduth aduth requested review from a team, kellular and sheldon-b and removed request for a team September 1, 2022 20:46
@aduth aduth marked this pull request as ready for review September 1, 2022 20:46
Copy link
Contributor

@tomas-nava tomas-nava left a comment

Choose a reason for hiding this comment

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

approve! It's a really elegant solution.

I checked the indicator on all the IPP flow pages against the designs and everything lined up!

Base automatically changed from aduth-lg-6307-step-indicator-pending to main September 2, 2022 14:17
aduth added 13 commits September 2, 2022 10:18
**Why**: As a user going through in-person proofing, I want to see a step indicator at the top of the page that shows me moving forward in the flow, so that it's easy to understand that I'm making progress and what I still need to do.

changelog: Upcoming Features, In-person proofing, Show correct step indicator at each step
Helper method for step_indicator_steps
Clean up, simplify diff
This is now the responsibility of the helper
Since it's accessed outside the class
nil.as_json.to_h == nil.to_h
@aduth aduth force-pushed the aduth-lg-6308-step-indicator-steps branch from 4347992 to c2cdd6b Compare September 2, 2022 14:18
@aduth aduth merged commit 8e0873c into main Sep 2, 2022
@aduth aduth deleted the aduth-lg-6308-step-indicator-steps branch September 2, 2022 18:46
@zachmargolis zachmargolis mentioned this pull request Sep 7, 2022
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.

2 participants