perf: improve performance when opening Search with cmd+k#30263
perf: improve performance when opening Search with cmd+k#30263mountiny merged 3 commits intoExpensify:mainfrom
Conversation
cmd+k
cmd+k|
There is one regression it seems, click |
|
but he typing is super fast |
Thanks, taking a look on that now! |
This reverts commit 0e4411c.
|
@vit I have investigated that and found out that we shouldn't remove the |
11b6576 to
aeba274
Compare
|
@robertKozik 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] |
|
Ok thanks! I thin we should still look into what options we have here to speed up the typing there @robertKozik woudl you be able to do a checklist on this one please? |
|
kicked off a new build |
|
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪 |
|
yeah the delay is still there as you have explained, I think we can just go ahead with this now |
|
hi @robertKozik did you have a chance to take a look on this PR? |
|
Yeah I'm on it right now |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.-.native.movAndroid: mWeb Chromeandroid.-.web.moviOS: Nativeios.-.native.moviOS: mWeb Safariios.-.web.movMacOS: Chrome / Safariandroid.-.web.movMacOS: DesktopScreen.Recording.2023-10-30.at.23.21.31.mov |
robertKozik
left a comment
There was a problem hiding this comment.
Cannot find any regression - LGTM 🚀
mountiny
left a comment
There was a problem hiding this comment.
Thank you very much everyone!
|
✋ 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/mountiny in version: 1.3.95-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.95-9 🚀
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.96-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.96-15 🚀
|
Details
Fixed Issues
$ #30261
PROPOSAL: #30261 (comment)
Tests
cmd+kOffline tests
n/a
QA Steps
cmd+kcmd+kPR 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
Android: Native
SEARCH_ANDROID.mov
Android: mWeb Chrome
SEARCH_ANDROID_WEB.mov
iOS: Native
SEARCH_IOS.mp4
iOS: mWeb Safari
SEARCH_IOS_WEB.mp4
MacOS: Chrome / Safari
SEARCH_WEB.mov
MacOS: Desktop
SEARCH_DESKTOP.mov