From cbf98782d394c4b96a6928347a82f17896c51a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey?= Date: Fri, 12 Aug 2022 11:15:33 +0200 Subject: [PATCH] Replace bug template with an issue form MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This enforces filling fields so that we don't get incomplete reports Signed-off-by: Álvaro Brey --- .github/ISSUE_TEMPLATE/bug_report.md | 48 --------- .github/ISSUE_TEMPLATE/bug_report.yml | 146 ++++++++++++++++++++++++++ 2 files changed, 146 insertions(+), 48 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index f1173e445..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: 0. Needs triage, bug -assignees: '' - ---- - -## Steps to reproduce -1. -2. -3. - -### Expected behaviour -Tell us what should happen - -### Actual behaviour -Tell us what happens instead - - -## Device information - -**Device:** Fairphone2/… - -**Android version:** 10/… - -**Talk version:** 11.0.0 - -## Server information - -**Nextcloud version:** (see admin overview page: `/index.php/settings/admin/overview`) - -**Talk version:** (see apps admin page: `/index.php/settings/apps`) - -**Custom Signaling server configured:** yes/no and version (see talk admin settings: `/index.php/index.php/settings/admin/talk#signaling_server`) - -**Custom TURN server configured:** yes/no (see talk admin settings: `/index.php/settings/admin/talk#turn_server`) - -**Custom STUN server configured:** yes/no (see talk admin settings: `/index.php/settings/admin/talk#stun_server`) - -### Server log (data/nextcloud.log) -
- -``` -Insert your server log here -``` -
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..a2059a403 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,146 @@ +name: Bug report +description: Create a report to help us improve +labels: [ "bug", "0. Needs triage" ] +body: + - type: checkboxes + id: before-posting + attributes: + label: "⚠️ Before posting ⚠️" + description: All conditions are **required**. Your issue can be closed if these are checked incorrectly. + options: + - label: This is a **bug**, not a question or an enhancement. + required: true + - label: I've [searched for similar issues](https://github.com/nextcloud/talk-android/issues) and didn't find a duplicate. + required: true + - label: I've written a clear and descriptive title for this issue, not just "Bug" or "Crash". + required: true + - label: I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/). + required: true + - type: textarea + id: repro-steps + attributes: + label: Steps to reproduce + description: | + What are the steps to reproduce this issue? Please be as specific as possible. + If you can't reproduce it, please add an explanation. + placeholder: | + 1. + 2. + 3. + validations: + required: true + - type: textarea + id: expected-behaviour + attributes: + label: Expected behaviour + description: Tell us what should happen. + validations: + required: true + - type: textarea + id: actual-behaviour + attributes: + label: Actual behaviour + description: Tell us what happens instead, as detailed as possible. + validations: + required: true + - type: markdown + attributes: + value: "## Device information" + - type: input + id: device-model + attributes: + label: Device brand and model + placeholder: "Fairphone 2" + validations: + required: true + - type: input + id: android-version + attributes: + label: Android version + placeholder: "11" + validations: + required: true + - type: input + id: app-version + attributes: + label: Nextcloud Talk app version + description: Check the Settings screen (tap on user picture) to see version + placeholder: "14.1.0" + validations: + required: true + - type: markdown + attributes: + value: "## Server information" + - type: input + id: server-version + attributes: + label: Nextcloud server version + description: | + See admin overview page: `/index.php/settings/admin/overview` + placeholder: "23.0.0" + validations: + required: true + - type: input + id: spreed-version + attributes: + label: Talk version + description: | + See apps admin page: `/index.php/settings/apps` + placeholder: "14.0.0" + validations: + required: true + - type: dropdown + id: signaling-server + attributes: + label: Custom Signaling server configured + description: | + See Talk admin settings: `/index.php/index.php/settings/admin/talk#signaling_server` + options: + - "I don't know" + - "Yes (specify version in Additional Information)" + - "No" + validations: + required: true + - type: dropdown + id: turn-server + attributes: + label: Custom TURN server configured + description: | + See Talk admin settings: `/index.php/settings/admin/talk#turn_server` + options: + - "I don't know" + - "Yes" + - "No" + validations: + required: true + - type: dropdown + id: stun-server + attributes: + label: Custom STUN server configured + description: | + See Talk admin settings: `/index.php/settings/admin/talk#stun_server` + options: + - "I don't know" + - "Yes" + - "No" + validations: + required: true + - type: markdown + attributes: + value: "## Logs" + - type: textarea + id: android-logs + attributes: + label: Android logs + description: Please **drop a log file** here, if available. + - type: textarea + id: server-logs + attributes: + label: Server log + description: Paste your server error logs (`data/nextcloud.log`) here if available. Will be automatically formatted. + render: bash + - type: textarea + id: additional-info + attributes: + label: Additional information + description: Enter any additional information here