Update issue templates

This commit is contained in:
Marc Rousavy 2023-09-01 18:46:41 +02:00
parent 290a20f8e3
commit c3f6589b48
2 changed files with 82 additions and 12 deletions

View File

@ -5,9 +5,9 @@ labels: [🐛 bug]
body:
- type: textarea
attributes:
label: What were you trying to do?
description: Explain what you are trying to do.
placeholder: I wanted to take a picture.
label: What's happening?
description: Explain what you are trying to do and what happened instead. Be as precise as possible, I can't help you if I don't understand your issue.
placeholder: I wanted to take a picture, but the method failed with this error "[capture/photo-not-enabled] Failed to take photo, photo is not enabled!"
validations:
required: true
- type: textarea
@ -15,13 +15,6 @@ body:
label: Reproduceable Code
description: Share a small reproduceable code snippet here (or the entire file if necessary). This will be automatically formatted into code, so no need for backticks.
render: tsx
- type: textarea
attributes:
label: What happened instead?
description: Explain what happened instead of the desired outcome. Did something crash?
placeholder: The app crashes with an `InvalidPhotoCodec` error.
validations:
required: true
- type: textarea
attributes:
label: Relevant log output
@ -43,15 +36,25 @@ body:
attributes:
label: VisionCamera Version
description: Which version of react-native-vision-camera are you using?
placeholder: ex. 2.0.1-beta.1
placeholder: ex. 3.1.6
validations:
required: true
- type: checkboxes
attributes:
label: Can you reproduce this issue in the VisionCamera Example app?
description: Run the example app (`package/example/`) and see if the issue is reproduceable here.
options:
- label: I can reproduce the issue in the VisionCamera Example app.
- type: checkboxes
attributes:
label: Are you using Expo?
options:
- label: I am using Expo
- type: checkboxes
attributes:
label: Additional information
description: Please check all the boxes that apply
options:
- label: I am using Expo
- label: I have read the [Troubleshooting Guide](https://react-native-vision-camera.com/docs/guides/troubleshooting)
required: true
- label: I agree to follow this project's [Code of Conduct](https://github.com/mrousavy/react-native-vision-camera/blob/main/CODE_OF_CONDUCT.md)

67
.github/ISSUE_TEMPLATE/BUILD_ERROR.yml vendored Normal file
View File

@ -0,0 +1,67 @@
name: 🔧 Build Error
description: File a build error bug report
title: "🔧 "
labels: [🔧 build error]
body:
- type: textarea
attributes:
label: How were you trying to build the app?
description: Explain how you tried to build the app, through Xcode, `yarn ios`, a CI, or other. Be as precise as possible, I can't help you if I don't understand your issue.
placeholder: I tried to build my app with react-native-vision-camera using the `yarn ios` command, and it failed.
validations:
required: true
- type: textarea
attributes:
label: Full build logs
description: Share the full build logs that appear in the console. Make sure you don't just paste the last few lines here, but rather everything from start to end.
render: tsx
- type: textarea
attributes:
label: Project dependencies
description: Share all of your project's dependencies including their versions from `package.json`. This is useful if there are any other conflicting libraries.
render: tsx
validations:
required: true
- type: dropdown
attributes:
label: Target platforms
description: Select the platforms where the build error occurs.
multiple: true
options:
- iOS
- Android
validations:
required: true
- type: dropdown
attributes:
label: Operating system
description: Select your operating system that you are trying to build on.
multiple: true
options:
- MacOS
- Windows
- Linux
validations:
required: true
- type: checkboxes
attributes:
label: Can you build the VisionCamera Example app?
description: Try to build the example app (`package/example/`) and see if the issue is reproduceable here.
options:
- label: I can build the VisionCamera Example app.
- type: checkboxes
attributes:
label: Are you using Expo?
options:
- label: I am using Expo
- type: checkboxes
attributes:
label: Additional information
description: Please check all the boxes that apply
options:
- label: I have read the [Troubleshooting Guide](https://react-native-vision-camera.com/docs/guides/troubleshooting)
required: true
- label: I agree to follow this project's [Code of Conduct](https://github.com/mrousavy/react-native-vision-camera/blob/main/CODE_OF_CONDUCT.md)
required: true
- label: I searched for [similar issues in this repository](https://github.com/mrousavy/react-native-vision-camera/issues) and found none.
required: true