Browse Source

Merge pull request #10528 from nextcloud/chore/issue-template

Use issue form for bug reports
Tobias Kaminsky 2 years ago
parent
commit
a53d4338e4

+ 0 - 47
.github/ISSUE_TEMPLATE/bug_report.md

@@ -1,47 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-labels: bug
-
----
-
-### Steps to reproduce
-1. 
-2. 
-3. 
-
-### Expected behaviour
-- Tell us what should happen
-
-### Actual behaviour
-- Tell us what happens
-
-### Can you reproduce this problem on https://try.nextcloud.com?
-- Please create a test demo account and see if this still happens there.
-- If yes, please open up a bug report
-- If not, please verify server setup and ask for help on forum
-
-### Environment data
-Android version:
-
-Device model: 
-
-Stock or customized system:
-
-Nextcloud app version:
-
-Nextcloud server version:
-
-Reverse proxy:
-
-### Logs
-#### Web server error log
-```
-Insert your webserver log here
-```
-
-#### Nextcloud log (data/nextcloud.log)
-```
-Insert your Nextcloud log here
-```
-**NOTE:** Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

+ 132 - 0
.github/ISSUE_TEMPLATE/bug_report.yml

@@ -0,0 +1,132 @@
+name: Bug report
+description: Create a report to help us improve
+labels: [ "bug" ]
+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/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
+# disabled because try.nextcloud.com is not working
+#    -   type: dropdown
+#        id: repro-on-try
+#        attributes:
+#            label: Can you reproduce this problem on try.nextcloud.com?
+#            description: |
+#                1. Create a demo account in [try.nextcloud.com](https://try.nextcloud.com). You'll be logged in automatically.
+#                2. Got to Settings -> Security and create a new app password
+#                3. Log in to this account with this app password by choosing "Alternative login with app token" during the login process.
+#            options:
+#                - "Yes"
+#                - "No"
+#                - Not applicable (explain in "additional information")
+#        validations:
+#            required: true
+    -   type: markdown
+        attributes:
+            value: "## Environment information"
+    -   type: input
+        id: android-version
+        attributes:
+            label: Android version
+        validations:
+            required: true
+    -   type: input
+        id: device-model
+        attributes:
+            label: Device brand and model
+        validations:
+            required: true
+    -   type: dropdown
+        id: stock-or-custom
+        attributes:
+            label: Stock or custom OS?
+            options:
+                - Stock
+                - Custom (explain in "additional information")
+        validations:
+            required: true
+    -   type: input
+        id: app-version
+        attributes:
+            label: Nextcloud android app version
+            description: Check the _About_ section in the Settings screen
+        validations:
+            required: true
+    -   type: input
+        id: server-version
+        attributes:
+            label: Nextcloud server version
+            description: Check _About_ in the top web menu (top right corner)
+        validations:
+            required: true
+    -   type: dropdown
+        id: reverse-proxy
+        attributes:
+            label: Using a reverse proxy?
+            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.
+                Log file can be obtained:
+                    - At `storage/emulated/0/data/nextcloud.log` on beta or dev versions
+                    - By using [`logcat`](https://github.com/nextcloud/android#getting-debug-info-via-logcat-mag) otherwise
+                If you are unable to post logs, explain why in "Additional information"
+    -   type: textarea
+        id: server-logs
+        attributes:
+            label: Server error logs
+            description: Paste your server error logs here if available. Will be automatically formatted.
+            render: bash
+    -   type: textarea
+        id: additional-info
+        attributes:
+            label: Additional information
+            description: Enter any additional information here

+ 5 - 0
.github/ISSUE_TEMPLATE/config.yml

@@ -0,0 +1,5 @@
+blank_issues_enabled: false
+contact_links:
+    -   name: Community Support and Help
+        url: https://help.nextcloud.com/
+        about: For questions and general help