-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Woo POS] Animated transition to the Get Support screen #12630
Conversation
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
...merce/src/main/kotlin/com/woocommerce/android/support/requests/SupportRequestFormActivity.kt
Outdated
Show resolved
Hide resolved
...merce/src/main/kotlin/com/woocommerce/android/support/requests/SupportRequestFormActivity.kt
Outdated
Show resolved
Hide resolved
...merce/src/main/kotlin/com/woocommerce/android/support/requests/SupportRequestFormActivity.kt
Show resolved
Hide resolved
I think this is the issue you meant to link: |
Thanks for review, @kidinov! I updated the animations: Screen_recording_20240918_104438.mp4Let me know what you think. |
@samiuelson, my understanding is that we should have something like this (no alpha, just moving from the right to left and backwards). The animations from android do have alpha so custom are needed Here is the patch for android 34+ 09-18--17-05.mp4For Android <34, we also need to add |
…screen' into 12628-transition-to-get-support-screen
Makes sense, updated — 278c0b8
Good catch, fixed: pre-34.mp4Let me know what you think, @kidinov. |
…screen' into 12628-transition-to-get-support-screen
👋🏼 @backwardstruck, @kidinov, this is ready for review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Can we just override
finish
method instead of callingadjustExitTransition
from multiples places? I haven't tried it, but I recall that was the wayoverride fun finish() { adjustExitTransition() super.finish() }
Good catch, thanks @kidinov ! I think it should be called right after super.finish()
; Fixed – a1fe6af
I think on Android <34 it slides in the opposite direction it should (from left to right)
Fixed – efb7e35
Version |
…screen' into 12628-transition-to-get-support-screen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closes: #12628
Description
This PR attempts to animate the transition to the Get Support screen as per design feedback and animations specs (p6riRB-aNq-p2).
Steps to reproduce
Testing information
Transitions should follow animation specs (see above), and animate by sliding horizontally between screens.
The tests that have been performed
As shown in the section below, I checked the animations of transitions when entering and exiting the "Get Support" screen. In the store management mode, the transitions should remain unchanged.
Devices: Galaxy Tab S9 FE, Android 14
Images/gif
Before
Screen_recording_20240917_124211.mp4
After
Screen_recording_20240917_120252.mp4
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: