fix: Optimized version of the scan cards for small screens #5928
+377
−69
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi everyone!
On small screens (particularly on Android with the old nav bar), the scan cards were cropped.
Everything is now fixed:
Improvement 1: close icon for errors
When there is an error, it's now possible to remove the card:
Improvement 2: the orange is now animated
And you can click on it to restart the animation!
🎥 https://github.com/user-attachments/assets/b25e4e40-7e65-44ef-bfe6-c35a5f0f729d
The Rive file is also optimized by removing unused animations (-31ko 🏋️♂️)
Improvement 3: slide up transition for the product page
There is now a slide up transition (the same one as in Android P), when the product page is opened from the carousel:
🎥 https://github.com/user-attachments/assets/5d3910b0-09b0-4ac6-9a2b-2d7bfe2371a8