-
Notifications
You must be signed in to change notification settings - Fork 105
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
chore(IT Wallet): [SIW-1665] Hide eID card in wallet #6214
Conversation
|
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.
If we are not sure wether or not the SD-JWT includes the required fields, why don't we make them nullable and show a placeholder label which says that something went wrong?
I think that using the current date might be misleading and potentially it could shadow an error, even if that's a very remote possibility.
I wanted to avoid handling null values that are very unlikely, because both |
I agree that they must be part of the SD-JWT. Maybe we can make the |
|
I modified the way |
|
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.
Unfortunately that is an issue with the |
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.
LGTM, let's wait for @mastro993 approve as well. Thanks.
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.
LGTM!
…creen (#6221) > [!WARNING] > Depends on #6214 ## Short description This PR adds filters in the wallet screen. They are only visible when the wallet contains at least one credential (not considering the eID). ## List of changes proposed in this pull request - Filter tabs in the wallet screen with tests - Reducer logic ## How to test 1. Disable the wallet instance: filters should not be visibile 2. Get the eID: filters should not be visible 3. Get another credential: filters should be visible <img src="https://github.com/user-attachments/assets/b0f2697e-6bf8-4819-b47b-f1d1fd9e6328" width="400" /> --------- Co-authored-by: Federico Mastrini <[email protected]>
Warning
Depends on pagopa/io-react-native-wallet#145
Short description
This PR hides the eID card in the wallet screen. It also adds a bottom sheet to display information on the digital identity.
List of changes proposed in this pull request
expiration
andissuedAt
properties toStoredCredential
type, with Redux Persist migrationHow to test
If you have an existing wallet, check the following:
issuedAt
andexpiration
Reset the wallet and get all credentials, then check the same points as above.