-
Notifications
You must be signed in to change notification settings - Fork 3.5k
use useSearchSelector hook and remove unused and duplicated code #75026
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
base: main
Are you sure you want to change the base?
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: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
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? |

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