Make SearchRouter swipable to the right#51731
Conversation
|
@ishpaul777 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Videos look good to me from a design perspective 👍 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-31.at.10.14.59.PM.movAndroid: mWeb ChromeScreen.Recording.2024-10-31.at.10.23.03.PM.moviOS: NativeScreen.Recording.2024-10-31.at.10.12.37.PM.moviOS: mWeb SafariScreen.Recording.2024-10-31.at.10.07.59.PM.movMacOS: Chrome / SafariScreen.Recording.2024-10-31.at.10.27.46.PM.movMacOS: DesktopScreen.Recording.2024-10-31.at.10.25.40.PM.mov |
|
@SzymczakJ just incase you didn't notice jest test (job 2) failing for PR |
|
[Bug: Android] transition animation in (<-) and out (->) not visible Screen.Recording.2024-10-31.at.12.24.32.AM.mov |
|
I've fixed iOS bug and android bug is not reproducible on my end, maybe it was fixed by merge or something. Screen.Recording.2024-10-31.at.10.36.14.mov |
|
FYI I'll OOO on Friday and Monday. |
| animationIn = isSmallScreenWidth ? 'slideInRight' : 'fadeIn'; | ||
| animationOut = isSmallScreenWidth ? 'slideOutRight' : 'fadeOut'; |
There was a problem hiding this comment.
NAB, we can define these strings as constants, since its used these few time in this file
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #51191 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
FWIW, I am still able to reproduce but only on a big high traffic account and its also reproducable on main, so not a blocker for this PR |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/pecanoro in version: 9.0.57-0 🚀
|
|
@SzymczakJ @pecanoro @shawnborton What do we need to QA here? Can someone help with QA steps? |
|
@SzymczakJ I just realized the QA steps are pretty vague, could you please outline them step by step in a way any user could follow them, please? |
|
QA steps:
|
|
Thanks @ishpaul777 for answering for me as I was OOO, I've made tests steps more detailed. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.57-10 🚀
|

Explanation of Change
This PR allows SearchRouter to be swipable to the right when on mobile screen.
Fixed Issues
$ #51191
PROPOSAL:
Tests
Offline tests
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
androidWeb.mov
iOS: Native
ios.mov
iOS: mWeb Safari
iosWeb.mov
MacOS: Chrome / Safari
MacOS: Desktop