Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: Use form template for bug reports #4166

Merged
merged 8 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 0 additions & 71 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md

This file was deleted.

108 changes: 108 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: "🐞 Bug Report"
description: "Tell us about something that's not working the way we (probably) intend."
labels: ["Platform: React-Native", "Type: 🪲 Bug"]
body:
- type: dropdown
id: environment
validations:
required: true
attributes:
label: "What React Native libraries do you use?"
description: "Select all options that describe your application."
multiple: true
options:
- "React Native without Frameworks"
- "React Navigation"
- "Hermes"
- "RN New Architecture"
- "Expo Application Services (EAS)"
- "Expo (mobile only)"
- "Expo Web"
- "Expo Router"
- "React Native Web"
- "React Native Navigation by Wix"

- type: dropdown
id: sentry
validations:
required: true
attributes:
label: "Are you using sentry.io or on-premise?"
description: "Select exactly one option."
options:
- "sentry.io (SaS)"
- "on-premise (Self-Hosted)"

- type: input
id: version
validations:
required: true
attributes:
label: "@sentry/react-native SDK Version"
description: "If the issue started after the SDK upgrade, please input both old and new versions."
placeholder: "5.33.1 ← should look like this"

- type: textarea
id: doctor
validations:
required: true
attributes:
label: "How does your development environment look like?"
description: "Output of the command `npx react-native@latest info` or manully describe your development environment?"
placeholder: |-
info Fetching system and libraries information...
OS: OS version
Node: Your version
Yarn: Yarn version
Expo SDK: Expo SDK version
react: React version
react-native: React Native version
hermesEnabled: bool
newArchEnabled: bool

- type: textarea
id: init
validations:
required: true
attributes:
label: "Sentry.init()"
description: "Code snipped of Sentry initialization from your application."
placeholder: |-
Sentry.init({
dsn: 'https://[email protected]/...'
// other options
});

- type: textarea
id: repro
validations:
required: true
attributes:
label: "Steps to Reproduce"
description: "How can we see what you're seeing? Specific is terrific."
placeholder: |-
1. Build Android using `npx react-native run-android --mode Debug`
2. Start Metro Dev server using `npx react-native start`
3. Click on button executing `Sentry.capture(new Error("This is not captured :("))`

- type: textarea
id: expected
validations:
required: true
attributes:
label: "Expected Result"

- type: textarea
id: actual
validations:
required: true
attributes:
label: "Actual Result"
description: "JS Console? iOS Console? Logcat? Screenshots? Yes, please."

- type: markdown
attributes:
value: |-

## Thank you 🙏
Check our [triage docs](https://open.sentry.io/triage/) for what to expect next.
Loading