-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Update search to work with chat rooms with empty participants + prevent searching for chat rooms by participant #43626
Update search to work with chat rooms with empty participants + prevent searching for chat rooms by participant #43626
Conversation
…omsEmptyParticipantsChatFinder
@marcaaron 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] |
Converting to draft while I fix some bugs I noticed during testing @marcaaron |
…'t have participants in Onyx
@marcaaron putting this on draft while the convo here is sorted |
…omsEmptyParticipantsChatFinder
Sorry for the delay, been prioritizing #fireroom-2024-07-02-newdot-deploy-blocked, now that that's done I'll address the comments! |
…omsEmptyParticipantsChatFinder
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.
Looks good to me. Great job on this one you both!
Just that one NAB about adding the logs.
LGTM, not sure if we need such extensive commit history for the small number of changes that we landed on 😄 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
Just fixed the conflicts and ran through the manual tests again, we should be ready to merge @rlinoz @marcaaron 🙇 |
✋ 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/jasperhuangg in version: 9.0.6-0 🚀
|
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 9.0.6-0 🚀
|
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.0.6-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.0.6-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.7-8 🚀
|
Details
Needed for https://github.com/Expensify/Auth/pull/11238
When searching for reports we don't send back the participants since they aren't needed to display the search results and can be extremely large for certain types of rooms.
We need to allow chat rooms with empty participants to display in this case. There shouldn't ever be default rooms with empty participants in any other case.
We also don't add room participant logins/display names to the search value consideration when filtering search results.
Fixed Issues
$ Related to #42989
PROPOSAL:
Tests
Comment this line out so we don't load any reports after signing in.
Checkout and build https://github.com/Expensify/Auth/pull/11238
../script/clitools.sh generator:domain
. Set a display name for this account that does not contain parts of the account's login.#announce
). Verify the #announce room appears correctly. Open the #announce room, verify it displays correctly (namely that the participants are populated in the Members page).QA Steps
We're just verifying that the chat finder page still works as it does on production since there shouldn't be any change to the data that it's working with since this needs to be merged before the Auth PR.
#announce
). Verify the #announce room appears correctly. Open the #announce room, verify it displays correctly (namely that the participants are populated in the Members page).PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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
MacOS: Desktop