DEV Community

Cover image for Providing a Better GitHub Issue Experience
Sung M. Kim
Sung M. Kim

Posted on • Originally published at slightedgecoder.com on

Providing a Better GitHub Issue Experience

I recently started contributing to an open source project, qit, which “let programmers find and listen to podcasts by topic“.

As I was going through issues to tackle to get started, I found out that many issues had just titles but no description of how to reproduce it or how the site should normally behave.

Thankfully, GitHub provides a way to encourage users for a better issue report.

😱 An Issue with Unclear Context

issue with unclear description

The issue reported by THEjoezack above doesn’t provide a context regarding the issue reported.

What I mean by “context” is

  1. How to reproduce the error
  2. An expected behavior
  3. Environment such as browser, versions, and
  4. additional (optional) contexts such as screenshots/videos.

😎 An Issue with Better Context

Below is the issue created with the context mentioned above.

When other developers see the issue, they can reproduce the error and how to fix it easier.

without having to ask the reporter back and forth for more info.

Issue with better context

I gotta admit that I forgot to add a description on how to reproduce the error, only some URLs…

I am not smart enough to memorize what info to provide every time I create an issue.

Thankfully, GitHub made the process easy.

🔧 How to create issue templates

GitHub provides a way to create Markdown templates for issues such as

  1. Bug Report
  2. Feature Request
  3. Custom templates

I won’t go into details as the GitHub documentation is easy to follow.

You can add contexts in the template so that when a user creates a new issue, they are provided with pre-populated information about how to report an issue.

Pre-filled issue template

I reported the issue after setting up the template providing better experience for both issue reporter and the developer.

You can read more about issue templates on About issue and pull request templates.

💪 Issue Template in Action

Check out this video to see how issue template works after setting up templates.
For some reason, embedded youtube video isn’t working… 🤔

👋 Parting Words

I found about the issue template from dotnet/cli project, which is s a huge project (with 200 contributors & 9k commits).

It’s amazing that the majority of issue reporters follow the template providing better context for the project contributors.

THEjoezack has create a feature request with a better context provided by the template.

And everyone’s happy 😎

joes feature request

Joe’s FOSSA feature request


qit is a Progressive Web App (PWA) using ReactJs that uses styled components.

And it is quite an active project.

We are trying many fun things and failing along the way.

If you want to have fun developing a PWA, please join us on Coding Blocks Slack community (#qit).

If you have any questions, leave a comment (or please holla me on Twitter).

The post Providing a Better GitHub Issue Experience appeared first on Slight Edge Coder.

Oldest comments (2)

Collapse
 
thejoezack profile image
Joe Zack

My newer tickets have been much better :)

Thanks!!

Collapse
 
dance2die profile image
Sung M. Kim

There is no doubt about that 😃