Skip to content
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-489] Removal of BPD references around the app #5421

Conversation

forrest57
Copy link
Contributor

Short description

first big step to remove BPD and/or cashback from the app

List of changes proposed in this pull request

  • removed navigators
  • removed feature flags
  • removed BPD tests where the substitutions weren't instantaneous (remaining ones will be removed in the next pr)
  • fixes here and there to make the app work without BPD in mind

How to test

have a stroll through the app, testing the various flows.
The ones you should be most on the look for should be:

  • new method onboarding, especially cobadge and bancomat/BPay
  • CGN onboarding
  • wallet screen overall, along with the bonus section and its reload mechanics

@forrest57 forrest57 requested a review from a team as a code owner January 22, 2024 16:30
@pagopa-github-bot pagopa-github-bot changed the title [IOBP-489] removal of BPD references around the app chore: [IOBP-489] Removal of BPD references around the app Jan 22, 2024
@pagopa-github-bot
Copy link
Collaborator

pagopa-github-bot commented Jan 22, 2024

Affected stories

  • ⚙️ IOBP-489: [FE] Rimozione riferimenti a Bonus Cashback da flussi in app
    subtask of
    • ⚙️ IOBP-75: Rimozione Cashback

Generated by 🚫 dangerJS against 1e7e93d

Copy link

codecov bot commented Jan 23, 2024

Codecov Report

Attention: 35 lines in your changes are missing coverage. Please review.

Comparison is base (660d955) 47.42% compared to head (1e7e93d) 47.32%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5421      +/-   ##
==========================================
- Coverage   47.42%   47.32%   -0.11%     
==========================================
  Files        1604     1508      -96     
  Lines       33645    32007    -1638     
  Branches     8219     7832     -387     
==========================================
- Hits        15956    15147     -809     
+ Misses      17631    16802     -829     
  Partials       58       58              
Files Coverage Δ
ts/config.ts 100.00% <ø> (ø)
ts/features/bonus/__mock__/availableBonuses.ts 100.00% <ø> (ø)
ts/features/bonus/common/store/selectors/index.ts 92.30% <100.00%> (+4.42%) ⬆️
ts/features/bonus/common/utils/index.ts 75.00% <ø> (-5.00%) ⬇️
ts/navigation/AppStackNavigator.tsx 42.22% <ø> (-4.72%) ⬇️
ts/sagas/startup.ts 29.77% <ø> (+0.33%) ⬆️
ts/store/reducers/backendStatus.ts 73.07% <ø> (-1.19%) ⬇️
ts/utils/internalLink.ts 90.62% <ø> (-0.56%) ⬇️
...chestration/activateBpdOnNewAddedPaymentMethods.ts 0.00% <0.00%> (-88.89%) ⬇️
ts/navigation/WalletNavigator.tsx 60.00% <66.66%> (+26.66%) ⬆️
... and 4 more

... and 115 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 660d955...1e7e93d. Read the comment docs.

Copy link
Contributor

@mastro993 mastro993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@forrest57 forrest57 merged commit 1dfe18c into master Jan 26, 2024
8 checks passed
@forrest57 forrest57 deleted the IOBP-489-fe-rimozione-riferimenti-a-bonus-cashback-da-flussi-in-app branch January 26, 2024 09:16
forrest57 added a commit that referenced this pull request Jan 29, 2024
## Short description
removal of the whole BPD folder, along with some weird references here
and there

DEPENDS ON #5421

## List of changes proposed in this pull request
- removed the *whole* folder
- removed feature flags in the env files
- removed references to BPD around the app

the api definitions for the whole bonus section will be removed in a
future PR

## How to test
same as last PR, take a stroll around the app and make sure nothing
breaks; theoretically *the user* should not notice any difference.
stay on the lookout especially in:
- cgn onboarding
- payment method onboarding
- payment flow
- messages
- idpay flows

---------

Co-authored-by: Federico Mastrini <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants