Browse Source

chore: update issue template

pointhalo 3 years ago
parent
commit
fdd8af7336
1 changed files with 24 additions and 2 deletions
  1. 24 2
      .github/ISSUE_TEMPLATE/3.bug_report_form.yml

+ 24 - 2
.github/ISSUE_TEMPLATE/3.bug_report_form.yml

@@ -10,6 +10,18 @@ body:
     options:
     options:
     - label: I have searched the existing issues
     - label: I have searched the existing issues
       required: true
       required: true
+- type: textarea
+  attributes:
+    label: Which Component
+    description: Which component are you having trouble using.
+  validations:
+    required: false
+- type: textarea
+  attributes:
+    label: Semi Version
+    description: The version number of semi you are using.
+  validations:
+    required: false
 - type: textarea
 - type: textarea
   attributes:
   attributes:
     label: Current Behavior
     label: Current Behavior
@@ -33,6 +45,17 @@ body:
       4. See error...
       4. See error...
   validations:
   validations:
     required: false
     required: false
+- type: textarea
+  attributes:
+    label: ReproducibleCode
+    placeholder: |
+      import { Button } from '@douyinfe/semi-ui';
+      () => {
+        return (<Button>bug</Button>);
+      }
+    render: markdown
+  validations:
+    required: false
 - type: textarea
 - type: textarea
   attributes:
   attributes:
     label: Environment
     label: Environment
@@ -43,8 +66,7 @@ body:
         - **npm**: 7.6.3
         - **npm**: 7.6.3
     value: |
     value: |
         - OS:
         - OS:
-        - Node:
-        - npm:
+        - browser:
     render: markdown
     render: markdown
   validations:
   validations:
     required: false
     required: false