Jetpack focus update rtl animation resources#17039
Conversation
|
You can test the WordPress changes on this Pull Request by downloading an installable build (wordpress-installable-build-pr17039-c140292.apk), or scanning this QR code: |
|
You can test the Jetpack changes on this Pull Request by downloading an installable build (jetpack-installable-build-pr17039-c140292.apk), or scanning this QR code: |
mkevins
left a comment
There was a problem hiding this comment.
Nice work Ravi 👍 . Code changes look good. Also, I tested these flows with both LTR and RTL, and the animations are working as expected.
One thing I am wondering: I didn't see a difference between the animations on the various screens. I might be missing something subtle, so please don't consider this a blocker, and feel free to merge as is if needed. Could these all be using the same animation (i.e. only have two total, one for each of LTR and RTL)?
Also, another thought came to mind - could we make use of a new raw-ldrtl directory to make these resource changes happen automatically? Or is there some limitation with Lottie for doing that?
increase font size to 32sp decreased the top margin to 40dp
🙇
This bottom sheet has a full screen variation that uses feature specific animation and text which is now suppressed until next sprint.
raw doesn't seem to work with -ldrtl, not sure if it is Lottie issue and also we are going to need to dynamically update the animation for full screen feature specific popu-ups! |
This PR updates Lottie animation to cater for RTL locales
Fixes #16978
device-2022-08-16-124001.mp4
device-2022-08-16-124045.mp4
To test:
Setup
Test
Find and tap on Jetpack powered badge or banner on any of the following screens
Badge
Banner
Ensure bottom sheet pops up
Regression Notes
Potential unintended areas of impact
None
What I did to test those areas of impact (or what existing automated tests I relied on)
Tested different orientations
What automated tests I added (or what prevented me from doing so)
Existing unit tests
PR submission checklist:
RELEASE-NOTES.txtif necessary.