-
Notifications
You must be signed in to change notification settings - Fork 166
LG-12080: Error Messages for Facematch Fail #10042
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
charleyf
merged 34 commits into
main
from
charley/lg-12080-error-messages-for-facematch-fail
Feb 22, 2024
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
4a1aa1a
Add failing test
charleyf b2d052d
Change component so test passes
charleyf de806a7
Add tests for selfie quality/liveness
charleyf e648a99
Add failing test for failed selfie
charleyf 484b02e
Make tests pass
charleyf 0ce9826
Add heading text
charleyf e318726
Draft in selfie field error
charleyf 9e1e2ce
Pass isFailedSelfie through from response
charleyf 7ff6c51
Remove unnessecary error message and routing
charleyf 84e3538
Add in line error text
charleyf a5aeec3
Send correct errors when selfie fails
charleyf 123529b
Fix name of error
charleyf 6759d9b
Return correct errors for selfie fail
charleyf 9c2d7c2
Hide subheading when isFailedSelfie
charleyf 06ba140
Show correct error messages
charleyf e46a6ce
Merge branch 'main' into charley/lg-12080-error-messages-for-facematc…
charleyf 9d8a672
Fix todo comment so lint passes
charleyf 08dcc43
Merge branch 'main' into charley/lg-12080-error-messages-for-facematc…
charleyf 3742c18
Fix formating in yaml file
charleyf 7332cc9
Merge branch 'main' into charley/lg-12080-error-messages-for-facematc…
charleyf f7261f3
Change heading text to be correct
charleyf 0a29111
Fix test to find correct heading
charleyf 64ef134
changelog: User-Facing Improvements, In-person proofing, add frontend…
charleyf f0f1a6e
Fix spec to look for new fields
charleyf d680b58
Edit file and add test to reflect match fail
charleyf 8fe6c4d
Add missing error field keys
charleyf 46cce39
Fix error message count in test
charleyf ed2bd0b
Receive the selfie failure from the BE
charleyf 15702df
Remove comment note
charleyf ff2b634
Add comment to clarify test differences
charleyf e0afab4
Remove duplicate text
charleyf 3735fa6
Fix comments
charleyf 7208fb4
Make uppercasing match the rest of the codebase
charleyf 6d90605
Remove incorrect comments about tests
charleyf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,7 @@ import { | |
| import type { ReviewIssuesStepValue } from './review-issues-step'; | ||
|
charleyf marked this conversation as resolved.
|
||
|
|
||
| interface DocumentCaptureReviewIssuesProps extends FormStepComponentProps<ReviewIssuesStepValue> { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| isFailedSelfie: boolean; | ||
| isFailedDocType: boolean; | ||
| isFailedSelfieLivenessOrQuality: boolean; | ||
| remainingSubmitAttempts: number; | ||
|
|
@@ -25,6 +26,7 @@ interface DocumentCaptureReviewIssuesProps extends FormStepComponentProps<Review | |
|
|
||
| function DocumentCaptureReviewIssues({ | ||
| isFailedDocType, | ||
| isFailedSelfie, | ||
| isFailedSelfieLivenessOrQuality, | ||
| remainingSubmitAttempts = Infinity, | ||
| captureHints, | ||
|
|
@@ -54,6 +56,7 @@ function DocumentCaptureReviewIssues({ | |
| unknownFieldErrors={unknownFieldErrors} | ||
| remainingSubmitAttempts={remainingSubmitAttempts} | ||
| isFailedDocType={isFailedDocType} | ||
| isFailedSelfie={isFailedSelfie} | ||
| isFailedSelfieLivenessOrQuality={isFailedSelfieLivenessOrQuality} | ||
| altIsFailedSelfieDontIncludeAttempts | ||
| altFailedDocTypeMsg={isFailedDocType ? t('doc_auth.errors.doc.wrong_id_type_html') : null} | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Uh oh!
There was an error while loading. Please reload this page.