Skip to content

Commit 48ad514

Browse files
authored
chore: Adds default issue types to issue templates (#4626)
1 parent b7eb05d commit 48ad514

File tree

3 files changed

+70
-38
lines changed

3 files changed

+70
-38
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,63 @@
1-
name: "🐞 Bug Report"
1+
name: '🐞 Bug Report'
22
description: "Tell us about something that's not working the way we (probably) intend."
3-
labels: ["Platform: React-Native", "Type: 🪲 Bug"]
3+
labels: ['Platform: React-Native', 'Type: 🪲 Bug']
4+
type: Bug
45
body:
56
- type: dropdown
67
id: environment
78
validations:
89
required: true
910
attributes:
10-
label: "What React Native libraries do you use?"
11-
description: "Select all options that describe your application."
11+
label: 'What React Native libraries do you use?'
12+
description: 'Select all options that describe your application.'
1213
multiple: true
1314
options:
14-
- "React Native without Frameworks"
15-
- "React Navigation"
16-
- "Hermes"
17-
- "RN New Architecture"
18-
- "Expo Application Services (EAS)"
19-
- "Expo (mobile only)"
20-
- "Expo Web"
21-
- "Expo Router"
22-
- "React Native Web"
23-
- "React Native Navigation by Wix"
15+
- 'React Native without Frameworks'
16+
- 'React Navigation'
17+
- 'Hermes'
18+
- 'RN New Architecture'
19+
- 'Expo Application Services (EAS)'
20+
- 'Expo (mobile only)'
21+
- 'Expo Web'
22+
- 'Expo Router'
23+
- 'React Native Web'
24+
- 'React Native Navigation by Wix'
2425

2526
- type: dropdown
2627
id: sentry
2728
validations:
2829
required: true
2930
attributes:
30-
label: "Are you using sentry.io or on-premise?"
31-
description: "Select exactly one option."
31+
label: 'Are you using sentry.io or on-premise?'
32+
description: 'Select exactly one option.'
3233
options:
33-
- "sentry.io (SaS)"
34-
- "on-premise (Self-Hosted)"
34+
- 'sentry.io (SaS)'
35+
- 'on-premise (Self-Hosted)'
3536

3637
- type: input
3738
id: version
3839
validations:
3940
required: true
4041
attributes:
41-
label: "@sentry/react-native SDK Version"
42-
description: "If the issue started after the SDK upgrade, please input both old and new versions."
43-
placeholder: "5.33.1 ← should look like this"
42+
label: '@sentry/react-native SDK Version'
43+
description: 'If the issue started after the SDK upgrade, please input both old and new versions.'
44+
placeholder: '5.33.1 ← should look like this'
4445

4546
- type: textarea
4647
id: doctor
4748
validations:
4849
required: true
4950
attributes:
50-
label: "How does your development environment look like?"
51-
description: "Output of the command `npx react-native@latest info` or manully describe your development environment?"
51+
label: 'How does your development environment look like?'
52+
description:
53+
'Output of the command `npx react-native@latest info` or manully describe your development environment?'
5254
placeholder: |-
5355
info Fetching system and libraries information...
5456
OS: OS version
5557
Node: Your version
5658
Yarn: Yarn version
5759
Expo SDK: Expo SDK version
58-
react: React version
60+
react: React version
5961
react-native: React Native version
6062
hermesEnabled: bool
6163
newArchEnabled: bool
@@ -65,8 +67,8 @@ body:
6567
validations:
6668
required: true
6769
attributes:
68-
label: "Sentry.init()"
69-
description: "Code snipped of Sentry initialization from your application."
70+
label: 'Sentry.init()'
71+
description: 'Code snipped of Sentry initialization from your application.'
7072
placeholder: |-
7173
Sentry.init({
7274
dsn: 'https://[email protected]/...'
@@ -78,10 +80,10 @@ body:
7880
validations:
7981
required: true
8082
attributes:
81-
label: "Steps to Reproduce"
83+
label: 'Steps to Reproduce'
8284
description: "How can we see what you're seeing? Specific is terrific."
8385
placeholder: |-
84-
1. Build Android using `npx react-native run-android --mode Debug`
86+
1. Build Android using `npx react-native run-android --mode Debug`
8587
2. Start Metro Dev server using `npx react-native start`
8688
3. Click on button executing `Sentry.capture(new Error("This is not captured :("))`
8789
@@ -90,15 +92,15 @@ body:
9092
validations:
9193
required: true
9294
attributes:
93-
label: "Expected Result"
95+
label: 'Expected Result'
9496

9597
- type: textarea
9698
id: actual
9799
validations:
98100
required: true
99101
attributes:
100-
label: "Actual Result"
101-
description: "JS Console? iOS Console? Logcat? Screenshots? Yes, please."
102+
label: 'Actual Result'
103+
description: 'JS Console? iOS Console? Logcat? Screenshots? Yes, please.'
102104

103105
- type: markdown
104106
attributes:

.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: 💡 Feature Request
2+
description: Tell us about a problem our SDK could solve but doesn't.
3+
labels: ['Platform: React-Native', 'enhancement']
4+
type: Feature
5+
body:
6+
- type: textarea
7+
id: problem
8+
attributes:
9+
label: Problem Statement
10+
description: What problem could Sentry solve that it doesn't?
11+
placeholder: |-
12+
I want to make whirled peas, but Sentry doesn't blend.
13+
validations:
14+
required: true
15+
16+
- type: textarea
17+
id: expected
18+
attributes:
19+
label: Solution Brainstorm
20+
description: We know you have bright ideas to share ... share away, friend.
21+
placeholder: |-
22+
Add a blender to Sentry.
23+
24+
- type: dropdown
25+
id: submit-a-pr
26+
attributes:
27+
label: Are you willing to submit a PR?
28+
description: We accept contributions!
29+
options:
30+
- 'Yes'
31+
- 'No'
32+
33+
- type: markdown
34+
attributes:
35+
value: |-
36+
## Thanks 🙏
37+
Check our [triage docs](https://open.sentry.io/triage/) for what to expect next.

0 commit comments

Comments
 (0)