-
Notifications
You must be signed in to change notification settings - Fork 3k
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
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 |
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.
So far looks good to me, waiting for this -> #22355 (comment)
@Santhosh-Sellavel updated. |
@@ -20,10 +20,18 @@ function RigthModalNavigator() { | |||
<Stack.Screen | |||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
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.
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
UP
action) in left top corner of RHPOffline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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