Przeglądaj źródła

add issue and discussion templates

Falko Schindler 2 lat temu
rodzic
commit
20a36bf5e4

+ 7 - 0
.github/DISCUSSION_TEMPLATE/announcements.yml

@@ -0,0 +1,7 @@
+body:
+  - type: textarea
+    id: content
+    attributes:
+      label: Your announcement
+    validations:
+      required: true

+ 9 - 0
.github/DISCUSSION_TEMPLATE/general.yml

@@ -0,0 +1,9 @@
+body:
+  - type: textarea
+    id: content
+    attributes:
+      label: Content
+      description: |
+        Please, put source code in [fenced code blocks with syntax highlighting](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting).
+    validations:
+      required: true

+ 10 - 0
.github/DISCUSSION_TEMPLATE/ideas.yml

@@ -0,0 +1,10 @@
+body:
+  - type: textarea
+    id: content
+    attributes:
+      label: Describe your idea
+      description: |
+        If possible, give a [minimal reproducible code example](https://en.wikipedia.org/wiki/Minimal_reproducible_example).
+        Put source code in [fenced code blocks with syntax highlighting](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting).
+    validations:
+      required: true

+ 11 - 0
.github/DISCUSSION_TEMPLATE/q-a.yml

@@ -0,0 +1,11 @@
+body:
+  - type: textarea
+    id: content
+    attributes:
+      label: Describe your question
+      description: |
+        Search through [existing questions](https://github.com/zauberzeug/nicegui/discussions/categories/q-a) first.
+        If possible, give a [minimal reproducible code example](https://en.wikipedia.org/wiki/Minimal_reproducible_example).
+        Put source code in [fenced code blocks with syntax highlighting](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting).
+    validations:
+      required: true

+ 9 - 0
.github/DISCUSSION_TEMPLATE/show-and-tell.yml

@@ -0,0 +1,9 @@
+body:
+  - type: textarea
+    id: content
+    attributes:
+      label: Describe your project
+      description: |
+        Please, put source code in [fenced code blocks with syntax highlighting](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting).
+    validations:
+      required: true

+ 1 - 1
.github/ISSUE_TEMPLATE/config.yml

@@ -1,4 +1,4 @@
-blank_issues_enabled: true
+blank_issues_enabled: false
 contact_links:
   - name: Have an idea or a feature requests?
     url: https://github.com/zauberzeug/nicegui/discussions/categories/ideas-feature-requests

+ 15 - 0
.github/ISSUE_TEMPLATE/issue.yml

@@ -0,0 +1,15 @@
+name: Report an issue
+description: Report a bug or some other unexpected behavior.
+body:
+  - type: textarea
+    id: content
+    attributes:
+      label: Describe the issue
+      description: |
+        1. What are you trying to do?
+          If possible, give a [minimal reproducible code example](https://en.wikipedia.org/wiki/Minimal_reproducible_example).
+          Put source code in [fenced code blocks with syntax highlighting](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting).
+        2. What do you expect to happen?
+        3. What happens instead?
+    validations:
+      required: true

+ 0 - 10
.github/ISSUE_TEMPLATE/report-an-issue.md

@@ -1,10 +0,0 @@
----
-name: Report an issue
-about: Report a bug or some other unexpected behavior.
-title: ''
-labels: ''
-assignees: ''
-
----
-
-