-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[MM-18589] Fix channel mention autocomplete behaviour #4041
Conversation
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.
Is this something we could add tests for?
I think it might be tricky to properly test this. Maybe e2e could be an option. Will look into it. |
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.
LGTM
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.
QA will test after it's merged.
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.
Awesome! Cypress tests are more thorough than I was expecting
@streamer45
|
* Fix channel autocomplete to properly group returned channels * Only update channels from last request * Revert to extensionless import * Add e2e tests for channel mention autocomplete * Fix test name
Summary
PR fixes a couple of problems with the channel mention autocomplete provider:
Other Channels list wasn't populated and the final channel list was not properly kept in sync.
Ticket Link
https://mattermost.atlassian.net/browse/MM-18589