Skip to content

Commit

Permalink
fix(ci): update
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Jul 29, 2023
1 parent 4c848a3 commit 5115caf
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 7 deletions.
79 changes: 79 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: 🐛 错误报告 Bug Report
description: 创建一个 Issue 帮助我们改进组件。
body:
- type: markdown
attributes:
value: |
**在开始之前……**
这个表单仅用于错误报告。对于在使用中遇到的问题,请优先使用以下方式寻找解决方案:
- 查看组件文档 [@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)
注意:如果你发现一个已关闭 issue 的问题在最新版本中仍然存在,请不要在旧 issue 下面留言,而应该当前的表单创建新的 issue。
- type: dropdown
id: platform
attributes:
label: NutUI 包名
description: 选择你使用的 NutUI 包名。
options:
- @nutui/nutui
- @nutui/nutui-taro
validations:
required: true

- type: input
id: version
attributes:
label: NutUI 版本号
description: 请输入项目中实际使用到的 NutUI 版本号
placeholder: 例如:4.1.0 或者 3.3.8
validations:
required: true

- 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
9 changes: 3 additions & 6 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 我要反馈 NutUI 的 Issue
url: https://nutui.jd.com/nutui-issue-helper/?repo=jdf2e/nutui&lang=zh-cn
about: 请点击 「Open」 按钮打开新链接创建 Issue
- name: 我想要一个 NutUI 的新功能
url: https://nutui.jd.com/nutui-issue-helper/?repo=jdf2e/nutui&lang=zh-cn&type=feature-request
about: 请点击 「Open」 按钮打开新链接创建 Feature Request
- name: 常见问题 QA
url: https://github.com/jdf2e/nutui/issues/2461
about: 这里可能会有解决方案。
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request_template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: \U0001F680 新功能请求 Feature Request
name: 🚀 新功能请求 Feature Request
description: 对组件库或者仓库本身的建议和想法。
title: "[FR]: "
labels: ["Feature Request"]
Expand Down

0 comments on commit 5115caf

Please sign in to comment.