Replace bug template with an issue form

This enforces filling fields so that we don't get incomplete reports

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey 2022-08-12 11:15:33 +02:00
parent b85ec904c1
commit cbf98782d3
No known key found for this signature in database
GPG Key ID: 2585783189A62105
2 changed files with 146 additions and 48 deletions

View File

@ -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)
<details>
```
Insert your server log here
```
</details>

146
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@ -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