ソースを参照

Update to the new issue form system (#5921)

Dustin Utecht 4 年 前
コミット
1c1aae78e5

+ 0 - 26
.github/ISSUE_TEMPLATE/1_Bug_report.md

@@ -1,26 +0,0 @@
----
-name: 🐛 Bug Report
-about: Report errors and problems
-labels: Bug
-
----
-
-**Bootstraptable version(s) affected**:
-<!-- The version you currently use/tested -->
-
-**Description**  
-<!-- What kind of error/problem you are affected by -->
-
-**Example**  
-<!-- Please use our online Editor (https://live.bootstrap-table.com/) to create a example.
-     On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor.-->
-
-**Possible  (optional)**  
-<!--- If you have suggestions on a fix/reason for the bug, please describe it here -->
-
-**Additional context**  
-<!-- Optional: any other context about the problem: browser version, operation system,  etc. -->
-
-
-<!-- Love bootstrap-table? Please consider supporting our collective:
-👉  https://opencollective.com/bootstrap-table/donate -->

+ 41 - 0
.github/ISSUE_TEMPLATE/1_Bug_report.yaml

@@ -0,0 +1,41 @@
+name: 🐛 Bug Report
+description: Report errors and problems
+labels: Bug
+
+body:
+  - type: input
+    id: affected-versions
+    attributes:
+      label: Bootstraptable version(s) affected
+      placeholder: 1.18.0
+    validations:
+      required: true
+  - type: textarea
+    id: description
+    attributes:
+      label: Description
+      description: What kind of error/problem you are affected by
+    validations:
+      required: true
+  - type: textarea
+    id: examples
+    attributes:
+      label: Example(s)
+      description: |
+        Please use our online Editor (https://live.bootstrap-table.com/) to create a example.
+        On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor.
+  - type: textarea
+    id: possible-solution
+    attributes:
+      label: Possible Solutions
+      description: "Optional: only if you have suggestions on a fix/reason for the bug"
+  - type: textarea
+    id: additional-contex
+    attributes:
+      label: Additional Context
+      description: "Optional: any other context about the problem: browser version, operation system, etc."
+  - type: markdown
+    attributes:
+        value: |
+          Love bootstrap-table? Please consider supporting our collective:
+          👉  https://opencollective.com/bootstrap-table/donate

+ 0 - 12
.github/ISSUE_TEMPLATE/2_Feature_request.md

@@ -1,12 +0,0 @@
----
-name: 🚀 Feature Request/Improvement
-about: Ideas for new features and improvements
-labels: feature-request
----
-
-**Description**  
-<!-- Description of the desired new feature. -->
-
-
-<!-- Love bootstrap-table? Please consider supporting our collective:
-👉  https://opencollective.com/bootstrap-table/donate -->

+ 17 - 0
.github/ISSUE_TEMPLATE/2_Feature_request.yaml

@@ -0,0 +1,17 @@
+name: 🚀 Feature Request/Improvement
+description: Ideas for new features and improvements
+labels: feature-request
+
+body:
+  - type: textarea
+    id: description
+    attributes:
+      label: Description
+      description: Description of the desired new feature
+    validations:
+      required: true
+  - type: markdown
+    attributes:
+      value: |
+        Love bootstrap-table? Please consider supporting our collective:
+        👉  https://opencollective.com/bootstrap-table/donate

+ 0 - 18
.github/ISSUE_TEMPLATE/3_Support_question.md

@@ -1,18 +0,0 @@
----
-name: ❓ Support Question
-about: Here you can ask questions about the features
-labels: help-wanted
-
----
-<!-- Before you ask please check if you can find a similar issue and/or a solution on a issue or on stackoverflow -->
-
-**Description**  
-<!-- Description of your support question. -->
-
-**Example (optional)**  
-<!-- Please use our online Editor (https://live.bootstrap-table.com/) to create a example (what you already tried).
-     On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor.-->
-
-
-<!-- Love bootstrap-table? Please consider supporting our collective:
-👉  https://opencollective.com/bootstrap-table/donate -->

+ 27 - 0
.github/ISSUE_TEMPLATE/3_Support_question.yaml

@@ -0,0 +1,27 @@
+name: ❓ Support Question
+description: Here you can ask questions about the features
+labels: help-wanted
+
+body:
+  - type: markdown
+    attributes:
+      value: Before you ask please check if you can find a similar issue and/or a solution on a issue or on stackoverflow
+  - type: textarea
+    id: description
+    attributes:
+      label: Description
+      description: Description of your support question.
+    validations:
+      required: true
+  - type: textarea
+    id: examples
+    attributes:
+      label: Example(s)
+      description: |
+        Please use our online Editor (https://live.bootstrap-table.com/) to create a example.
+        On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor.
+  - type: markdown
+    attributes:
+      value: |
+        Love bootstrap-table? Please consider supporting our collective:
+        👉  https://opencollective.com/bootstrap-table/donate

+ 0 - 19
.github/ISSUE_TEMPLATE/4_Documentation.md

@@ -1,19 +0,0 @@
----
-name: ⛔ Documentation & Examples
-about: Issues with the Documentation and/or the Examples
-labels: docs
-
----
-
-<!-- 
-We have our own dedicated repository for the examples. Please open your
-documentation-related issue at https://github.com/wenzhixin/bootstrap-table-examples
--->
-
-
-**Description**  
-<!-- Description of issue with the documentation. -->
-
-
-<!-- Love bootstrap-table? Please consider supporting our collective:
-👉  https://opencollective.com/bootstrap-table/donate -->

+ 22 - 0
.github/ISSUE_TEMPLATE/4_Documentation.yaml

@@ -0,0 +1,22 @@
+name: ⛔ Documentation & Examples
+description: Issues with the Documentation and/or the Examples
+labels: docs
+
+body:
+  - type: markdown
+    attributes:
+      value: |
+        We have our own dedicated repository for the examples. Please open your
+        documentation-related issue at https://github.com/wenzhixin/bootstrap-table-examples
+  - type: textarea
+    id: description
+    attributes:
+      label: Description
+      description: Description of your support question.
+    validations:
+      required: true
+  - type: markdown
+    attributes:
+      value: |
+        Love bootstrap-table? Please consider supporting our collective:
+        👉  https://opencollective.com/bootstrap-table/donate