-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [IOPID-1899] Upgrade DS lib to
1.39.0
(#5858)
> [!warning] > This PR depends on pagopa/io-app-design-system#284 ## Short description Upgraded DS lib and adapted all components that use `NumberPad` component. ## List of changes proposed in this pull request - Upgraded DS lib. - Adapted all those components<sup>*</sup> that use the `NumberPad` component to its new implementation derived from this DS update. - Some performance improvements in the `PinCreation` components, replaced the `pinMode` state with the `pinModeRef` to avoid renders on pin mode change. >[!Note] ><sup>*</sup> The affected components are: `IdentificationNumberPad`, `PinCreation` and `DSNumberPad` ## E2E Tests >[!Tip] >[![Run e2e tests](https://github.com/pagopa/io-app/actions/workflows/test-e2e.yml/badge.svg?branch=feature%2Fupgrade-design-system)](https://github.com/pagopa/io-app/actions/workflows/test-e2e.yml) ## Screens <details><summary>iOS</summary> <p> |Identification Modal|Pin Creation|DS NumberPad| |-|-|-| |<video src="https://github.com/pagopa/io-app/assets/94987118/ceaaa7fa-842e-41ae-b0e3-f8881c7c4035" />|<video src="https://github.com/pagopa/io-app/assets/94987118/33e1edd8-8f0b-42f2-a5f3-0ed7820d8044" />|<video src="https://github.com/pagopa/io-app/assets/94987118/1bd5d7e9-3070-4ef7-8cec-5becd6413362" />| </p> </details> <details><summary>Android</summary> <p> |Identification Modal|Pin Creation|DS NumberPad| |-|-|-| |<video src="https://github.com/pagopa/io-app/assets/94987118/9f43922a-c403-41f1-8197-2bb9ebee4fa5" />|<video src="https://github.com/pagopa/io-app/assets/94987118/556bae2b-b482-42e4-a8d9-0bee24a9083a" />|<video src="https://github.com/pagopa/io-app/assets/94987118/738c8061-cb34-4bdd-ad25-cb9701404eb1" />| </p> </details> ## How to test Since there are three components affected by this changes, there are just as many tests: - **DSNumberPad**: Navigate to `Profile > Design System` and under Screens section tap on `NumberPad` list item. - **IdentificationNumberPad**: This component belongs to `IdentificationModal` component so it can be tested doing any operation that requires identification. - **PinCreation**: Follow the *How to test* section in this [PR](#5737) --------- Co-authored-by: Fabio Bombardi <16268789+shadowsheep1@users.noreply.github.com>
- Loading branch information
1 parent
257c7d5
commit e5de0d3
Showing
13 changed files
with
233 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.