-
Notifications
You must be signed in to change notification settings - Fork 2.7k
MM-18911: Filtering search by channel should also show the channel name and not only its ID #4217
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.
this should only change the suggestion for channel autocompletion, so the user can identify a channel by either its id or its name, depending on what's familiar for him. With the proposed change it is adding extra info to the search and nothing can be found.
Let me know if you need any more details on the approach
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.
Moved the tilde inside the parentheses. @esethna do you think it looks like a '-' because of the browser? it a tilde on mine. |
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.
@allenlai18, hmm you're correct I believe, the tilde looks like that in channel autocomplete as well however we should look into fixing that if possible, but not blocking this PR. Approving this PR.
@allenlai18 this prevents searching, it should display as you did, but search functionality shouldn't break because of this change. |
I see what you're saying now. the search is breaking when you search in a channel. i will look into this |
I think that is the expected behavior. katieTest is camel cased. if it was seperated with dashes it works. what @Willyfrog was talking about is the search is broken when you search for posts within a channel. |
Fixed! Let me know what you think. |
Mattermost test server updated with git commit Access here: https://mattermost-webapp-pr-4217.test.mattermost.cloud |
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! thanks for your contribution!
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 now. Confirmed searching is working as expected in channel as well. Thanks for clarifying the behavior on the camel case, this may be something we will want to address but can do outside of this PR.
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!
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.
Tested, looks good to merge
Test server destroyed |
@Willyfrog can you merge when you get a chance? |
Summary
Web app filter search
in:
to display channel name (channel id) and display name like mobilehttps://user-images.githubusercontent.com/7275313/68829461-d300ed80-065d-11ea-9642-2fbfdadbf6a2.PNG
Ticket Link
( https://mattermost.atlassian.net/browse/MM-18911 )
Screenshots