Skip to content

Use custom post type to display TODO list #86

Open

Description

@jwilander

Currently, the TODO list that gets posted daily or by /github todo looks something like this:

Screen Shot 2019-06-04 at 16 41 25

This works ok but it's hard to read, is only minimally functional and I think we can add something that does way better. Plugins have a cool feature that lets you use custom post types to render your own React components in place of the regular post components. Leveraging this we can:

  1. Display way more information about the pull requests/issues upfront in a much more readable way
  2. Add more functionality, such as a button to open all the unread messages so users don't have to click through each one

I started working on this in the unreads-v2 branch with the following commit 54e8ecf but stopped for two reasons: 1) I ran out of time and 2) plugins could not use custom post types for ephemeral messages (which the /github todo command returns). As of the next Mattermost version 5.12 coming out soon, 2) is possible thanks to mattermost/mattermost-webapp#2759. Unfortunately, 1) is still the case as I'm still a bit too busy to work on it.

If someone is interested in picking up where I left off I think this would be a really great feature that would take the GitHub plugin to the next level. It'll require a bit of everything from server side, front end, UX design and merging master into my branch.

Here's what it was looking like when I stopped:

Screen Shot 2018-11-11 at 15 55 15

Activity

  1. added
    Up For Grabs
    on Jun 9, 2019
  2. reflog commented on Aug 28, 2019

    @reflog
    Contributor

    @jwilander just an FYI, part of what this PR does wass already implemented in another PR merged recently: #111 . Not as pretty as your version, but it solves the problem of not knowing what the PRs/Issues are :)

  3. added
    Type/Enhancement
    and removed on Mar 7, 2020
  4. added
    Good First Issue
    on Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty/1:EasyGood First IssueHacktoberfestHelp WantedTech/GoTech/ReactJSType/EnhancementUp For Grabs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions