-
Notifications
You must be signed in to change notification settings - Fork 76
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
feat: id verification status handling, QR code validation, and error handling #8387
Merged
Merged
Changes from 19 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
9131a70
feat: introduce optional validator function prop
tahmidrahman-dsi 9db7ef0
fix: destroy scanner instance on unmount
tahmidrahman-dsi 01cabc3
fix: wrap onScan, onError by useCallback
tahmidrahman-dsi b42b4e6
feat: throttle onScanError down to once in every 5 seconds
tahmidrahman-dsi cfb3857
docs: add story of the id reader component implementd with a validato…
tahmidrahman-dsi 943505f
Merge branch 'develop' into feat/qr-data-error-handling
tahmidrahman-dsi a630d3a
Merge branch 'develop' into feat/qr-data-error-handling
tahmidrahman-dsi 9b11318
feat: set validation and show error message configured from countryco…
tahmidrahman-dsi 7515bf8
fix: imports and error construction
tahmidrahman-dsi 3deff52
Merge branch 'develop' into feat/qr-data-error-handling
tahmidrahman-dsi 301421e
fix: ignore ts error for now
tahmidrahman-dsi da332f7
chore: upgrade toolkit
tahmidrahman-dsi 36013ae
Merge branch 'develop' into feat/qr-data-error-handling
tahmidrahman-dsi 61c4a42
chore: bump up toolkit version
tahmidrahman-dsi 7dae0e4
fix: log error to browser console
tahmidrahman-dsi 5f11dd9
fix: date field reset issu
tahmidrahman-dsi 26963d4
Merge branch 'develop' into feat/qr-data-error-handling
tahmidrahman-dsi cce1a94
fix: log full error
tahmidrahman-dsi 4247c75
Merge branch 'develop' into feat/qr-data-error-handling
tahmidrahman-dsi 8d9b1d2
chore: update id reader component UI according to the latest design u…
tahmidrahman-dsi 2772f6f
Merge branch 'develop' into feat/qr-data-error-handling
tahmidrahman-dsi 81442bc
feat: add authenticated status
tahmidrahman-dsi c651024
refactor: files and declutter id verification banner file
tahmidrahman-dsi 6c9070c
fix: typo
tahmidrahman-dsi c315ee3
fix: add small margin to the pill icons
tahmidrahman-dsi b7c2e74
Merge branch 'develop' into feat/qr-data-error-handling
tahmidrahman-dsi aba9e6a
Merge branch 'develop' into feat/qr-data-error-handling
tahmidrahman-dsi 6195729
Merge branch 'develop' into feat/qr-data-error-handling
tahmidrahman-dsi 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 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 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tahmidrahman-dsi do you think we need similar validator functionality in the transformHttpFieldIntoRequest function for the ESignet http field?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can. We can provide a validator function to the http field which will be executed in
transformHttpFieldIntoRequest
that can validate the response data. However we might need a design for that error caseThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess, we might not need validation for e-signet, then