mattermost / mattermost/mattermost-plugin-github

[Feature request] When linking to pull requests / issues on a private repository, show a preview instead of an error page

Open
#730 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs Mattermost Changes
Dominant language
Go
Stars
179
Forks
180
Avg merge
1d 16h
Merged PRs (30d)
13

Description

Currently, if I link to an issue on a private github repository, the link preview is the github "Build software better, together" page.

It would be really nice if (similar to code previews) this replaced the preview with the PR/issue title (and perhaps labels/projects/milestones/assignees).

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

Start by locating the existing code-preview handling and the path that builds previews for GitHub issue and pull-request links. Trace how private-repository links are handled, then define completion as showing the linked title instead of GitHub's error page, with any additional metadata supported by the existing preview design.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.