Migrated UserSelectPopup.tsx from useOptionsList to usePersonalDetailOptions#82490
Conversation
|
@hoangzinh 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9eb5a1df92
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
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.
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-02-18.at.01.29.25.androi.movAndroid: mWeb ChromeScreen.Recording.2026-02-18.at.01.30.43.adroid.c.moviOS: HybridAppScreen.Recording.2026-02-18.at.01.31.47.ios.moviOS: mWeb SafariScreen.Recording.2026-02-18.at.01.32.32.movMacOS: Chrome / SafariScreen.Recording.2026-02-18.at.01.27.07.mov |
|
No product review needed |
|
@hoangzinh Can you please finish the review here? |
|
@codex review |
mountiny
left a comment
There was a problem hiding this comment.
Can you please address those comments? The stable selectors are important
|
@mountiny Addressed all comments |
|
🚧 @mountiny 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. |
|
@shubham1206agra This PR is failing because of a regression issue #83252 The issue is reproducible in: Web Bug7086424_1771884486879.6.mp4 |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.3.25-0 🚀
|
When PR #82490 migrated UserSelectPopup from OptionsListUtils to PersonalDetailOptionsListUtils, the "You"/"me" keyword matching for the current user was lost. The old getCurrentUserSearchTerms function explicitly added translated "You" and "me" strings as searchable terms for the current user, but the new filterOption/matchesSearchTerms functions only match against display name and email. This adds an optional extraSearchTerms parameter to filterOption and matchesSearchTerms, and passes the translated "You"/"me" strings from UserSelectPopup when filtering the current user option. Co-authored-by: Shubham Agrawal <shubham1206agra@users.noreply.github.com>
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.3.25-13 🚀
|
Explanation of Change
Fixed Issues
$ #82182
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
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))npm run compress-svg)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
Screen.Recording.2026-02-14.at.6.59.09.PM.mov