Skip to content

Commit

Permalink
chore: update issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Oct 30, 2024
1 parent 589d77f commit ba56ba9
Show file tree
Hide file tree
Showing 6 changed files with 147 additions and 54 deletions.
34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/bug-反馈.md

This file was deleted.

118 changes: 118 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
name: Bug 反馈
description: 上报功能失效、功能异常等问题
title: "[BUG] "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
## 问题描述
- type: input
id: problem_page
attributes:
label: 出问题的页面
description: 如首页、播放页、动态页、搜索页、直播页等,特殊情况请给出网址
placeholder: 输入页面名或网址
validations:
required: true

- type: input
id: problem_name
attributes:
label: 问题功能名
placeholder: 输入出问题的功能名
validations:
required: true

- type: textarea
id: problem_description
attributes:
label: 问题描述
validations:
required: true

- type: textarea
id: problem_screenshot
attributes:
label: 上传截图(可选)
validations:
required: false

- type: markdown
attributes:
value: |
## 环境
- type: input
id: env_os
attributes:
label: 操作系统
placeholder: 如 Win10 / Win11 / MacOS
validations:
required: true

- type: input
id: env_browser
attributes:
label: 浏览器版本
placeholder: 如 Chrome 130 / Firefox 131
validations:
required: true

- type: input
id: env_monkey
attributes:
label: 脚本管理器版本
placeholder: 如 Tampermonkey 最新
validations:
required: false

- type: input
id: env_plugin
attributes:
label: 本插件版本
placeholder: 如 v4.0.5 / 最新
validations:
required: false

- type: markdown
attributes:
value: |
## 初步检查
- type: dropdown
id: check_reproduce
attributes:
label: 可稳定复现问题
options:
-
-
- 未知
default: 2
validations:
required: true

- type: dropdown
id: check_script_conflict
attributes:
label: 在暴力猴/篡改猴内,只启用本脚本时,仍出现问题
options:
-
-
- 未知
default: 2
validations:
required: true

- type: dropdown
id: check_plugin_conflict
attributes:
label: 禁用掉对 B 站生效的浏览器插件后,仍出现问题
options:
-
-
- 未知
default: 2
validations:
required: true
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 新功能
description: 提出新功能需求
title: "[FR] "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
### 本插件专注于页面净化和优化,新功能以让页面更精简、更好用为主
### 暂不考虑给 B 站扩展功能、增加页面组件等工具性需求
---
- type: textarea
id: feature_description
attributes:
label: 功能描述
description: 在此介绍需要的功能
validations:
required: true
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/other.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: 其他问题
description: 其他问题
title: "[Other] "
body:
- type: textarea
id: feature_description
attributes:
label: 文字说明
validations:
required: true
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/其他问题.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/新功能.md

This file was deleted.

0 comments on commit ba56ba9

Please sign in to comment.