docs: Add placeholders to issue templates

This commit is contained in:
Marc Rousavy 2023-09-19 13:23:27 +02:00
parent ed55c34ca1
commit 3d840d6a2a
2 changed files with 22 additions and 1 deletions

View File

@ -40,6 +40,12 @@ body:
* For Android, either open the project through Android Studio and paste the logs from the logcat window, or run `adb logcat` in terminal.
render: shell
placeholder: >
09:03:46 I ReactNativeJS: Running "VisionCameraExample" with {"rootTag":11}
09:03:47 I ReactNativeJS: Re-rendering App. Camera: undefined | Microphone: undefined
09:03:47 I VisionCamera: Installing JSI bindings...
09:03:47 I VisionCamera: Finished installing JSI bindings!
...
validations:
required: true
- type: textarea

View File

@ -15,13 +15,28 @@ body:
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
placeholder: >
$ react-native run-android
> Configure project :react-native-vision-camera
[VisionCamera] react-native-worklets-core found, Frame Processors enabled!
...
validations:
required: true
- 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
render: json
placeholder: >
"dependencies": {
"react-native": "^0.72.3",
"react-native-reanimated": "^3.4.2",
"react-native-vision-camera": "^3.0.0",
"react-native-worklets-core": "^0.2.0",
...
},
validations:
required: true
- type: input