New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support of the multi-word text arguments without quotes #14740
Comments
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’m adding the |
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. |
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.
JIRA: https://mattermost.atlassian.net/browse/MM-25545
The text was updated successfully, but these errors were encountered: