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

Add custom post type for webhook posts, in order to comment, edit, and close issues/PRs

Open asatkinson opened this issue 2 years ago • 1 comments

At the moment, there are no actions shown on posts created by the plugin's bot. In Slack's example shown below, there are three actions:

  • Comment
  • Edit
  • Close

The task here is to implement a new custom post type, which will render these actions at the bottom of the post for the MM webapp.

For the "edit issue" feature, there is already an existing feature to create a GitHub issue, so we would reuse the same modal, but have it opened by this new action button inside the post.

Shown below are the Comment, Edit and Close buttons on a post and an example of how the Close dialog look in Slack

image image

asatkinson avatar Nov 29 '22 22:11 asatkinson

@asatkinson Is it reasonable to send the notification in the replies once we make a comment or close an issue? temp

Nityanand13 avatar Dec 20 '22 14:12 Nityanand13