pagopa / io-app

IO, l'app dei servizi pubblici
https://io.italia.it
European Union Public License 1.2
616 stars 105 forks source link

chore: [IOPAE-1104] Featured Items: actions, reducer, selectors and saga #5736

Closed giuseppedipinto closed 6 months ago

giuseppedipinto commented 6 months ago

Short description

This PR adds actions, reducer, selectors and saga to handle featured items (services and/or institutions shown in services main screen tab as "Featured").

List of changes proposed in this pull request

How to test

Tests should pass correctly.

pagopa-github-bot commented 6 months ago

Affected stories

Generated by :no_entry_sign: dangerJS against 5dc3ef98a2b1b4d7127c4d1b12f6b06a327d9f40

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 90.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 48.90%. Comparing base (4f204b4) to head (5dc3ef9). Report is 40 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pagopa/io-app/pull/5736/graphs/tree.svg?width=650&height=150&src=pr&token=zsurlZdPFW&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa)](https://app.codecov.io/gh/pagopa/io-app/pull/5736?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) ```diff @@ Coverage Diff @@ ## master #5736 +/- ## ========================================== + Coverage 48.42% 48.90% +0.47% ========================================== Files 1488 1585 +97 Lines 31617 31902 +285 Branches 7669 7677 +8 ========================================== + Hits 15311 15601 +290 - Misses 16238 16243 +5 + Partials 68 58 -10 ``` | [Files](https://app.codecov.io/gh/pagopa/io-app/pull/5736?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) | Coverage Δ | | |---|---|---| | [ts/features/services/home/store/actions/index.ts](https://app.codecov.io/gh/pagopa/io-app/pull/5736?src=pr&el=tree&filepath=ts%2Ffeatures%2Fservices%2Fhome%2Fstore%2Factions%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvc2VydmljZXMvaG9tZS9zdG9yZS9hY3Rpb25zL2luZGV4LnRz) | `100.00% <100.00%> (ø)` | | | [ts/features/services/home/store/reducers/index.ts](https://app.codecov.io/gh/pagopa/io-app/pull/5736?src=pr&el=tree&filepath=ts%2Ffeatures%2Fservices%2Fhome%2Fstore%2Freducers%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvc2VydmljZXMvaG9tZS9zdG9yZS9yZWR1Y2Vycy9pbmRleC50cw==) | `100.00% <100.00%> (ø)` | | | [ts/features/services/home/saga/index.ts](https://app.codecov.io/gh/pagopa/io-app/pull/5736?src=pr&el=tree&filepath=ts%2Ffeatures%2Fservices%2Fhome%2Fsaga%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvc2VydmljZXMvaG9tZS9zYWdhL2luZGV4LnRz) | `0.00% <0.00%> (ø)` | | | [...tures/services/home/saga/handleGetFeaturedItems.ts](https://app.codecov.io/gh/pagopa/io-app/pull/5736?src=pr&el=tree&filepath=ts%2Ffeatures%2Fservices%2Fhome%2Fsaga%2FhandleGetFeaturedItems.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvc2VydmljZXMvaG9tZS9zYWdhL2hhbmRsZUdldEZlYXR1cmVkSXRlbXMudHM=) | `81.81% <81.81%> (ø)` | | ... and [133 files with indirect coverage changes](https://app.codecov.io/gh/pagopa/io-app/pull/5736/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/pagopa/io-app/pull/5736?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/pagopa/io-app/pull/5736?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa). Last update [110d548...5dc3ef9](https://app.codecov.io/gh/pagopa/io-app/pull/5736?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa).