forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Create bug-report.yml (ant-design#32716)
* Create bug-report.yml * Update bug-report.yml
- Loading branch information
Showing
1 changed file
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
name: 🇨🇳 报告缺陷(beta) | ||
description: 使用中文模板报告一个缺陷 | ||
title: "[Bug] " | ||
labels: ["bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Ant Design 的 issue 列表只接受 Bug 报告或是新功能请求 (Feature Request)。这意味着我们不接受用法问题(How to 类问题)。如果你开的 issue 不符合规定,它将会被立刻关闭。[为什么要这么严格?](https://github.com/ant-design/antd-issue-helper/blob/master/src/locales/zh/introModal.md) | ||
对于使用中遇到的问题,请使用以下资源: | ||
- 将问题发到 [GitHub 讨论区](https://github.com/ant-design/ant-design/discussions) 而不是 Issue。 | ||
- 仔细阅读 [使用文档](https://ant.design/docs/react/introduce-cn) 和 [组件文档](https://ant.design/components/overview-cn/)。 | ||
- 提问前确保你在 [常见问题](https://ant.design/docs/react/faq-cn) 和 [更新日志](https://ant.design/changelog-cn) 中搜索过。 | ||
- 在 [StackOverflow](https://stackoverflow.com/questions/tagged/antd) (英文) 或是 [SegmentFault](https://segmentfault.com/t/antd)(中文)搜索和提问。 | ||
最后,在开 issue 前,可以先搜索一下以往的旧 issue - 你遇到的问题可能已经有人提了,也可能已经在最新版本中被修正。注意:如果你发现一个已经关闭的旧 issue 在最新版本中仍然存在,请不要在旧 issue 下面留言,而应该用下面的表单开一个新的 issue。 | ||
|
||
<!-- generated by ant-design-issue-helper. DO NOT REMOVE --> | ||
- type: input | ||
id: reproduce | ||
attributes: | ||
label: 重现链接 | ||
description: 请提供一个尽可能精简的 [codesandbox](https://u.ant.design/codesandbox-repro) 或 [GitHub 仓库](https://github.com/ant-design/create-react-app-antd/) 的链接。[什么是最小化重现,为什么这是必需的?](https://github.com/ant-design/antd-issue-helper/blob/master/src/locales/zh/reproModal.md) | ||
validations: | ||
required: true | ||
- type: input | ||
id: version | ||
attributes: | ||
label: antd 版本 | ||
description: 你正在使用的 antd 版本是多少?(注意不是 package.json 里的版本,而是 node_modules/antd 里实际安装的版本) | ||
placeholder: 如 4.16.13 | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduce-steps | ||
attributes: | ||
label: 重现步骤 | ||
description: 请提供一个傻瓜式的操作步骤,方便我们无脑重现问题。 | ||
placeholder: | | ||
比如: | ||
1. 点击重现链接里的主按钮 | ||
2. 等待五秒钟 | ||
3. 观察按钮的边框 | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: 期望的结果是什么? | ||
placeholder: 比如:按钮样式正常,边框一直存在 | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reality | ||
attributes: | ||
label: 实际的结果是什么? | ||
placeholder: 比如:按钮样式异常,边框突然丢失 | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: browsers | ||
attributes: | ||
label: 浏览器 | ||
description: 在哪些浏览器上能重现这个问题? | ||
multiple: true | ||
options: | ||
- Firefox | ||
- Chrome | ||
- Safari | ||
- Edge | ||
- Internet Explorer | ||
- Others | ||
- type: input | ||
id: browsers-version | ||
attributes: | ||
label: 浏览器版本 | ||
placeholder: 如:版本 95.0.4638.69(正式版本) (x86_64) | ||
- type: dropdown | ||
id: os | ||
attributes: | ||
label: 操作系统 | ||
description: 使用的操作系统是? | ||
options: | ||
- Windows | ||
- MacOS | ||
- iOS | ||
- Android | ||
- Others |