Do not use the replace in case of RHP as its fixing edge case#22355
Conversation
|
@Santhosh-Sellavel 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] |
|
Will get started shortly |
Reviewer Checklist
Screenshots/VideosWeb & DesktopScreen.Recording.2023-07-07.at.12.21.52.AM.movMobile Web - Chrome & Mobile Web - SafariScreen.Recording.2023-07-07.at.12.16.14.AM.moviOS & AndroidScreen.Recording.2023-07-07.at.12.18.03.AM.mov |
|
@mountiny Let me know any other area which I have to test to ensure this doesn't cause any regression |
Santhosh-Sellavel
left a comment
There was a problem hiding this comment.
So far looks good to me, waiting for this -> #22355 (comment)
|
@Santhosh-Sellavel updated. |
| name="NewGroup" | ||
| component={ModalStackNavigators.NewGroupModalStackNavigator} | ||
| options={{ | ||
| // Disable animation for this screen because it causes an animation glitch when using shortcuts |
There was a problem hiding this comment.
Do we have a link to a video with the glitch? I think it'd be nice to add it here so we have a reference in case we wanna fix it later on.
There was a problem hiding this comment.
|
Test step 4
Click |
From the design doc terminology, that button is UP action and browser back is back, I will update it |
|
@mountiny Played around with opening and closing searches, new groups, and split models. Let me know if you notice anything abnormal or if something unintended happens. Screen.Recording.2023-07-07.at.1.16.40.AM.mov |
|
All looking good, the missing animations is something we have to tackle elsewhere holistically #22372 |
Santhosh-Sellavel
left a comment
There was a problem hiding this comment.
LGTM tests well thanks!
|
Sorry Rocio there is a bug in logic we should fix. |
|
Created issue for it here https://github.com/Expensify/Expensify/issues/297871 I might get to it next week |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Do not use the replace in case of RHP as its fixing edge case (cherry picked from commit 0d82167)
|
CP running here https://github.com/Expensify/App/actions/runs/5480093600 |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.37-6 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.37-7 🚀
|
Details
We had introduced tis fix to ensure when switching between the flows in RHP like Search and New Group using shortcuts we will replace instead of push.
This is an edge case and I think its fine to push in this case as well as it will make other navigation within the RHP more reliable
Fixed Issues
$ #22302
Tests
UPaction) in left top corner of RHPOffline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
web22355.mp4
Mobile Web - Chrome
I cant load the page on mweb android now, not blocking on this as it should not be different.
Mobile Web - Safari
iosweb22355.mp4
Desktop
Same as web
iOS
ios22355.mp4
Android
android22355.mp4