Skip to content

Commit 4bb2d59

Browse files
committed
Add better feature request template
1 parent 9cde783 commit 4bb2d59

File tree

4 files changed

+28
-21
lines changed

4 files changed

+28
-21
lines changed

.github/ISSUE_TEMPLATE/1-bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 🐞 Bug report
22
description: Help improve React Bits.
33
labels: ["bug"]
4-
title: "bug: "
4+
title: "[BUG]: "
55
body:
66
- type: markdown
77
attributes:
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 💡 Feature Request
2+
description: Suggest something for React Bits.
3+
labels: ["enhancement"]
4+
title: "[FEAT]: "
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
## Thanks for trying to improve React Bits!
10+
Before continuing make sure you have checked other issues to see if your idea has already been discussed / addressed.
11+
- type: textarea
12+
id: desc
13+
attributes:
14+
label: Share your suggestion
15+
description: What would you like to see in React Bits?
16+
placeholder: I want flying pigs in a component please
17+
validations:
18+
required: true
19+
- type: checkboxes
20+
id: terms
21+
attributes:
22+
label: Validations
23+
description: Please make sure you have checked all of the following.
24+
options:
25+
- label: I have checked other issues to see if my issue was already discussed or addressed
26+
required: true

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/components/common/ContributionSection.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const ContributionSection = () => {
3636
<Button
3737
cursor="pointer"
3838
as="a"
39-
href={`https://github.com/DavidHDev/react-bits/issues/new?title=[FEAT]:+${category}/${subcategory}&labels=enhancement&template=feature-request.md`}
39+
href={`https://github.com/DavidHDev/react-bits/issues/new?title=[FEAT]:+${category}/${subcategory}&labels=enhancement&template=2-feature-request.yml`}
4040
rel="noreferrer"
4141
target="_blank"
4242
fontSize="sm"

0 commit comments

Comments
 (0)