-
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
Upgrade react-navigation/drawer to use our fork #11944
Conversation
Confirmed this works on iOS, still working on testing all platforms and gathering screenshots, but I'm opening this up to reviews so that we can get a C+ and reviewer testing in parallel. |
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.
I see in the iOS video that the composer looses focus after expanding, I assume that is an issue which is unrelated to this update? there has been reports of it here #11944
@mananjadhav Would you also be able to confirm if sending the message on mobile does not close the keyboard as raised in this bug report? Thank you! |
Mobile web on android seems to be losing focus 2022-10-18_14-31-29.mp4 |
@stitesExpensify thanks for testing, I think that is not a blocker as that expand issue was reported a while ago, just wanted to confirm. I think the more important one to check is the issue with sending a message and the keyboard closing. |
@mountiny @roryabraham The keyboard doesn't close when we scroll. Tried on mWeb Safari and iOS. But it does lose focus when we click on the expand. |
Hey, @roryabraham just want to sync with you. I think you used the following PR for the Expensify fork: However, this PR is based on the still-in-development react-navigation version which is for the current react-navigation version |
Losing focus when click on expand on mWeb is not related to this issue. |
@roryabraham should we update to what @hannojg has suggested? I think we should try to get this out as soon as possible |
My two cents is that using the latest version of |
The only reason react-navigation/react-navigation#10928 needs to target react-navigation 7 is because it relies on react-native-gesture-handler 2, and right now react-navgiation 6 has a peer dependency with react-native-gesture-handler >= 1. So that means requiring RNGH 2 is a breaking change. This isn't a concern for us here, because we're already using |
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.
Would be great to get this fix out sooner than later, but my mobile setup locally is not working right now, @mananjadhav would you be able to test this properly and fill in the PR reviewer checklist for us please? If everything is fine we can merge this, lots of annoying issues will be fixed.
@mananjadhav Could you please test this #11684 (comment) bug on this PR as well? |
Team, @parasharrajat I tested the Android composer long press issue as well. I hope I got the reproduction step right. 🎀 👀 🎀
ScreenshotsWebweb-rn-nav-upgrade.movMobile Web - Chromemweb-android-rn-nav-upgrade.movMobile Web - Safarimweb-safari-rn-nav-upgrade.movDesktopdesktop-rn-nav-upgrade.moviOSios-rn-nav-upgrade.movAndroidandroid-rn-nav-upgrade.movLong press Composer android-long-press-composer.mov |
Oh yeah @roryabraham I see, that's fine. So you took their |
|
Adding the CP Staging label to get this out sooner than later since it is evry annoying bug. |
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.
@mananjadhav thanks for such rigorous testing 🙇
@mountiny looks like this was merged without the Run e2e performance regression tests test passing. Please add a note explaining why this was done and remove the |
Everything passed 😡 |
Upgrade react-navigation/drawer to use our fork (cherry picked from commit 1682c12)
…-11944 🍒 Cherry pick PR #11944 to staging 🍒
🚀 Cherry-picked to staging by @mountiny in version: 1.2.18-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
1 similar comment
🚀 Cherry-picked to staging by @mountiny in version: 1.2.18-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by @chiragsalian in version: 1.2.18-10 🚀
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
Upgrades
@react-navigation/drawer
to use our fork (published withgitpkg
), to take advantage of this PRFixed Issues
$ #11915
Tests / QA Steps (iOS, Android, mWeb)
Tests / QA Steps (Web, desktop)
Perform some basic regression tests on the drawer component. Verify that you can switch between chats as usual.
PR Review Checklist
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.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)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** 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)Screenshots
Web
Screen.Recording.2022-10-17.at.4.53.27.PM.mov
Mobile Web - Chrome (iOS)
RPReplay_Final1666050991.MP4
Mobile web – Chrome (Android)
screen-20221017-170121.mp4
Mobile Web - Safari
RPReplay_Final1666051086.MP4
Desktop
Screen.Recording.2022-10-17.at.5.03.47.PM.mov
iOS
RPReplay_Final1666050537.MP4
Android
screen-20221017-170920.mp4