Skip to content

Commit 67e4274

Browse files
committed
chore: update issue templates for bug reports and feature requests
1 parent a8a4943 commit 67e4274

File tree

3 files changed

+32
-38
lines changed

3 files changed

+32
-38
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,13 @@ body:
1010
👋 Hi!
1111
1212
**Please fill the following carefully before opening a new issue ❗**
13-
*(Your issue may be closed if it doesn't provide the required pieces of information)*
1413
- type: checkboxes
1514
attributes:
1615
label: Before submitting a new issue
1716
description: Please perform simple checks first.
1817
options:
1918
- label: I tested using the latest version of the library, as the bug might be already fixed.
2019
required: true
21-
- label: I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of react native.
22-
required: true
2320
- label: I checked for possible duplicate issues, with possible answers.
2421
required: true
2522
- type: textarea
@@ -31,38 +28,11 @@ body:
3128
If needed, you can also provide other samples: error messages / stack traces, screenshots, gifs, etc.
3229
validations:
3330
required: true
34-
- type: input
35-
id: library-version
36-
attributes:
37-
label: Library version
38-
description: What version of the library are you using?
39-
placeholder: "x.x.x"
40-
validations:
41-
required: true
4231
- type: textarea
4332
id: react-native-info
4433
attributes:
4534
label: Environment info
4635
description: Run `react-native info` in your terminal and paste the results here.
47-
render: shell
48-
validations:
49-
required: true
50-
- type: textarea
51-
id: steps-to-reproduce
52-
attributes:
53-
label: Steps to reproduce
54-
description: |
55-
You must provide a clear list of steps and code to reproduce the problem.
56-
value: |
57-
1. …
58-
2. …
59-
validations:
60-
required: true
61-
- type: input
62-
id: reproducible-example
63-
attributes:
64-
label: Reproducible example repository
65-
description: Please provide a link to a repository on GitHub with a reproducible example.
66-
render: js
6736
validations:
6837
required: true
38+

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
11
blank_issues_enabled: false
2-
contact_links:
3-
- name: Feature Request 💡
4-
url: https://github.com/amitpdev/react-native-range-slider/discussions/new?category=ideas
5-
about: If you have a feature request, please create a new discussion on GitHub.
6-
- name: Discussions on GitHub 💬
7-
url: https://github.com/amitpdev/react-native-range-slider/discussions
8-
about: If this library works as promised but you need help, please ask questions there.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: 🚀 Feature request
2+
description: Suggest an idea or enhancement for this library.
3+
labels: [enhancement]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
# Feature request
9+
10+
👋 Hi!
11+
12+
**Thank you for suggesting a new feature for this library.**
13+
- type: checkboxes
14+
attributes:
15+
label: Before submitting a feature request
16+
description: Please check these items before proceeding.
17+
options:
18+
- label: I have searched the existing issues to ensure this feature hasn't been requested already.
19+
required: true
20+
- label: I am using the latest version of the library.
21+
required: true
22+
- type: textarea
23+
id: description
24+
attributes:
25+
label: Feature description
26+
description: |
27+
Provide a clear and detailed description of the feature you're proposing.
28+
How would it benefit users of the library?
29+
validations:
30+
required: true
31+

0 commit comments

Comments
 (0)