Skip to content

Commit c585101

Browse files
authored
Merge pull request testing-library#32 from alexkrolick/chore/add-templates
Add GitHub Issue templates
2 parents 7bab309 + ac5eb6a commit c585101

File tree

3 files changed

+136
-0
lines changed

3 files changed

+136
-0
lines changed

.github/ISSUE_TEMPLATE/Bug_Report.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
name: 🐛 Bug Report
3+
about: Bugs, missing documentation, or unexpected behavior 🤔.
4+
---
5+
6+
<!--
7+
8+
* Please fill out this template with all the relevant information so we can
9+
understand what's going on and fix the issue. We appreciate bugs filed and PRs
10+
submitted!
11+
12+
* If you're issue is regarding one of the query APIs (`getByText`
13+
`getByLabelText`, etc), then please file it on the `dom-testing-library`
14+
repository instead. If you file it here it will be closed. Thanks :)
15+
16+
* Please make sure that you are familiar with and follow the Code of Conduct for
17+
this project (found in the CODE_OF_CONDUCT.md file).
18+
19+
We'll probably ask you to submit the fix (after giving some direction). If
20+
you've never done that before, that's great! Check this free short video
21+
tutorial to learn how: http://kcd.im/pull-request
22+
23+
-->
24+
25+
* `react-testing-library` version:
26+
* `react` version:
27+
* `node` version:
28+
* `npm` (or `yarn`) version:
29+
30+
### Relevant code or config:
31+
32+
```js
33+
var your => (code) => here;
34+
```
35+
36+
### What you did:
37+
38+
<!-- What you were doing -->
39+
40+
### What happened:
41+
42+
<!-- Please provide the full error message/screenshots/anything -->
43+
44+
### Reproduction:
45+
46+
<!--
47+
If possible, please create a repository that reproduces the issue with the
48+
minimal amount of code possible.
49+
50+
Or if you can, try to reproduce the issue in a Codesandbox. You can fork the one
51+
here: https://codesandbox.io/s/5z6x4r7n0p
52+
-->
53+
54+
### Problem description:
55+
56+
<!-- Please describe why the current behavior is a problem -->
57+
58+
### Suggested solution:
59+
60+
<!--
61+
It's ok if you don't have a suggested solution, but it really helps if you could
62+
do a little digging to come up with some suggestion of how to improve things.
63+
-->
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
name: 💡 Feature Request
3+
about: I have a suggestion (and might want to implement myself 🙂)!
4+
---
5+
6+
<!--
7+
8+
Vote on feature requests by adding a 👍. This helps maintainers prioritize what
9+
to work on.
10+
11+
* Please fill out this template with all the relevant information so we can
12+
understand what's going on and fix the issue. We appreciate bugs filed and PRs
13+
submitted!
14+
15+
* If you're issue is regarding one of the query APIs (`getByText`
16+
`getByLabelText`, etc), then please file it on the `dom-testing-library`
17+
repository instead. If you file it here it will be closed. Thanks :)
18+
19+
* Please make sure that you are familiar with and follow the Code of Conduct for
20+
this project (found in the CODE_OF_CONDUCT.md file).
21+
22+
We'll probably ask you to submit the fix (after giving some direction). If
23+
you've never done that before, that's great! Check this free short video
24+
tutorial to learn how: http://kcd.im/pull-request
25+
26+
-->
27+
28+
### Describe the feature you'd like:
29+
30+
<!--
31+
A clear and concise description of what you want to happen. Add any considered
32+
drawbacks.
33+
-->
34+
35+
### Suggested implementation:
36+
37+
<!-- Helpful but optional 😀 -->
38+
39+
### Describe alternatives you've considered:
40+
41+
<!--
42+
A clear and concise description of any alternative solutions or features you've
43+
considered.
44+
-->
45+
46+
### Teachability, Documentation, Adoption, Migration Strategy:
47+
48+
<!--
49+
If you can, explain how users will be able to use this and possibly write out a
50+
version of the docs.
51+
-->

.github/ISSUE_TEMPLATE/Question.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: ❓ Support Question
3+
about: 🛑 If you have a question 💬, please check out our support channels!
4+
---
5+
6+
------------ 👆 Click "Preview"!
7+
8+
Issues on GitHub are intended to be related to problems with the library itself
9+
and feature requests so we recommend not using this medium to ask them here 😁.
10+
11+
---
12+
13+
## ❓ Support Forums
14+
15+
* React Spectrum
16+
https://spectrum.chat/react-testing-library
17+
* Reactiflux on Discord
18+
https://www.reactiflux.com
19+
* Stack Overflow
20+
https://stackoverflow.com/questions/tagged/react-testing-library
21+
22+
**ISSUES WHICH ARE QUESTIONS WILL BE CLOSED**

0 commit comments

Comments
 (0)