Skip to content

LG-9134 Don't require users to make a selection from the device profiling dropdown#7934

Merged
jmhooper merged 1 commit intomainfrom
jmhooper-dont-require-selection-from-tmx-mock
Mar 6, 2023
Merged

LG-9134 Don't require users to make a selection from the device profiling dropdown#7934
jmhooper merged 1 commit intomainfrom
jmhooper-dont-require-selection-from-tmx-mock

Conversation

@jmhooper
Copy link
Contributor

@jmhooper jmhooper commented Mar 6, 2023

In #7892 we made "Pass" the default option for the simulated device profiling tooling. Unfortunately the javascript there does not submit anything unless the user actually selects a value from the dropdown. This made sense in the world where "No Result" was the default. With pass as the default it causes the user to fail downstream.

This commit makes 'pass' the default value if 'nil' is submitted. Nil will still be used as the TMx review status value if "no_result" is submitted.

…ling drop

In #7892 we made "Pass" the default option for the simulated device profiling tooling. Unfortunately the javascript there does not submit anything unless the user actually selects a value from the dropdown. This made sense in the world where "No Result" was the default. With pass as the default it causes the user to fail downstream.

This commit makes 'pass' the default value if 'nil' is submitted. Nil will still be used as the TMx review status value if "no_result" is submitted.

changelog: Improvements, Mock Device Profiling, The mock device profiling backend was changed to accept nil as a valid value in the cases where a user does not make a selection from the mock device profiling simulation javascript on the SSN step in the proofing flow.
@jmhooper jmhooper requested a review from aduth March 6, 2023 22:30
@jmhooper jmhooper changed the title LG-9134 Don't require users to make a selection from the device profi… LG-9134 Don't require users to make a selection from the device profiling dropdown Mar 6, 2023
Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

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

LGTM

@jmhooper jmhooper merged commit fc5e96b into main Mar 6, 2023
@jmhooper jmhooper deleted the jmhooper-dont-require-selection-from-tmx-mock branch March 6, 2023 22:54
@jmdembe jmdembe mentioned this pull request Mar 9, 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.

2 participants