Skip to content

Update FormStepsButton to place choice of "Submit" or "Continue" to renderer#6280

Merged
aduth merged 2 commits intomainfrom
aduth-form-steps-button
May 2, 2022
Merged

Update FormStepsButton to place choice of "Submit" or "Continue" to renderer#6280
aduth merged 2 commits intomainfrom
aduth-form-steps-button

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Apr 29, 2022

Why: Because the current implementation relies on the assumption that we would only ever want to show "Submit" as the label of the last button in the flow, which is not the intention, and is not compatible with the current implementation of the personal key confirmation modal in the IdV API React implementation.

For the most part, these button labels are static. The one "gotcha" case is that "Documents" step in document capture should show "Continue" when a selfie is to be captured, and "Submit" otherwise. This was already checked for in existing test cases, for regression prevention.

Related discussion: #6229 (comment)

Copy link
Contributor

@anniehirshman-gsa anniehirshman-gsa left a comment

Choose a reason for hiding this comment

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

Sounds good to me, thanks! 👍

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

…enderer

**Why**: Because the current implementation relies on the assumption that we would only ever want to show "Submit" as the label of the last button in the flow, which is not the intention, and is not compatible with the current implementation of the personal key confirmation modal in the IdV API React implementation.

Related discussion: #6229 (comment)

changelog: Upcoming Features, Identity Verification, Add personal key step screen
@aduth aduth force-pushed the aduth-form-steps-button branch from 57a2ea2 to 0b1dc16 Compare May 2, 2022 18:25
@aduth aduth merged commit 9b4a1bf into main May 2, 2022
@aduth aduth deleted the aduth-form-steps-button branch May 2, 2022 19:34
peggles2 pushed a commit that referenced this pull request May 3, 2022
…enderer (#6280)

* Update FormStepsButton to place choice of "Submit" or "Continue" to renderer

**Why**: Because the current implementation relies on the assumption that we would only ever want to show "Submit" as the label of the last button in the flow, which is not the intention, and is not compatible with the current implementation of the personal key confirmation modal in the IdV API React implementation.

Related discussion: #6229 (comment)

changelog: Upcoming Features, Identity Verification, Add personal key step screen

* Fix spec lingering reference to personal key confirm "Submit"
peggles2 pushed a commit that referenced this pull request May 5, 2022
…enderer (#6280)

* Update FormStepsButton to place choice of "Submit" or "Continue" to renderer

**Why**: Because the current implementation relies on the assumption that we would only ever want to show "Submit" as the label of the last button in the flow, which is not the intention, and is not compatible with the current implementation of the personal key confirmation modal in the IdV API React implementation.

Related discussion: #6229 (comment)

changelog: Upcoming Features, Identity Verification, Add personal key step screen

* Fix spec lingering reference to personal key confirm "Submit"
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