-
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: [IOBP-488] Refactor bonus features to remove cross feature dependencies #5397
chore: [IOBP-488] Refactor bonus features to remove cross feature dependencies #5397
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5397 +/- ##
=======================================
Coverage 47.30% 47.30%
=======================================
Files 1641 1645 +4
Lines 34330 34330
Branches 8388 8388
=======================================
Hits 16241 16241
Misses 18031 18031
Partials 58 58
Continue to review full report in Codecov by Sentry.
|
ts/components/FooterTopShadow.tsx
Outdated
import variables from "../../../../theme/variables"; | ||
import { StyleSheet, View } from "react-native"; | ||
import variables from "../theme/variables"; | ||
import { IOStyles } from "./core/variables/IOStyles"; |
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.
Can we use the one exported from @pagopa/io-app-design-system
instead?
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.
Sure! See 76dab28
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.
tested on both IOS and Android, with full CGN flow and all seems well, I say LGTM!
after the changes suggested by @CrisTofani, sorry 😓
ae5d337
to
76dab28
Compare
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. Tested on
- FCI
- Payment
- Add new Payment Method CC
Short description
This PR is preparatory to the removal of the legacy code associated with SiciliaVola, Cashback and Bonus Vacanze features.
It consists of a major refactoring of the
bonus
feature, removing cross dependency between features, and a relocation of some of the components used in the IO app.List of changes proposed in this pull request
bonusReducer
, moved it outsidebonusVacanze
feature folderfeatures/bonus/bonusVacanze/models/RemoteValue
tocommon/models/RemoteValue
features/bonus/bonusVacanze/components/buttons/*
components tocomponents/buttons/*
features/bonus/bonusVacanze/components/loadingScreenComponent/LoadingErrorComponent
tocomponents/LoadingErrorComponent
features/bonus/bonusVacanze/components/markdown/*
tocomponents/markdown/*
features/bonus/bonusVacanze/components/FooterTopShadow
tocomponents/FooterTopShadow
How to test
All tests should solve correctly, app should build correctly on all platforms