We should support autocomplete for Channel and user display names with spaces in the search box.
Observed:
If you type "in: Ask Anything", the space character hides the autocomplete
Expected
We need to support spaces for in: and from: search to support this, similar to the way we support spaces for autocomplete in a channel when @ is typed
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
Hi can I claim this?
Hi,
I'm trying to set up my web app but encountered some issues. Currently, I cannot pass the make test nor do make run.
Below are my terminal result, my node and npm versions, and the error log.


I checked the documentation at https://developers.mattermost.com/contribute/webapp/unit-testing/#4-getting-jest-assertion-failures-at-lines-containing-expect-tobecalledwith-expect-tohavebeennthcalledwith-or-expect-tohavebeencalledtimes-when-running-make-test
but I did not find a solution there.
@amyblais Hi, I have located the cause of the problem.
At search_channel_provider.jsx Line 37, the regex /\b(?:in|channel):\s(\S)$/i is causing parsing error. When the input contains space (eg. "Town Squ"), the regex will parse the string to null.
However, I'm not that proficient with regex, could you offer me some help about why it would parse the string into null?
@esethna ^
@esethna Hi, could you help me out?
Hi @shfrank, feel free to ask in our contributors channel and/or peer-to-peer help as a starting point?
https://community.mattermost.com/core/channels/peer-to-peer-help
https://community.mattermost.com/core/channels/tickets
cc// @amyblais
Most helpful comment
Hi can I claim this?