fix: User does not appears as suggestion in chat creation list when first have a chat offline#77734
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.
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.movAndroid: mWeb ChromeiOS: HybridAppios.movios2.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.mov |
|
@nkdengineer please fix conflict |
|
Updated. |
|
@nkdengineer are you able to reproduce this infinite loading? ios-bug.mov |
| const itemRightSideComponent = useCallback( | ||
| (item: ListItem & Option, isFocused?: boolean) => { | ||
| if (!!item.isSelfDM || (item.login && excludedGroupEmails.has(item.login))) { | ||
| if (!!item.isSelfDM || (item.login && excludedGroupEmails.has(item.login)) || !item.login) { |
There was a problem hiding this comment.
Why not showing "Add to group" button when login doesn't exist?
There was a problem hiding this comment.
@situchan Because we don't have the logic data which is used to create the group report.
|
Looks good but @nkdengineer please answer to #77734 (comment) and #77734 (comment) to avoid unexpected regressions. |
|
PR seems good to me, but waiting on response from @nkdengineer to answer situchans questions before i approve/merge. |
@situchan I can't reproduce. |
|
ok, we can proceed merge @chiragsalian |
|
✋ 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/chiragsalian in version: 9.2.95-0 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.95-5 🚀
|
Explanation of Change
fix: User does not appears as suggestion in chat creation list when first have a chat offline
Fixed Issues
$ #74694
PROPOSAL: #74694 (comment)
Tests
Offline tests
None
QA Steps
Same as test
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
Android: Native
Screen.Recording.2025-12-16.at.14.52.33.mov
Android: mWeb Chrome
Screen.Recording.2025-12-16.at.14.56.41.mov
iOS: Native
Screen.Recording.2025-12-16.at.14.51.25.mov
iOS: mWeb Safari
Uploading Screen Recording 2025-12-16 at 14.50.05.mov…
MacOS: Chrome / Safari
Screen.Recording.2025-12-16.at.14.48.35.mov