From 8e67706a5233acf3ad49235bfc2f7fccc6f7a242 Mon Sep 17 00:00:00 2001 From: Maciej Makowski Date: Thu, 24 Oct 2024 12:16:54 +0200 Subject: [PATCH 1/3] chore: added pull request template --- .github/pull_request_template.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..1fc1de0d --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,18 @@ + + +Closes # + +## Introduced changes + + + +- + +## Checklist + + + +- [ ] Linked relevant issue +- [ ] Updated relevant documentation +- [ ] Added/Conducted relevant tests +- [ ] Performed self-review of the code From 2e4b8659723223844a9682bd6ed430c46d59d6fb Mon Sep 17 00:00:00 2001 From: Maciej Makowski Date: Thu, 24 Oct 2024 12:17:06 +0200 Subject: [PATCH 2/3] chore: added bug_report template --- .github/ISSUE_TEMPLATE/bug_report.yaml | 156 +++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 00000000..66185151 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,156 @@ +name: Bug report +description: Report an issue with React Native Audio API here. +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + + Before you proceed: + + - Make sure to check whether there are similar issues in the repository + - Make sure to clean cache in your project. Depending on your setup this could be done by: + - `yarn start --reset-cache` or + - `npm start -- --reset-cache` or + - `expo start --clear` + + - type: markdown + attributes: + value: | + ## Required information + - type: textarea + id: description + attributes: + label: Description + description: Please provide a clear, concise and descriptive explanation of what the bug is. Include screenshots or a video if needed. Tell us what were you expecting to happen instead of what is happening now. + validations: + required: true + + - type: textarea + id: steps-to-reproduce + attributes: + label: Steps to reproduce + description: Provide a detailed list of steps that reproduce the issue. + placeholder: | + 1. + 2. + 3. + validations: + required: true + + - type: input + id: repro + attributes: + label: Snack or a link to a repository + description: | + Please provide a Snack (https://snack.expo.io/) or a link to a repository on GitHub under your username that reproduces the issue. + Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve. + Issues without a reproduction are likely to stale. + placeholder: Link to a Snack or a GitHub repository + validations: + required: true + + - type: input + id: react-native-audio-api-version + attributes: + label: React Native Audio API version + description: What version of react-native-audio-api are you using? + placeholder: 0.1.0 + validations: + required: true + + - type: input + id: react-native-version + attributes: + label: React Native version + description: What version of react-native are you using? + placeholder: 0.75.3 + validations: + required: true + + - type: dropdown + id: platforms + attributes: + label: Platforms + description: On what platform your application is running on? + multiple: true + options: + - Android + - iOS + validations: + required: true + + - type: markdown + attributes: + value: | + ## Additonal information + + Providing as much information as possible greatly helps us with reproducting the issues. + + - type: dropdown + id: runtime + attributes: + label: JavaScript runtime + description: What runtime is your application using? + options: + - JSC + - Hermes + - V8 + + - type: dropdown + id: workflow + attributes: + label: Workflow + description: How is your application managed? + options: + - React Native + - Expo Go + - Expo Dev Client + + - type: dropdown + id: architecture + attributes: + label: Architecture + description: What React Native architecture your application is running on? Currently, the default architecture on React Native is Paper so if you haven't changed it in your application select this option. + options: + - Paper (Old Architecture) + - Fabric (New Architecture) + + - type: dropdown + id: build-type + attributes: + label: Build type + description: What is the build configuration/variant of your native app and JavaScript bundle mode? + options: + - Debug app & dev bundle + - Release app & production bundle + - Debug app & production bundle + - Release app & dev bundle + - Other (please specify) + + - type: dropdown + id: emulator + attributes: + label: Device + description: How are you running your application? + options: + - iOS simulator + - Android emulator + - Real device + + - type: input + id: device-model + attributes: + label: Device model + description: What device you are experiencing this problem on? Specify full device name along with the version of the operating system it's running. + placeholder: ex. Samsung Galaxy A22 (Android 12) + + - type: dropdown + id: acknowledgements + attributes: + label: Acknowledgements + description: I searched for similar issues in the repository. + options: + - 'Yes' + validations: + required: true From b63e413da2f351ff1b2f92acaf6763a4ce4baf5b Mon Sep 17 00:00:00 2001 From: Maciej Makowski Date: Thu, 24 Oct 2024 12:20:01 +0200 Subject: [PATCH 3/3] chore: added feature request template --- .github/ISSUE_TEMPLATE/feature_request.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 00000000..e4c2339f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,10 @@ +name: Feature request +description: Suggest a feature +body: + - type: textarea + id: Suggestion + attributes: + label: Feature Request + description: Describe the feature(s) you would like to be added. + validations: + required: true