mattermost / mattermost/mattermost-plugin-github

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

Open
#618 1 comment 0 reactions 0 assignees View on GitHub

@Nityanand13 is already working on this.

Since Jan 31, 2023.

  • #636 by @Nityanand13 — open
Difficulty/3:Hard Type/Enhancement
Dominant language
Go
Stars
179
Forks
180
Avg merge
1d 16h
Merged PRs (30d)
13

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the MM webapp, webhook posts, and the existing GitHub issue-creation modal, but it names no files or tests. Review linked pull request #636 first, then trace how webhook posts are rendered and how the existing issue modal is opened. Done means posts expose Comment, Edit, and Close actions with the requested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, go
Domain
full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.