From ef124c2bdf63be6588dda3106958ee60e8249e2e Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Fri, 2 Feb 2024 08:11:34 +0100 Subject: [PATCH] [Infra] update issue templates (#3513) * chore(infra): update issue templates * chore(infra): update pull request template * chore(infra): update bug report template --- .github/ISSUE_TEMPLATE/bug-report.yml | 64 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 54 ------------------ .github/ISSUE_TEMPLATE/config.yml | 11 ++++ .github/ISSUE_TEMPLATE/feature-request.yml | 52 ++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 32 ----------- .github/PULL_REQUEST_TEMPLATE.md | 21 ++++--- 6 files changed, 140 insertions(+), 94 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 00000000..e805ca08 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,64 @@ +name: Bug report +description: Create a report to help us improve +title: "[BUG]: " +labels: ["bug"] +assignees: [] +body: + - type: markdown + attributes: + value: Thanks for taking the time to fill out this bug report! + + - type: dropdown + id: version + attributes: + label: Version + description: What version are you using? + options: + - v6 (Beta) + - v5 (Stable) + validations: + required: true + + - type: dropdown + id: platforms + attributes: + label: What platforms are you having the problem on? + multiple: true + options: + - iOS + - Android + - Windows + - visionOS + - Android TV + - Apple tvOS + + - type: dropdown + id: architecture + attributes: + label: Architecture + description: What architecture are you using? + options: + - Old architecture + - New architecture with interop layer + validations: + required: true + + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + placeholder: Tell us what you see! + value: "A bug happened!" + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: Reproduction + description: Tell us how can we reproduce this bug + placeholder: Reproduction + value: "Step to reproduce this bug are: " + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 61d5de71..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -# Bug - - - -## Platform -Which player are you experiencing the problem on: -* iOS -* Android -* Windows - -## Environment info - - -Library version: x.x.x -Device: - -## Steps To Reproduce - - - -1. -2. -... - -## Expected behaviour - -1. -2. - -## Reproducible sample code - - - -## Video sample -If possible, include a link to the video that has the problem that can be streamed or downloaded from. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3a9b3a43 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: GitHub Discussions + url: https://github.com/react-native-video/react-native-video/discussions + about: Please ask and answer questions here. + - name: Slack Channel + url: https://join.slack.com/t/video-dev/shared_invite/zt-24kgmctuv-2z0O9J_v6q_rg~x1RujdOA + about: You can find us on the VideoDev Slack in the react-native-video channel. + - name: TheWidlarzGroup Discord + url: https://discord.gg/7Y6eE62hXM + about: Feel free to join our Discord server and ask questions there. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 00000000..371d1a9b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,52 @@ +name: Feature request +description: Suggest an idea for this project +title: "[Feature]: " +labels: ["feature"] +assignees: [] +body: + - type: markdown + attributes: + value: Thanks for taking the time to fill out this feature report! + + - type: textarea + id: description + attributes: + label: Description + description: Tell us your idea and why will concern if we implement it. You can also create a PR 😄 + placeholder: Tell us your idea! + value: "Very cool idea!" + validations: + required: true + + - type: textarea + id: why-it-is-needed + attributes: + label: Why it is needed ? + description: Tell us your why it is needed! + placeholder: Why it is needed ? + value: "Because it is cool!" + validations: + required: true + + - type: textarea + id: possible-implementation + attributes: + label: Possible implementation + description: | + Tell us your possible implementation! It really helps if you could describe from a technical POV how this new feature would work, which code it rely on, etc + placeholder: How to implement ? + value: "Technical POV how to do it" + validations: + required: false + + - type: textarea + id: code-sample + attributes: + label: Code sample + description: Please show how the new code could work, if doable + placeholder: Code sample + value: "Code sample" + validations: + required: false + + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index cc62df4e..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -# Feature Request - - - -## Why it is needed - - - -## Possible implementation - - - -### Code sample - - diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5ee6f693..1781b901 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,20 +1,25 @@ + +## Summary + +### Motivation + +### Changes + +## Test plan \ No newline at end of file