Skip to content

Commit

Permalink
Merge pull request #291 from I21b/master
Browse files Browse the repository at this point in the history
feat: 修改Issue模板
  • Loading branch information
maotoumao authored Sep 9, 2024
2 parents 66a6116 + 53762e3 commit 8316632
Show file tree
Hide file tree
Showing 7 changed files with 314 additions and 53 deletions.
101 changes: 101 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: Bug report
description: Create a report to help us address issues you are facing
title: "[Bug] "
labels: [bug]
body:
- type: checkboxes
id: duplication
attributes:
label:
options:
- label: This issue is not duplicated with any other open or closed issues
required: true

- type: checkboxes
id: answer
attributes:
label:
options:
- label: Already read Q&A
required: true

- type: markdown
attributes:
value: |
Thanks for taking the time to make us better!
- type: textarea
id: description
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is
placeholder: |
App crashes on startup every time after changing settings.
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen
placeholder: |
App started normally, everything worked fine.
validations:
required: true

- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: Steps to reproduce the bug
placeholder: |
1. Turn on "Re-calculate on startup" in "Experimental settings"
2. Restart the app
3. Crash
validations:
required: true

- type: textarea
id: environment
attributes:
label: Device information
description: Provide details about your system environment
placeholder: |
Device:
System:
Version:
validations:
required: true

- type: textarea
id: screenshot
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem
placeholder: |
modified_setting_items.jpg
crashed_screen.jpg
validations:
required: false

- type: textarea
id: log
attributes:
label: Logs
description: If applicable, add logs to help explain your problem
placeholder: |
Android/data/fun.upup.musicfree/files/log/trace-log.log
validations:
required: false

- type: textarea
id: detail
attributes:
label: Additional context
description: Add any other context about the problem here
placeholder: |
My microphone is broken
validations:
required: false
90 changes: 90 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_zh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: 反馈问题
description: 遇到bug了点这里
title: "[BUG] xxxxx"
labels: [bug]
body:
- type: checkboxes
id: answer
attributes:
label:
options:
- label: 已阅读 Q&A
required: true

- type: checkboxes
id: thirdparty
attributes:
label:
options:
- label: 非插件导致(如搜索结果不全,无法导入等都属于插件问题)
required: true

- type: checkboxes
id: duplication
attributes:
label:
options:
- label: 不与其他 issue 重复
required: true

- type: textarea
id: description
attributes:
label: 问题描述
description: 简要描述一下问题的现象
placeholder: |
在xx场景下,进行xx操作,产生xx现象,而不是xx
validations:
required: true

- type: textarea
id: expected
attributes:
label: 预期行为
description: 描述一下预期正确的行为是什么样的
validations:
required: true

- type: textarea
id: reproduce
attributes:
label: 详细的复现步骤
description: 按步骤详细描述一下触发bug的特定行为
placeholder: |
1.
2.
3.
validations:
required: true

- type: textarea
id: screenshot
attributes:
label: 截图
description: 截图/录屏
validations:
required: true

- type: textarea
id: log
attributes:
label: 日志
description: 如果方便的话,复现之后贴一下日志
placeholder: |
侧边栏-基本设置-记录详细日志
Android/data/fun.upup.musicfree/files/log/trace-log.log
(完成之后记得删掉,不然时间长了会卡)
validations:
required: false

- type: textarea
id: environment
attributes:
label: 其他信息
description: 系统环境、应用版本等相关信息
placeholder: |
设备型号:
系统版本:
应用版本:
validations:
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: GitHub discussions
url: https://github.com/maotoumao/MusicFree/discussions
about: Discuss or ask questions here
- name: 讨论区
url: https://github.com/maotoumao/MusicFree/discussions
about: 在这里讨论或寻求帮助
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Feature request
description: Suggest features you want to add or suggest to modify existing features
title: "[Feature] "
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to make us better!
- type: textarea
id: description
attributes:
label: Describe the feature
description: A clear and concise description of what the feature is
placeholder: |
A Quick Settings tile to start the service, long press to launch the app.
validations:
required: true

- type: textarea
id: reason
attributes:
label: Reason for adding
description: Explain why this feature would be useful to you
placeholder: |
Start the service quickly from the Quick Settings tile and save lots of time.
validations:
required: true

- type: textarea
id: example
attributes:
label: Example(s)
description: Post screenshots/drawings/links/etc of the feature request, or proof-of-concept images about the feature
placeholder: |
shazam_toggle.jpg
nekobox_switch.jpg
validations:
required: false

- type: textarea
id: detail
attributes:
label: Additional context
description: Add any other context about the feature here
validations:
required: false
67 changes: 67 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request_zh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: 添加功能
description: 新想法/需求点这里
title: "[Feature] xxxxx"
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
如果有能力可自行提交PR
- type: checkboxes
id: understand
attributes:
label:
options:
- label: 已经阅读过ReadMe并*了解本软件的定位*
required: true

- type: textarea
id: description
attributes:
label: 需求描述
description: 请详细描述一下需求场景
validations:
required: true

- type: textarea
id: reason
attributes:
label: 添加原因
description: 添加这个功能有什么好处
validations:
required: true

- type: textarea
id: example
attributes:
label: 功能示例
description: 上传相关功能的图片或详细描述
validations:
required: true

- type: textarea
id: conflict
attributes:
label: 添加困难
description: 添加后可能导致的问题或冲突
validations:
required: false

- type: textarea
id: alternative
attributes:
label: 替代方案
description: 如果无法实现,请描述一下预期的替代方案或最低期望
validations:
required: false

- type: textarea
id: detail
attributes:
label: 其他信息
description: 是否能提供一些其他的帮助,如果有的话,辛苦描述一下,感谢~
placeholder: |
包括但不限于代码、UI、测试 ...
validations:
required: false
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/新想法-需求点这里.md

This file was deleted.

30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/遇到bug了点这里.md

This file was deleted.

0 comments on commit 8316632

Please sign in to comment.