-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(IT Wallet): [SIW-677] Refactor ITW reset (#5247)
## Short description This PR refactors the ITW reset procedure. Currently it only reset the wallet lifecycle by setting it to `operational` but with this PR it will also reset a portion of the state to avoid conflicts with dirty state. It also updates the UI with the new design system. ## List of changes proposed in this pull request - Updates `useItwResetFlow.tsx` with the new design system; - Adds `itwLifecycleOperational` action handling in `itwCredentialsReducer.ts``itwPidDecodeReducer.ts` and `itwWiaReducer.ts` which resets the state to the initial one. ## How to test Obtain a PID and a credential then test the reset flow from the ITW home screen. --------- Co-authored-by: Mario Perrotta <[email protected]>
- Loading branch information
1 parent
4beb3f1
commit cdc668b
Showing
5 changed files
with
58 additions
and
23 deletions.
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