Skip to content
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 user autocomplete not showing users not in channel #7980

Merged
merged 1 commit into from
May 31, 2024

Conversation

larkox
Copy link
Contributor

@larkox larkox commented May 31, 2024

Summary

We were always getting the users from the database on user autocomplete, which may not have all the information.

We fix that by appending at the end the rest of the users received from the API.

Ticket Link

https://mattermost.atlassian.net/browse/MM-58504

Release Note

NONE

Issue introduced probably by #7506 , which (I think) never made it to production.

@larkox larkox added 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester labels May 31, 2024
@lindy65 lindy65 added the Build Apps for PR Build the mobile app for iOS and Android to test label May 31, 2024
Copy link

@lindy65 lindy65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @larkox - this is fixed. I can see users who are not members of the channel.

Noting: the users who are not in channel are not displayed in a separate section headed NOT IN CHANNEL as is the case on webapp

If we are happy with this discrepancy, I'm approving

@lindy65 lindy65 added QA Review Done and removed 3: QA Review Requires review by a QA tester labels May 31, 2024
@amyblais amyblais added this to the v2.17.0 milestone May 31, 2024
@amyblais amyblais added the CherryPick/Approved Meant for the quality or patch release tracked in the milestone label May 31, 2024
@marianunez marianunez requested a review from hmhealey May 31, 2024 18:23
@hmhealey hmhealey added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels May 31, 2024
@hmhealey hmhealey merged commit 9628e15 into main May 31, 2024
23 checks passed
@hmhealey hmhealey deleted the fixAutocompleteOutOfChannel branch May 31, 2024 19:10
@mattermost-build
Copy link
Contributor

Cherry pick is scheduled.

mattermost-build pushed a commit that referenced this pull request May 31, 2024
@mattermost-build mattermost-build added CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone and removed CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request Build Apps for PR Build the mobile app for iOS and Android to test CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone QA Review Done release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants