-
Notifications
You must be signed in to change notification settings - Fork 4
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: [IOBP-660] Add remote feature flag to the new payment section #383
Conversation
🎉 All dependencies have been resolved ! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #383 +/- ##
==========================================
- Coverage 69.87% 69.78% -0.10%
==========================================
Files 153 156 +3
Lines 4886 4997 +111
Branches 562 605 +43
==========================================
+ Hits 3414 3487 +73
+ Misses 1471 1432 -39
- Partials 1 78 +77
... and 25 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
…5798) ##⚠️ This PR depends on pagopa/io-services-metadata#782⚠️ ## Short description This PR adds the remote feature flag to the new payment section. It will be visible only when the remote or local FF is enabled. (The local feature flag is considered only if the remote one is disabled) ## List of changes proposed in this pull request - Added a new `isNewPaymentSectionEnabledSelector` selector that takes into account remote configuration - Replaced the previous `isNewWalletSectionEnabledSelector` with this new one but the previous one is still available in order to show the local feature flag. ## How to test - Checkout this PR: pagopa/io-dev-api-server#383 - Try to change the `enabled` attribute from the `newPaymentSection` into the `backend.ts` file on the dev-server
Short description
This PR adds a mock remote feature flag to the new payment section
List of changes proposed in this pull request
newPaymentSection
from thebackend.ts
file