]> git.openstreetmap.org Git - rails.git/commitdiff
Add some issue templates and links to other repositories
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 24 Nov 2021 13:41:37 +0000 (13:41 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 24 Nov 2021 13:41:37 +0000 (13:41 +0000)
This should help new users find the right place to go with their issue,
while also letting people use the blank template if they prefer.

The templates are heavily inspired by similar templates in the iD repo.

Fixes #3358

.github/ISSUE_TEMPLATE/bug.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/config.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/feature.yml [new file with mode: 0644]

diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
new file mode 100644 (file)
index 0000000..681a919
--- /dev/null
@@ -0,0 +1,45 @@
+name: A Bug
+description: Something has gone wrong when you were using the website.
+# title:
+# labels:
+# assignees:
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this bug report!
+  - type: input
+    id: url
+    attributes:
+      label: URL
+      description: Please share the URL where the issue can be seen.
+      placeholder: https://www.openstreetmap.org/...
+    validations:
+      required: false
+  - type: textarea
+    id: steps-reproduce
+    attributes:
+      label: How to reproduce the issue?
+      description: Please share the steps to reproduce the issue.
+      placeholder: 1. ..., 2. ..., 3. ...
+    validations:
+      required: false
+  - type: textarea
+    attributes:
+      label: Screenshot(s) or anything else?
+      description: Please add screenshots or additional information to help us understand your issue.
+      placeholder:
+    validations:
+      required: false
+  - type: dropdown
+    id: browsers
+    attributes:
+      label: Which browsers are you seeing this problem on?
+      multiple: true
+      options:
+        - Firefox
+        - Chrome
+        - Safari
+        - Microsoft Edge
+    validations:
+      required: false
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644 (file)
index 0000000..0f40ec0
--- /dev/null
@@ -0,0 +1,11 @@
+blank_issues_enabled: false
+contact_links:
+  - name: There is an issue with the default map layer shown on the front page
+    url: https://github.com/gravitystorm/openstreetmap-carto
+    about: Please share your feedback with the OpenStreetMap-Carto team
+  - name: There is an issue with the iD editor used on the Edit tab
+    url: https://github.com/openstreetmap/iD
+    about: Please share your feedback with the iD team
+  - name: There is an issue with the search results
+    url: https://github.com/osm-search/Nominatim
+    about: Please share your feedback with the Nominatim team
diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml
new file mode 100644 (file)
index 0000000..e556dfa
--- /dev/null
@@ -0,0 +1,21 @@
+name: 'Feature, Idea, Question'
+description: You want to request a feature, share an idea or have a question.
+# title:
+# labels:
+# assignees:
+body:
+  - type: textarea
+    id: idea
+    attributes:
+      label: Description
+      description: Please describe you feature request, idea or question.
+      placeholder:
+    validations:
+      required: false
+  - type: textarea
+    attributes:
+      label: Screenshots
+      description: Please add screenshots if they can help us understand your request/idea/question.
+      placeholder:
+    validations:
+      required: false