-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: [IOBP-488] Refactor bonus features to remove cross feature dep…
…endencies (#5397) ## 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 - Refactored `bonusReducer`, moved it outside `bonusVacanze` feature folder - Moved `features/bonus/bonusVacanze/models/RemoteValue` to `common/models/RemoteValue` - Moved `features/bonus/bonusVacanze/components/buttons/*` components to `components/buttons/*` - Moved `features/bonus/bonusVacanze/components/loadingScreenComponent/LoadingErrorComponent` to `components/LoadingErrorComponent` - Moved `features/bonus/bonusVacanze/components/markdown/*` to `components/markdown/*` - Moved `features/bonus/bonusVacanze/components/FooterTopShadow` to `components/FooterTopShadow` ## How to test All tests should solve correctly, app should build correctly on all platforms --------- Co-authored-by: Martino Cesari Tomba <[email protected]> Co-authored-by: Mario Perrotta <[email protected]>
- Loading branch information
1 parent
6b76845
commit dfc75ab
Showing
254 changed files
with
588 additions
and
528 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...nusVacanze/components/FooterTopShadow.tsx → ts/components/FooterTopShadow.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...dingErrorScreen/LoadingErrorComponent.tsx → ts/components/LoadingErrorComponent.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...omponents/buttons/ButtonConfigurations.ts → ...omponents/buttons/ButtonConfigurations.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...omponents/markdown/FooterSingleButton.tsx → ...omponents/markdown/FooterSingleButton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../components/markdown/FooterTwoButtons.tsx → ts/components/markdown/FooterTwoButtons.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...omponents/markdown/MarkdownBaseScreen.tsx → ...omponents/markdown/MarkdownBaseScreen.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...bonusVacanze/__mock__/availableBonuses.ts → ...atures/bonus/__mock__/availableBonuses.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.