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

refactor: ID Pay timeline data refactoring #316

Merged
merged 7 commits into from
Nov 16, 2023
Merged

Conversation

mastro993
Copy link
Contributor

Short description

This PR refactors the persisted data for ID Pay timeline endpoint

List of changes proposed in this pull request

How to test

Tests should solve correctly

@mastro993 mastro993 requested a review from a team as a code owner November 6, 2023 11:31
@mastro993 mastro993 force-pushed the idpay-data-refactoring branch 2 times, most recently from 5122768 to d818a9a Compare November 10, 2023 18:53
Copy link

codecov bot commented Nov 10, 2023

Codecov Report

Merging #316 (9039df9) into master (fe26d5d) will increase coverage by 0.07%.
Report is 2 commits behind head on master.
The diff coverage is 100.00%.

❗ Current head 9039df9 differs from pull request most recent head b21ad6c. Consider uploading reports for the commit b21ad6c to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #316      +/-   ##
==========================================
+ Coverage   67.71%   67.78%   +0.07%     
==========================================
  Files         144      144              
  Lines        4984     4992       +8     
  Branches      603      585      -18     
==========================================
+ Hits         3375     3384       +9     
+ Misses       1608     1607       -1     
  Partials        1        1              
Files Coverage Δ
src/persistence/idpay.ts 72.28% <100.00%> (+0.86%) ⬆️
src/routers/features/fci/index.ts 76.19% <100.00%> (+0.88%) ⬆️

... and 1 file 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 f561eea...b21ad6c. Read the comment docs.

@mastro993 mastro993 merged commit 0235358 into master Nov 16, 2023
4 checks passed
mastro993 added a commit to pagopa/io-app that referenced this pull request Nov 16, 2023
## Short description
This PR refactors the `TimelineOperationListItem` component and
implements new logic to correctly display `CANCELLED` and `REVERSAL`
transactions and CIE onboarding operations.


https://github.com/pagopa/io-app/assets/6160324/e5557c07-ba53-4647-be0f-ad39965fb1c7

## List of changes proposed in this pull request
-
[ts/features/idpay/details/components/TimelineOperationListItem.tsx](https://github.com/pagopa/io-app/pull/5200/files#diff-bf0f0c12b0c8396401a112111f50ecd7d00a22d176641c354e3880e3879cbd51):
splitted `TimelineOperationListItem` into sub-component easier to
manage.

## How to test
- Tests should solve correctly. 
- You can test on a simulator/device with the `io-dev-server` on this
branch: pagopa/io-dev-api-server#316

---------

Co-authored-by: Martino Cesari Tomba <[email protected]>
Co-authored-by: Alessandro Izzo <[email protected]>
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.

2 participants