Skip to content

Commit

Permalink
chore: add issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
renbaoshuo committed Nov 17, 2022
1 parent 19f156b commit 38224fb
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 0 deletions.
74 changes: 74 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: 错误报告 / Bug Report
description: 帮助我们修复 OIerDb NG 的问题。
labels: ['bug']
assignees: []
body:
- type: markdown
attributes:
value: |
感谢您的反馈!请在提交前仔细填写以下内容。
- type: textarea
id: description
attributes:
label: 问题描述
placeholder: 出现了什么问题?
validations:
required: true
- type: textarea
id: expected_behavior
attributes:
label: 预期行为
placeholder: 出问题的地方正确的行为是什么?
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: 复现步骤
placeholder: 如何再次触发这个 Bug?
validations:
required: true
- type: textarea
id: screenshot
attributes:
label: 屏幕截图
placeholder: 出现 Bug 时的屏幕截图。
validations:
required: false
- type: textarea
id: console_log
attributes:
label: 控制台信息
description: 打开「开发人员工具 / DevTools」,转到「控制台 / Console」选项卡,将其中的内容截图到此处。
validations:
required: false
- type: input
id: os_version
attributes:
label: 您使用的系统名称及版本
placeholder: ex. Windows 10 21H2 (19044.2251)
validations:
required: true
- type: input
id: browsers
attributes:
label: 您使用的浏览器名称及版本
placeholder: ex. Google Chrome 107.0.5304.107 (64-bit)
validations:
required: true
- type: input
id: geo_location
attributes:
label: 您的地理位置
description: 填写此项有助于我们调查与内容分发网络(CDN)相关的问题,精确到省市即可。
placeholder: ex. 河北省石家庄市
validations:
required: false
- type: input
id: oierdb_version
attributes:
label: OIerDb NG 版本
description: 在页脚处会显示一段长度为 7 的 16 进制数字。
placeholder: ex. 364e508
validations:
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: 数据相关问题
url: https://github.com/OIerDb-ng/OIerDb-data-generator/issues/new/choose
about: 选手被错误合并、拆分,学校信息错误?请移步 OIerDb-ng/OIerDb-data-generator 仓库。
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 功能请求 / Feature Request
description: 为 OIerDb NG 提出新功能建议。
labels: ['enhancement']
assignees: []
body:
- type: markdown
attributes:
value: |
感谢您的建议!请在提交前仔细填写以下内容。
- type: textarea
id: background
attributes:
label: 背景
placeholder: (可选)您为什么要提出这个需求?
validations:
required: false
- type: textarea
id: feature
attributes:
label: 需求
placeholder: 您的需求是什么?
validations:
required: true
- type: textarea
id: details
attributes:
label: 实现细节
placeholder: (可选)如果可以的话,请具体描述您的需求应该如何实现或实现成什么样子。
validations:
required: false

0 comments on commit 38224fb

Please sign in to comment.