Closed mastro993 closed 4 days ago
Generated by :no_entry_sign: dangerJS against 6da18c105dab2ccd5e97c1eb685ccd9b0b550d97
Attention: Patch coverage is 32.55814%
with 87 lines
in your changes missing coverage. Please review.
Project coverage is 47.81%. Comparing base (
4f204b4
) to head (6da18c1
). Report is 766 commits behind head on master.
🚨 Try these New Features:
LGTM, tested on iPhone X.
Is it normal that when you exit fullscreen mode, the brightness drops instantly without a smooth effect?
Yes, this is expected behavior. Currently, this hook does not handle transitions during the unmount, as doing so can lead to visual glitches.
On Android (version 14) I see a flash when opening the skeumorphic card modal: the brightness goes up and down for a split second before reaching the final value. Setting useMaxBrightness({ useSmoothTransition: false })
seems to solve the issue. Did you notice anything similar?
On Android (version 14) I see a flash when opening the skeumorphic card modal: the brightness goes up and down for a split second before reaching the final value. Setting
useMaxBrightness({ useSmoothTransition: false })
seems to solve the issue. Did you notice anything similar?
Some Android devices return negative values for the app brightness, which cause an initial drop in brightness. I've added a check on the minimum brightness in this commit: https://github.com/pagopa/io-app/pull/6447/commits/ee45792ee4dcbbc395add227179a2e72618e9e7d
Short description
This PR introduces a feature that allows users to view a credential's skeuomorphic card in full-screen mode. This mode can be activated by tapping the card on the credential details screen.
List of changes proposed in this pull request
useScaleAnimation
hook (to be removed once this PR is merged: https://github.com/pagopa/io-app-design-system/pull/358)FlipGestureDetector
component, which handles swipe gestures to flip the skeumorphic cards in the credential details screenFlippableCard
component in order to handle an optionalorientation
prop, which changes the axis type for the flip animationItwSkeumorphicCard
component in roder to handle an optionalorientation
prop, which rotates the card and adjust its scale to fit the screen correctly.getCredentialStatus
anditwCredentialStatusSelector
:itwCredentialStatusSelector
and moved it togetCredentialStatusObject
,getCredentialStatusObject
can be freely used without relying to the redux store anditwCredentialStatusSelector
for the memoized valuegetCredentialStatus
andgetCredentialStatusObject
toitwCredentialStatusUtils.ts
fileItwPresentationCredentialCardModal
in the IT Wallet navigation stackHow to test
Preview
https://github.com/user-attachments/assets/66743a6f-ea96-4de3-a150-f88ccfa30eea