use useSearchSelector hook and remove unused and duplicated code#75026
use useSearchSelector hook and remove unused and duplicated code#75026NikkiWines merged 30 commits intoExpensify:mainfrom
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
All regressions are fixed Screen.Recording.2025-11-24.at.00.01.30.mp4 |
|
@ZhenjaHorbach 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-01-08.10.14.58.mov2026-01-08.10.15.21.mov2026-01-08.10.15.45.movAndroid: mWeb Chrome2026-01-08.10.04.19.mov2026-01-08.10.04.04.mov2026-01-08.10.03.51.moviOS: HybridApp2026-01-08.09.58.55.mov2026-01-08.09.59.08.mov2026-01-08.09.59.33.moviOS: mWeb Safari2026-01-08.09.53.42.mov2026-01-08.09.55.24.mov2026-01-08.09.55.38.movMacOS: Chrome / Safari2026-01-08.09.48.51.mov2026-01-08.09.49.08.mov2026-01-08.09.49.36.mov |
|
We have a broken search on From screen 2025-11-24.11.05.37.movPlus, when we try to find a selected own email 2025-11-24.11.09.25.mov |
|
And could you mention all regressions with all test cases in description? |
|
@ZhenjaHorbach The first bug you mentioned also on staging. Should we fix it?
|
I can't seem to repro this bug, although I think it's the same as the other bug. Let me try some more time. |
Still reproducible |
|
@ZhenjaHorbach What do you think about this? |
JmillsExpensify
left a comment
There was a problem hiding this comment.
Improves UX so looks good from a product perspective.
Since this issue is reproducible in staging And we have conflicts |
|
The conflicts are a bit complicated, I'll try resolve today. |
|
@mkzie2 |
|
@ZhenjaHorbach I updated. |
|
@NikkiWines I updated. |
|
🚧 @NikkiWines has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ 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/NikkiWines in version: 9.3.42-0 🚀
Bundle Size Analysis (Sentry): |
|
Deploy Blocker #86088 was identified to be related to this PR. |
|
Deploy Blocker #86097 was identified to be related to this PR. |

Explanation of Change
use useSearchSelector hook and remove unused and duplicated code
Fixed Issues
$ #71061
$ #74239
$ #74277
$ #74236
PROPOSAL:
Tests
Recent reportssectionRecent reportsand below the selfDM if it existsRegression tests
Precondition: Log in with Expensifail account which has more than 50 contacts.
Precondition: Account has self DM
Offline tests
Same
QA Steps
Recent reportssectionRecent reportsand below the selfDM if it existsRegression tests
Precondition: Log in with Expensifail account which has more than 50 contacts.
Precondition: Account has self DM
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Screen.Recording.2025-09-28.at.00.12.38.mov
Android: mWeb Chrome
Screen.Recording.2025-09-28.at.00.11.41.mov
iOS: Native
Screen.Recording.2025-09-28.at.00.14.25.mov
iOS: mWeb Safari
Screen.Recording.2025-09-28.at.00.13.23.mov
MacOS: Chrome / Safari
Screen.Recording.2025-09-28.at.00.11.09.mov
Screen.Recording.2025-10-08.at.21.44.38.mp4
Screen.Recording.2025-11-24.at.00.01.30.mp4
MacOS: Desktop
Screen.Recording.2025-09-28.at.00.15.33.mov