-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Follow up for "add search input to mobile search page issue" #57191
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
Comments
Triggered auto assignment to @NicMendonca ( |
@luacmartins, @NicMendonca, @ikevin127, @SzymczakJ Whoops! This issue is 2 days overdue. Let's get this updated quick! |
WIP, I started looking at the performance of Reports page. |
Update: I'm testing out an option to replace SelectionList(from our Search/index.tsx component) with a FlashList. Writing a small POC to check. if it's even doable and what performance gains it might give us. |
I've done measurements with React Native dev tools profiler: I don't have all of the functionalities implemented yet(like selecting items with arrows), so the total time of the new approach will be higher, but I still think this will be tremendous upgrade in the Reports page performance. WDYT of this @luacmartins. Migrating this fully will take some time(probably the draft should be ready next week), so I need your green light to continue 😄 |
That seems promising. Do you have a POC I can take a look at? |
Here's a small POC ⬆ |
@SzymczakJ I just wanted to bring this other PR that's also aiming to improve the performance of Search |
Thanks for mentioning that. We're lucky and our PRs optimise other things, so both of them are valuable 😄. If you see any other performance fixes for Search, please let me know! |
Nice! Let's keep it up! |
@luacmartins @NicMendonca @ikevin127 @SzymczakJ this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Update PR ready for review, here are some outcomes of it: I made benchmarks between the old version of Reports screen and new version, I was measuring total time spent on calculating rerenders(and useEffects/useLayoutEffects) caused by entering Reports Page and also number of total commits. I made these benchmarks for iOS and Android platforms, as they the biggest performance problems and I was measuring it on emulator/simulator. Old version: Android: Android: This is not a complete fix for performance issue, but it's a big step for us and it should help with all the animations being slow, etc. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.19-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-04-03. 🎊 For reference, here are some details about the assignees on this issue:
|
@ikevin127 @NicMendonca @ikevin127 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Since not every issue from this group issue wasn't completed yet I suggest to not close this task, but to put it on weekly. When we are done with Traditional Reports feature I will have some time to work on rest of these issues and finish them. |
Sounds good to me |
@NicMendonca No payment action required here for me, payment for #57191 (comment) will be handled in the regression issue where I'll get -50% of the bounty. |
Not overdue |
Not overdue |
I think everything here is done, right? |
It seems so, let's just close this. |
Thanks for the work everyone! |
Uh oh!
There was an error while loading. Please reload this page.
This is group issue for all the follow-ups of add search input to mobile search page issue PR.
What needs to be done?
cc @luacmartins
The text was updated successfully, but these errors were encountered: