To input multi-word text argument in the slash command autocomplete we use quotes. Here is the code how we parse it.
But if model.AutocompleteArgTypeText
is the last argument of a command tree there is no need to have quotes for a multi-word input.
Change the code to support multi-word input without quotes for the last argument of the command.
Example: /agenda queue "message with quotes"
vs /agenda queue message without quotes
Changes should be done only on a server.
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, I would like to work on this.
@mukulrawat1986 - are you still working on this or can we reassign? cc @iomodo
Yea, I am still working on this.
I'd like to take this.
@reflog Please reassign this to @Shubhamchinda
This issue appears stale and I鈥檓 adding the Up For Grabs
label. If work is ongoing, please remove the label. If there is an existing PR, please also link it to the issue. Thanks!
Still learning Go, but I'd like to take a swing at this.
Read all the documentation for contributions, but if I missed anything, let me know.
Most helpful comment
Yea, I am still working on this.