pagopa / io-app

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

chore(IT Wallet): [SIW-1047] Add loading states to wallet screen #5707

Closed mastro993 closed 2 weeks ago

mastro993 commented 3 weeks ago

Short description

This PR adds the loading skeleton to the wallet screen. The loading logics handles the asynchronous mutation of wallet credentials and allows to show a loading skeleton for credentials that may be added to the wallet.

List of changes proposed in this pull request

How to test

With the io-dev-api-server, enable the New wallet section FF from the profile screen. Navigate to the new wallet section and check that the loading state works as expected:

Previews

Loading with empty state (no cards in wallet yet) Loading with cards Loading with placeholders
pagopa-github-bot commented 3 weeks ago

Affected stories

Generated by :no_entry_sign: dangerJS against e8b8bb830a2faecec67549d8d25e615a18afa5a2