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

feat(Bonus Pagamenti Digitali): [#175890963] Adds the screen to see all BPay accounts to add #2697

Merged
merged 17 commits into from
Jan 11, 2021

Conversation

CrisTofani
Copy link
Contributor

Short description

This PR adds the screen to cycle through the BPay accounts to add

Registrazione.schermo.2021-01-11.alle.09.17.09.mov

@pagopa-github-bot pagopa-github-bot changed the title [#175890963] Adds the screen to see all BPay accounts to add feat(Bonus Pagamenti Digitali): [#175890963] Adds the screen to see all BPay accounts to add Jan 11, 2021
@pagopa-github-bot
Copy link
Collaborator

pagopa-github-bot commented Jan 11, 2021

Affected stories

  • 🌟 #175890963: Come CIT voglio visualizzare i BPay trovati ed aggiungerli al wallet

Generated by 🚫 dangerJS against 7df4ced

@codecov
Copy link

codecov bot commented Jan 11, 2021

Codecov Report

Merging #2697 (7df4ced) into master (fc07e9b) will increase coverage by 0.00%.
The diff coverage is 67.85%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2697   +/-   ##
=======================================
  Coverage   51.96%   51.97%           
=======================================
  Files         755      756    +1     
  Lines       21268    21289   +21     
  Branches     4043     4043           
=======================================
+ Hits        11052    11065   +13     
- Misses      10172    10180    +8     
  Partials       44       44           
Impacted Files Coverage Δ
...bancomat/screens/add-pans/AddBancomatComponent.tsx 68.75% <ø> (ø)
.../bancomatPay/screens/add-account/AddBPayScreen.tsx 34.78% <33.33%> (-7.22%) ⬇️
...ncomatPay/screens/add-account/AddBPayComponent.tsx 72.00% <72.00%> (ø)

Continue to review full report at Codecov.

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

elem => elem.abi === props.account.instituteCode
);
setAbiInfo(abi ?? {});
}, [props.currentIndex]);
Copy link
Contributor

@Undermaken Undermaken Jan 11, 2021

Choose a reason for hiding this comment

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

Since we search for Abi when account changes, could it be better if the effect depends on props.account instead of currentIndex?
For this implementation it is the same but if who uses this component changes the currentIndex and not props.account it will be fired when it's not needed

@CrisTofani CrisTofani requested a review from Undermaken January 11, 2021 12:24
@Undermaken Undermaken merged commit 8d8d6cf into master Jan 11, 2021
@Undermaken Undermaken deleted the 175890963-add-bpay-accounts branch January 11, 2021 13:28
@Undermaken Undermaken restored the 175890963-add-bpay-accounts branch January 11, 2021 13:28
@Undermaken Undermaken deleted the 175890963-add-bpay-accounts branch January 11, 2021 13:28
@Undermaken Undermaken restored the 175890963-add-bpay-accounts branch January 11, 2021 13:28
@Undermaken Undermaken deleted the 175890963-add-bpay-accounts branch January 11, 2021 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants