From e8acf266f53d8f2ff07fb555fb3185acd3a7b090 Mon Sep 17 00:00:00 2001 From: Bennett Blodinger Date: Thu, 2 Sep 2021 22:49:57 -0500 Subject: [PATCH] new issues templates --- .github/ISSUE_TEMPLATE/bug_report.md | 29 ----------- .github/ISSUE_TEMPLATE/bug_report.yml | 59 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 22 -------- .github/ISSUE_TEMPLATE/feature_request.yml | 35 +++++++++++++ 4 files changed, 94 insertions(+), 51 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 1c04da7f..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - - - [ ] I have read the [FAQ](https://github.com/Genymobile/scrcpy/blob/master/FAQ.md). - - [ ] I have searched in existing [issues](https://github.com/Genymobile/scrcpy/issues). - -**Environment** - - OS: [e.g. Debian, Windows, macOS...] - - scrcpy version: [e.g. 1.12.1] - - installation method: [e.g. manual build, apt, snap, brew, Windows release...] - - device model: - - Android version: [e.g. 10] - -**Describe the bug** -A clear and concise description of what the bug is. - -On errors, please provide the output of the console (and `adb logcat` if relevant). - -``` -Please paste terminal output in a code block. -``` - -Please do not post screenshots of your terminal, just post the content as text instead. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..cf67c5c0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,59 @@ +name: Bug report +description: Create a report to help us improve +#title: '' +#labels: '' +#assignees: '' +body: + - type: checkboxes + attributes: + options: + - label: I have read the [FAQ](https://github.com/Genymobile/scrcpy/blob/master/FAQ.md). + required: true + - label: I have searched in existing [issues](https://github.com/Genymobile/scrcpy/issues). + required: true + - type: markdown + attributes: + value: "## Environment" + - type: input + attributes: + label: Operating System + description: e.g. Debian, Windows, macOS + validations: + required: true + - type: input + attributes: + label: scrcpy version + description: e.g. 1.12.1 + validations: + required: true + - type: input + attributes: + label: Installation method + description: e.g. manual build, apt, snap, brew, Windows release... + validations: + required: true + - type: input + attributes: + label: Device model + description: e.g. Pixel 4a + validations: + required: true + - type: input + attributes: + label: Android version + description: e.g. 10 + validations: + required: true + - type: textarea + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + attributes: + label: adb logcat + description: | + On errors, please provide the output of the console (and `adb logcat` if relevant). + Please do not post screenshots of your terminal, just post the content as text instead. + render: shell diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 524c370f..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - - - [ ] I have checked that a similar [feature request](https://github.com/Genymobile/scrcpy/issues?q=is%3Aopen+is%3Aissue+label%3A%22feature+request%22) does not already exist. - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..70325c55 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,35 @@ +name: Feature request +description: Suggest an idea for this project +#title: '' +#labels: '' +#assignees: '' +body: + - type: checkboxes + attributes: + options: + - label: I have checked that a similar [feature request](https://github.com/Genymobile/scrcpy/issues?q=is%3Aopen+is%3Aissue+label%3A%22feature+request%22) does not already exist. + required: true + - type: textarea + attributes: + label: Is your feature request related to a problem? Please describe. + description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + validations: + required: true + - type: textarea + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + attributes: + label: Describe alternatives you've considered + description: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: true + - type: textarea + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + validations: + required: true