-
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
feat(IT Wallet): [SIW-1800,SIW-1801,SIW-1808] Alert for disabled authentication methods, IPZS and Wallet Provider down #6441
Conversation
…create alert props with status bar
…ote config, and updated ItwIdentificationModeSelectionScreen to handle view based on disabled authentication methods
Affected stories
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6441 +/- ##
==========================================
- Coverage 48.42% 48.12% -0.31%
==========================================
Files 1488 1628 +140
Lines 31617 32678 +1061
Branches 7669 7445 -224
==========================================
+ Hits 15311 15725 +414
- Misses 16238 16908 +670
+ Partials 68 45 -23
... and 1687 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
…Screen and ItwDiscoveryInfoScreen
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, everything works as expected
…alert (#6442) > [!WARNING] > Depends on #6441 ## Short description This PR handles the remote configuration for the credential selection screen, in order to - Display an alert to inform the user of any problems with credentials; - Disable specific credentials so the user cannot start the issuance flow. ## List of changes proposed in this pull request - Modified `WalletCardOnboardingScreen` - Created `ItwOnboardingModuleCredential` to keep the parent component cleaner ## How to test Mock the response of `/status/backend.json` with the following configuration: ```json { "statusMessages": { "items": [ { "routes": ["ITW_CARD_ONBOARDING"], "level": "warning", "message": { "it-IT": "C'è un problema temporaneo sul servizio di emissione della versione digitale della Patente. Riprova più tardi.", "en-EN": "C'è un problema temporaneo sul servizio di emissione della versione digitale della Patente. Riprova più tardi." } } ] }, "config": { "itw": { "disabled_credentials": ["MDL"] } } } ``` <img src="https://github.com/user-attachments/assets/f8d0c87a-2331-4ef5-8101-7cfe723a1e3d" width="340" /> --------- Co-authored-by: Riccardo.Molinari <[email protected]> Co-authored-by: RiccardoMolinari95 <[email protected]> Co-authored-by: RiccardoMolinari95 <[email protected]> Co-authored-by: Federico Mastrini <[email protected]>
Short description
SIW-1800
This PR adds functionality to handle disabled authentication methods in the
ItwIdentificationModeSelectionScreen
SIW-1801 and SIW-1808
This PR adds functionality to display alerts in the
ItwDiscoveryInfoScreen
and disables the continue button.List of changes proposed in this pull request
SIW-1800
itwDisabledIdentificationMethodsSelector
to fetch disabled authentication methods from the remote configItwIdentificationModeSelectionScreen
to conditionally render authentication methods based on thedisabledIdentificationMethods
selectorSIW-1801 and SIW-1808
ItwDiscoveryInfoScreen
to conditionally render the alert and status bar based on the visibility and content of theitw_discovery_tos
sectionitw_discovery_tos
section is visibleHow to test
Mock the response of
/status/backend.json
with the following configuration:SIW-1801 and SIW-1808
SIW-1800