Repository navigation
[Payment due @Krishna2323] Use SearchForUsers for mentions and chat switching - #99651
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@Krishna2323 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] |
|
@fedirjh I can review if C+ review is required. |
garrettmknight
left a comment
There was a problem hiding this comment.
Looks good from a product perspective.
|
@Krishna2323 Please review it. |
|
@fedirjh friendly bump |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid_hybrid.mp4Android: mWeb Chromeandroid_mWeb.mp4iOS: HybridAppios_hybrid.mp4iOS: mWeb Safariios_mWeb.mp4MacOS: Chrome / Safariweb_chrome.mp4 |
|
🎯 @Krishna2323, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
mountiny
left a comment
There was a problem hiding this comment.
One small change requested
mountiny
left a comment
There was a problem hiding this comment.
Thanks for addressing those
|
🚧 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. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.4.76-0 🚀
|
|
🤖 No help site changes are required for this PR — I did not create a docs PR. This change swaps which API backs two existing suggestion lists. It adds no new feature, screen, tab, button, setting, or label, so nothing in What I checked The two articles that document these flows already describe the behavior correctly and need no edit:
Neither article ever scoped Live UI verification and reasoningI drove the dev NewDot web build (which contains this change —
On the test account, typing I deliberately did not add a line like "you can also mention people you haven't chatted with" to the articles. The existing wording already permits it, and I could not verify the expanded result set in the live UI — per @fedirjh, please confirm you agree no help site update is needed here. If you do want the articles to explicitly call out that |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.76-1 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Payment issue created: #100995 |
Explanation of Change
Updates mention autocomplete and chat switching to query
SearchForUsers, allowing users who are not already present in the locally cached personal-details list to appear.Chat switching continues to query
SearchForReportsso existing report results are preserved. Mention autocomplete also keeps its existing trailing-punctuation behavior and avoids repeating the same server search when returned personal details hydrate.Fixed Issues
$ https://github.com/Expensify/Expensify/issues/670850
PROPOSAL: N/A
Tests
@mention for a user who is not locally cached.Offline tests
N/A
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
CleanShot.2026-08-27.at.13.02.37.mp4