-
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
Performance: reduce SearchForReport requests #41729
Conversation
@ahmedGaber93 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] |
@ahmedGaber93 Currently, I am using But it can lead to: the |
@tienifr I think debounce time 500ms is not long, so no need for using |
@tienifr please include screenshots or videos for tests. |
@ahmedGaber93 I updated videos. I encountered a problem when building native app, will update it ASAP. |
@ahmedGaber93 Please help review this once you have a chance. Thanks |
Reviewer Checklist
Screenshots/VideosAndroid: Nativea.mp4Android: mWeb Chromeaw.mp4iOS: Nativei.mp4iOS: mWeb Safariiw.mp4MacOS: Chrome / Safariw.mp4MacOS: Desktopd.mp4 |
@tienifr just small changes in PR description - fix Multiple requests to SearchForReport
+ Performance: reduce SearchForReport requests Also, we need to change QA steps to use the current steps on web/desktop, and for other platforms we just need to confirm search is works fine. Also update your videos in native, if you still have a problem when building native app, you can use my own
|
@ahmedGaber93 Thanks. I fixed your comment here #41729 (comment) |
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!
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.
Looks good.
We are having merge freeze across our repos so I will merge this once we have lifted that restriction. |
@techievivek Can we merge it now? |
We have to manually request to merge a given PR with the app deployer of the week. I have made a request since it fixes a performance issue. |
✋ 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/techievivek in version: 1.4.77-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀
|
Details
Fixed Issues
$ #40608
PROPOSAL: #40608 (comment)
Tests
Web/desktop:
Others:
Offline tests
QA Steps
Web/desktop:
Others:
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
Android: Native
a.mp4
Android: mWeb Chrome
Screen.Recording.2024-05-10.at.00.07.08.mov
iOS: Native
Screen.Recording.2024-05-10.at.00.08.03.mov
iOS: mWeb Safari
i.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-05-10.at.00.00.55.mov
MacOS: Desktop
Screen.Recording.2024-05-10.at.00.04.17.mov