forked from mattermost/mattermost
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MM-62193] Fix search in group channels (mattermost#29916)
* feat: Add profile loading for group channels in search autocomplete * refactor: Use getChannelNameForSearchShortcut for channel name formatting * refactor: Improve channel search term generation logic * refactor: Simplify search channel provider logic and improve code readability * fix: Improve channel search shortcut name handling with fallback * refactor: Avoid overriding channels parameter in search channel provider * refactor: Revert variable names to original style in search channel provider * feat: Add getChannelNameForSearchShortcut selector for channel name retrieval * refactor: Extract common channel name search logic into helper function * fix text overflowing from search bar * test: Add tests for completeDirectGroupInfo function * test: Add type assertion for UsersState in channel_utils test * test: add test case for completeDirectGroupInfo with omitCurrentUser false * improve name composition for channels in search * eslint * lint --------- Co-authored-by: Mattermost Build <[email protected]>
- Loading branch information
1 parent
6cc85c9
commit dbf52d6
Showing
6 changed files
with
169 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters