Skip to content

Commit f2268ca

Browse files
committed
Added pull request and issue templates
The issue template is largely based on the questions included in the canned comment that I use for bugs, which is mostly covered in the contributing guide. Even though there are a lot of lines, most of it is just ticking checkboxes. The issue template is focused on bug reports, as those are considerably more common than feature requests. The pull request template was designed to be pretty slim, we haven't had many issues with these in the past.
1 parent 296d2f8 commit f2268ca

2 files changed

Lines changed: 59 additions & 0 deletions

File tree

ISSUE_TEMPLATE.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## Prerequisites
2+
3+
- [ ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate
4+
- [ ] The issue still exists against the latest `master` branch of Select2
5+
- [ ] This is not a usage question (Those should be directed to the [community](https://select2.github.io/community.html))
6+
- [ ] I have attempted to find the simplest possible steos to reproduce the issue
7+
- [ ] I have included a failing test as a pull request (Optional)
8+
9+
## Steps to reproduce the issue
10+
11+
1.
12+
2.
13+
3.
14+
15+
## Expected behavior and actual behavior
16+
17+
When I follow those steps, I see...
18+
19+
I was expecting...
20+
21+
## Environment
22+
23+
Browsers
24+
25+
- [ ] Google Chrome
26+
- [ ] Mozilla Firefox
27+
- [ ] Internet Explorer
28+
29+
Operating System
30+
31+
- [ ] Windows
32+
- [ ] Mac OS X
33+
- [ ] Linux
34+
- [ ] Mobile
35+
36+
Libraries
37+
38+
- jQuery version:
39+
- Select2 version:
40+
41+
## Isolating the problem
42+
43+
- [ ] This bug happens [on the examples page](https://select2.github.io/examples.html)
44+
- [ ] The bug happens consistently across all tested browsers
45+
- [ ] This bug happens when using Select2 without other pluigns
46+
- [ ] I can reproduce this bug in [a jsbin](https://jsbin.com/)

PULL_REQUEST_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
This pull request includes a
2+
3+
- [ ] Bug fix
4+
- [ ] New feature
5+
- [ ] Translation
6+
7+
The following changes were made
8+
9+
-
10+
-
11+
-
12+
13+
If this is related to an existing ticket, include a link to it as well.

0 commit comments

Comments
 (0)