-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix: Duplicate phone number can be invited #33928
Conversation
@rushatgabhane 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] |
This comment has been minimized.
This comment has been minimized.
@DylanDylann how is this PR different from the previous one? How have we optimized the filtering? |
@rushatgabhane I think we need to test if this PR causes the regression first. Because this one and PR are reverted at the same time |
@rushatgabhanePlease help review the PR again once you have a chance. cc @mountiny |
@mountiny someone with a high activity account will have to test it. |
@@ -74,7 +74,10 @@ function RoomInvitePage(props) { | |||
|
|||
// Any existing participants and Expensify emails should not be eligible for invitation | |||
const excludedUsers = useMemo( | |||
() => [...PersonalDetailsUtils.getLoginsByAccountIDs(lodashGet(props.report, 'visibleChatMemberAccountIDs', [])), ...CONST.EXPENSIFY_EMAILS], | |||
() => | |||
_.map([...PersonalDetailsUtils.getLoginsByAccountIDs(lodashGet(props.report, 'visibleChatMemberAccountIDs', [])), ...CONST.EXPENSIFY_EMAILS], (participant) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rushatgabhane Note that, this PR is the same as the original PR, except that we use visibleChatMemberAccountIDs
rather than participantAccountIDs
Sorry for delay creating a new build |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
@muttmuure confirmed the search if working fine for him |
@conorpendergrast also confirmed it works well so @rushatgabhane @DylanDylann I think you guys can continue with this |
@rushatgabhane Please help review the PR again once you have a chance |
Reviewer Checklist
Screenshots/VideosiOS: Native |
Everything will go smoothly this time 🙏 |
✋ 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/Beamanator in version: 1.4.33-0 🚀
|
Some people are again experiencing unusable Search in staging 😬 |
friiiick |
I am not sure, after revert the app works fine, but we did test this ad hoc build before. I believe we should either hold this on pagination or try to think of some other appraoch |
🚀 Deployed to production by https://github.com/francoisl in version: 1.4.33-5 🚀
|
Details
Fixed Issues
$ #30190
PROPOSAL: #30190 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screencast.from.04-01-2024.15.49.30.webm
MacOS: Desktop