pagopa / io-app

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

chore: [IOPAE-1145] Add FeaturedInstitution and FeaturedService carousel/card layout #5771

Closed giuseppedipinto closed 5 months ago

giuseppedipinto commented 5 months ago

Short description

This PR introduce 2 new carousels: one for featured institutions and one for featured services. These carousels will be used in new Services tab for Services Redesign work stream.

Details

| featured institution/services cards | | - | |

List of changes proposed in this pull request

How to test

Check it into Design System >> Cards dev.mode section.

pagopa-github-bot commented 5 months ago

Affected stories

Generated by :no_entry_sign: dangerJS against 93ac3c1dcf044ec6282338b8936ad978727d5a1f

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 49.51%. Comparing base (4f204b4) to head (93ac3c1). Report is 87 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pagopa/io-app/pull/5771/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/5771?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) ```diff @@ Coverage Diff @@ ## master #5771 +/- ## ========================================== + Coverage 48.42% 49.51% +1.08% ========================================== Files 1488 1617 +129 Lines 31617 32112 +495 Branches 7669 7821 +152 ========================================== + Hits 15311 15900 +589 + Misses 16238 16149 -89 + Partials 68 63 -5 ``` | [Files](https://app.codecov.io/gh/pagopa/io-app/pull/5771?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/design-system/core/DSCards.tsx](https://app.codecov.io/gh/pagopa/io-app/pull/5771?src=pr&el=tree&filepath=ts%2Ffeatures%2Fdesign-system%2Fcore%2FDSCards.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvZGVzaWduLXN5c3RlbS9jb3JlL0RTQ2FyZHMudHN4) | `80.00% <100.00%> (+13.33%)` | :arrow_up: | | [...services/home/components/OrganizationNameLabel.tsx](https://app.codecov.io/gh/pagopa/io-app/pull/5771?src=pr&el=tree&filepath=ts%2Ffeatures%2Fservices%2Fhome%2Fcomponents%2FOrganizationNameLabel.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvc2VydmljZXMvaG9tZS9jb21wb25lbnRzL09yZ2FuaXphdGlvbk5hbWVMYWJlbC50c3g=) | `75.00% <75.00%> (ø)` | | | [...rvices/home/components/FeaturedInstitutionCard.tsx](https://app.codecov.io/gh/pagopa/io-app/pull/5771?src=pr&el=tree&filepath=ts%2Ffeatures%2Fservices%2Fhome%2Fcomponents%2FFeaturedInstitutionCard.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvc2VydmljZXMvaG9tZS9jb21wb25lbnRzL0ZlYXR1cmVkSW5zdGl0dXRpb25DYXJkLnRzeA==) | `70.00% <70.00%> (ø)` | | | [ts/features/services/home/utils/index.ts](https://app.codecov.io/gh/pagopa/io-app/pull/5771?src=pr&el=tree&filepath=ts%2Ffeatures%2Fservices%2Fhome%2Futils%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvc2VydmljZXMvaG9tZS91dGlscy9pbmRleC50cw==) | `0.00% <0.00%> (ø)` | | | [...s/services/home/components/FeaturedServiceCard.tsx](https://app.codecov.io/gh/pagopa/io-app/pull/5771?src=pr&el=tree&filepath=ts%2Ffeatures%2Fservices%2Fhome%2Fcomponents%2FFeaturedServiceCard.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvc2VydmljZXMvaG9tZS9jb21wb25lbnRzL0ZlYXR1cmVkU2VydmljZUNhcmQudHN4) | `50.00% <50.00%> (ø)` | | | [...s/home/components/FeaturedInstitutionsCarousel.tsx](https://app.codecov.io/gh/pagopa/io-app/pull/5771?src=pr&el=tree&filepath=ts%2Ffeatures%2Fservices%2Fhome%2Fcomponents%2FFeaturedInstitutionsCarousel.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvc2VydmljZXMvaG9tZS9jb21wb25lbnRzL0ZlYXR1cmVkSW5zdGl0dXRpb25zQ2Fyb3VzZWwudHN4) | `40.00% <40.00%> (ø)` | | | [...vices/home/components/FeaturedServicesCarousel.tsx](https://app.codecov.io/gh/pagopa/io-app/pull/5771?src=pr&el=tree&filepath=ts%2Ffeatures%2Fservices%2Fhome%2Fcomponents%2FFeaturedServicesCarousel.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvc2VydmljZXMvaG9tZS9jb21wb25lbnRzL0ZlYXR1cmVkU2VydmljZXNDYXJvdXNlbC50c3g=) | `40.00% <40.00%> (ø)` | | ... and [487 files with indirect coverage changes](https://app.codecov.io/gh/pagopa/io-app/pull/5771/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/5771?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/5771?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa). Last update [8befc67...93ac3c1](https://app.codecov.io/gh/pagopa/io-app/pull/5771?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).