Having an issue template will help the community in reporting valid and complete tickets.
It'd also be good to have templates for typical answers like β what if someone ignored the issue template.
I think this one would do the trick for now.
I find it slightly too complicated. I had problems figuring out where to write what myself. Especially, the beginning is tricky. cc @mlewand
I'm quite unsure a template is really valuable. If it'll really-really make a difference on the quality of the issues. It can just make it more difficult, in fact.
Are other popular projects using it?
But ofc, it may reduce the amount of "support request" issues, but I still don't see it as a big problem for now.
Yep, a lot of projects use issue templates. First 3 I checked:
And when I checked a couple of recent issues in https://github.com/ckeditor/ckeditor-dev/issues?utf8=%E2%9C%93&q=is%3Aissue they were nicer than how I remembered them from the past, so perhaps that's thanks to the template as well. @mlewand, did you notice some improvement after you introduced the template?
I like the readability of the Angular one. It makes a better use of empty lines.
This is the issue template I use in my project
https://github.com/Roshanjossey/first-contributions/blob/master/ISSUE_TEMPLATE.md
Here's a sample issue
Roshanjossey/first-contributions#802
π Problem
π― Goal
π‘ Possible solutions
π Steps to solve the problem
This is working extremely well for me. I've written a blog post about it
https://medium.com/@roshanjossey/how-better-issues-improve-collaboration-5a4e6ff95e90
Do reply if you like it. I'll submit a pull request to include this
I like the idea to use Unicode emojis. It's an easy and visually simple way to divide the text into fragments β they are more visible than ##
(heading characters in MD) when editing a bug report. But we'd need a bit different sections. Right now I can think of:
I also think we could provide a link to our docs where we'd show an example of how issue can be reported with some additional information like where to get the version from.
WDYT?
The emoji approach LGTM. I'd like to use headers, though:
## π Problem
Thanks @Roshanjossey for the PR!
I improved the formatting of the template a bit and now it looks like this:
Let's see how it works in this repo and we'll add it to other repos too or do necessary adjustments.
I just found out that this template brings some confusion to references because it uses checkboxes that GH recognizes as checklists:
There's no toβdo list in the issue, it's all about - [x] Bug report
. It may cause some confusion in the tracker, WDYT?
I also find these checkboxes strange (its the multiple chose what is strange for me). I would replace it with something like:
"Bug report/Feature request (delete unnecessary)"
I'm glad I'm not the only one freaking out π
I think something like this would do the trick:
## π Is this a bug report or feature request? (choose one)
- Bug report
- Feature request
I also noticed that over the past weeks developers submitted lots of issues which are basically requests for help. More often than they resolve when pointed to the right place in the documentation.
I think to reduce the noise around here, the template should point to Gitter and/or SO in such situations because this GH is not the right kind of place for this kind of discussion.
You might want to use SUPPORT.md
file for that, see:
As this issue is still open...
What about replacing the green :negative_squared_cross_mark: with the red one: :x: which better (IMHO) shows, that something is wrong with the current result.
Another thing is the beetle emoji in the Is this a bug report or feature request? header, always starting with a :beetle: emoji, which is wrong for features. So I would go with :beetle: / :new: or add them to the list and remove from header, like:
1.
2.
@vokiel it probably dependends on used fonts for emojis:
ps.: that cross is a bit more distinguishable though..
Interesting, looks like it's more browser specific, than OS:
Chrome / Opera / Vivaldi
Firefox:
Yeah: this cross is very inconsistent across different styles: https://emojipedia.org/negative-squared-cross-mark/. The https://emojipedia.org/cross-mark/ has consistent colors though.
One thing which I don't like in the current template is that the bug report and feature request are two list items. If you delete one of them you'll be left with a list of one list item which is neither semantically correct nor looks nice.
Also, I kinda miss the third option "Other" or "I'm not sure" for all kinds of issues which you're not sure about. Also, we often report issues of type "task" or "docs" so "Other" would be best for them.
So, what do you think about?
## Is this a bug report or feature request? (choose one)
π Bug report | π Feature request | Other
## π» Version of CKEditor
<!-- Please specify CKEditor version, build type and all customizations. -->
## π Steps to reproduce
1.
2.
## β
Expected result
## β Actual result
## π Other details that might be useful
We recommend reporting issues and feature requests in this repository and since the issue template is mostly for the community, I think that it's completely enough that it's only defined in this repository.
Thanks!
Most helpful comment
I just found out that this template brings some confusion to references because it uses checkboxes that GH recognizes as checklists:
There's no toβdo list in the issue, it's all about
- [x] Bug report
. It may cause some confusion in the tracker, WDYT?