mattermost-plugin-todo icon indicating copy to clipboard operation
mattermost-plugin-todo copied to clipboard

Create several todo within a message

Open biva opened this issue 4 years ago • 4 comments

Following this feature request (https://github.com/mattermost/mattermost-plugin-todo/issues/132), it would be great to create several todos within a message. For example:

Hey, I have watched the latest report from CrazyNews, and it's interesting
/todo send @bob Watch it
/todo send @alice Share it on our twitter

This would create a different todo for Bob (Watch it) and Alice (Share it on our twitter), and both would have the permalink to the original message. The original message should remain visible in the channel where I posted it.

You could consider that all the text behind @bob is the content of the todo, stopping with the first new line. Or stopping with a defined special character (like / or § or anything).

biva avatar Jan 08 '21 15:01 biva

I wonder if creating a todo in a thread will link directly the root post. i.e. /todo add Something in a thread will create a todo like Something [permalink](link). The same would happen for send.

Nevertheless, I worry on how to communicate that to the user so they know that the link will be added.

larkox avatar Jan 11 '21 10:01 larkox

@larkox I'm not sure to understand: when I create a todo today, I can already add the permalink. This should also be the case: the permalink should be added automatically to the todo, and Bob will receive a message from Todo Bot, this message will include Watch it and the permalink.

But maybe I misunderstood you?

biva avatar Jan 11 '21 16:01 biva

I think we are proposing the same.

I can for sure type /todo add Something (permalink)[link] and will create a todo with content Something (permalink)[link]. But what I am proposing is that if I write /todo add Something inside a thread, the created todo will be Something (permalink)[link] instead of Something.

larkox avatar Jan 11 '21 16:01 larkox

Great :)

biva avatar Jan 11 '21 16:01 biva