diff --git a/.github/ISSUE_TEMPLATE/1_bug_report.yaml b/.github/ISSUE_TEMPLATE/1_bug_report.yaml new file mode 100644 index 000000000..ebdbaf2a1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_bug_report.yaml @@ -0,0 +1,44 @@ +name: Bug Report +description: File a bug report +title: '[Bug]: ' +labels: [] +body: + - type: markdown + attributes: + value: | + 请填写该错误报告。 + + - type: input + id: component + attributes: + label: 组件 + description: 哪个组件有问题? + placeholder: 请输入组件名字 + validations: + required: true + + - type: dropdown + id: version + attributes: + label: 版本 + description: 该问题存在于什么版本? + multiple: true + options: + - 3.x + - 4.x + - 5.x + validations: + required: true + + - type: textarea + id: expect + attributes: + label: 期望的结果 + description: 期望的结果是什么? + + - type: textarea + id: current + attributes: + label: 实际的结果 + description: 实际的结果是什么? + diff --git a/.github/ISSUE_TEMPLATE/2_feature_request.yaml b/.github/ISSUE_TEMPLATE/2_feature_request.yaml new file mode 100644 index 000000000..aa3217277 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2_feature_request.yaml @@ -0,0 +1,30 @@ +name: Feature Request +description: Suggest an idea for this project +title: '[Feature Request]: ' +labels: [] +body: + - type: markdown + attributes: + value: | + 为了有效地审核功能请求,请填写此表格。 + + - type: dropdown + id: feature + attributes: + label: 功能 + options: + - 添加新的组件 + - 增强现有功能 + - 修改文档 + - 补全单测 + - 其他 + validations: + required: true + + - type: textarea + id: description + attributes: + label: 详细描述 + description: 请描述您的功能请求 + validations: + required: true