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 always showing on search screen #7977

Merged
merged 1 commit into from
May 31, 2024

Conversation

larkox
Copy link
Contributor

@larkox larkox commented May 30, 2024

Summary

In #7506 we changed the behavior of the user autocomplete. Among other things, we made an async call where there was no async call, and we were not waiting for it, causing the loading state setting back to false before setting the users. This let the autocomplete think there are no results to show.

Awaiting that line solves the issue.

Ticket Link

Fix https://mattermost.atlassian.net/browse/MM-58493

Release Note

NONE

I think the offending PR has not yet being released. If it has been released, then the release note should show:
Fix issue where the user autocomplete doesn't show in the search screen on some circumstances

@larkox larkox added 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester labels May 30, 2024
@larkox larkox removed the request for review from hmhealey May 30, 2024 15:50
@larkox larkox removed the 2: Dev Review Requires review by a core commiter label May 30, 2024
@larkox larkox requested a review from lindy65 May 30, 2024 15:50
@amyblais amyblais added this to the v2.17.0 milestone May 30, 2024
@amyblais amyblais added the CherryPick/Approved Meant for the quality or patch release tracked in the milestone label May 30, 2024
@lindy65 lindy65 added the Build Apps for PR Build the mobile app for iOS and Android to test label May 30, 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 👍

@lindy65 lindy65 added 4: Reviews Complete All reviewers have approved the pull request QA Review Done and removed Build Apps for PR Build the mobile app for iOS and Android to test 3: QA Review Requires review by a QA tester labels May 30, 2024
@larkox larkox merged commit 663f9ba into main May 31, 2024
28 checks passed
@larkox larkox deleted the fixSearchAutocomplete branch May 31, 2024 07: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
larkox added a commit that referenced this pull request May 31, 2024
)

(cherry picked from commit 663f9ba)

Co-authored-by: Daniel Espino García <[email protected]>
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 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