mattermost-community / mattermost-plugin-agenda

Mattermost plugin to handle meeting agendas
Apache License 2.0
34 stars 21 forks source link

Re-queue an item for next meeting #12

Open marianunez opened 4 years ago

marianunez commented 4 years ago

The post dot menu should show an option to (re-)queue an item to the next meeting that should update the post hashtag to the next meeting date, or if no hashtag is present add the hashtag to queue this item. This would be helpful in cases an item was not covered in the given meeting and is moved to the upcoming one.

This should show an ephemeral message for feedback that the item was queued successfully.


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-22739

sanjaydemansol commented 3 years ago

Hi @hanzei , how is it supposed to function? do we assume re-queue is being clicked on item with past date? don't we need to look for all the possible upcoming meeting dates(∞)?

hanzei commented 3 years ago

There are two cases to distinguish. Re-queue is clicked for an item scheduled for

  1. The past/today: Queue the same item in the same thread with the date of the upcoming meeting. Basically /agenda queue $OLD_ITEM
  2. The future: Return an error

Does this make things more clear?

sanjaydemansol commented 3 years ago

Hi @hanzei could you please direct me to docs for it?(how do I execute command from web part of the plugin?) also, today would be different case, /agenda queue $OLD_ITEM would add it to today by default if its a meeting day.

hanzei commented 3 years ago

My suggestion would that you implement an (REST) API in this plugin can all it directly via HTTP from the client. Inspiration can be taken from https://github.com/mattermost/mattermost-plugin-github/pull/239.

I'm aware that the behavior is different from /agenda queue for meeting day, but I think it still makes sense as a common use case is to re-queue items after they got dropped in a meeting.

hanzei commented 1 year ago

https://github.com/mattermost/mattermost-plugin-agenda/pull/89 can be used as a starting point