diff --git a/.github/ISSUE_TEMPLATE/feature_request_template.md b/.github/ISSUE_TEMPLATE/feature_request_template.md new file mode 100644 index 0000000000..89a085e98c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request_template.md @@ -0,0 +1,62 @@ +name: Bug Report +description: File a bug report +title: "[Bug]: " +labels: ["bug", "triage"] +assignees: + - octocat +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. email@example.com + validations: + required: false + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + placeholder: Tell us what you see! + value: "A bug happened!" + validations: + required: true + - type: dropdown + id: version + attributes: + label: Version + description: What version of our software are you running? + options: + - 1.0.2 (Default) + - 1.0.3 (Edge) + validations: + required: true + - type: dropdown + id: browsers + attributes: + label: What browsers are you seeing the problem on? + multiple: true + options: + - Firefox + - Chrome + - Safari + - Microsoft Edge + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) + options: + - label: I agree to follow this project's Code of Conduct + required: true diff --git "a/.github/ISSUE_TEMPLATE/\360\237\232\200-\346\226\260\345\212\237\350\203\275\350\257\267\346\261\202-feature-request.md" "b/.github/ISSUE_TEMPLATE/\360\237\232\200-\346\226\260\345\212\237\350\203\275\350\257\267\346\261\202-feature-request.md" deleted file mode 100644 index 375f7ff892..0000000000 --- "a/.github/ISSUE_TEMPLATE/\360\237\232\200-\346\226\260\345\212\237\350\203\275\350\257\267\346\261\202-feature-request.md" +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: "\U0001F680 新功能请求 Feature Request" -about: 对组件库或者仓库本身的建议和想法。 -title: "[FR] " -labels: enhancement -assignees: '' - ---- - -**在开始之前...** -这个表单仅用于新功能请求。如果你有使用上的问题,或者不确定它是否是一个 bug,请先: -- 查看组件文档 [@nutui/nutui](https://nutui.jd.com/h5/vue/4x/#/zh-CN/guide/intro) [@nutui/nutui-taro](https://nutui.jd.com/taro/vue/4x/#/zh-CN/guide/intro) -- 在 [Issue](https://github.com/jdf2e/nutui/issues) 列表中查找解决方案 -- 查看 [常见问题 QA](https://github.com/jdf2e/nutui/issues/2461) - -### 这个功能解决了什么问题? -请尽可能详尽地说明这个需求的用例和场景。最重要的是:解释清楚是怎样的用户体验需求催生了这个功能上的需求。 -通常来说,我们只考虑添加在现有的 API 下无法轻松实现的功能。新功能的用例也应当足够常见。