-
Notifications
You must be signed in to change notification settings - Fork 106
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-2016] Remove remote feature flag from linking options #6706
base: master
Are you sure you want to change the base?
chore(IT Wallet): [SIW-2016] Remove remote feature flag from linking options #6706
Conversation
PR Title Validation for conventional commit type✅ All good! PR title follows the conventional commit type. |
Jira Pull Request LinkThis Pull Request refers to Jira issues: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6706 +/- ##
==========================================
+ Coverage 43.91% 49.99% +6.08%
==========================================
Files 1417 1557 +140
Lines 30090 32449 +2359
Branches 6749 7345 +596
==========================================
+ Hits 13213 16222 +3009
+ Misses 16847 16176 -671
- Partials 30 51 +21
... and 355 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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.
What happens if we start one of these flows and the feature is remotely disabled though? From a quick check in ItwIssuanceCredentialAsyncContinuationScreen.tsx
it doesn't seem like it checks for that flag.
This is a good point. Keeping routes behind FF could lead to navigation errors, but if in the case FF is disabled we have no control over any deeplink interactions. |
I agree this might be the easiest solution to implement. Each screen which is a target of a deep link must check that. We could also implement a HOC which takes care of check it and showing an appropriate screen. |
I've found the way to use an HOC. If the FF is disabled we render a generic error screen. See here 15c2c6b |
Short description
This PR removes the remote feature flag from the IT Wallet linking options to allow routes to be configured properly at the app startup.
List of changes proposed in this pull request
isItwEnabledSelector
fromuseItwLinkingOptions
disabled
prop toOperationResultScreenContent
actions propsisItwEnabledSelector
check on continuation CTA on every screen that is exposed by a deep linkHow to test
Check that linking options for IT Wallet feature is working properly.
Disable the ITW feature flag and check that screens that are exposed by a deep link have all continuation CTAs disabled.