refactor: 重新实现问题反馈模板

This commit is contained in:
Super12138 2025-02-21 20:59:52 +08:00
parent 90f8ee6936
commit 53a71ca889
5 changed files with 131 additions and 53 deletions

89
.github/ISSUE_TEMPLATE/bug-report.yml vendored Normal file
View file

@ -0,0 +1,89 @@
name: 问题反馈 / Bug Report
description: 发现并反馈问题以帮助改进待办 / Create a report to help us improve To Do
title: "[Bug] "
labels: ["bug"]
body:
- type: checkboxes
id: checklist
attributes:
label: 检查列表 / Checklist
options:
- label: 我正在使用待办的最新版本 / I am using the latest version of To Do
required: true
- type: dropdown
id: version-variant
attributes:
label: 待办版本类型 / To Do Variant
description: 请选择当前待办的版本类型 / Select the version of To Do variant you're currently using
options:
- 最新 ReleaseF-Droid版/ Latest release (F-Droid)
- 最新 CI 版 / Latest CI
validations:
required: true
- type: input
id: version-code
attributes:
label: 待办版本
description: 请输入你正在使用的待办版本,你可以在设置中找到 / Enter the version of To Do you're using. You can find this in the settings
placeholder: 例如2.0.2(561) / e.g. 2.0.2(561)
validations:
required: true
- type: textarea
id: describe-bug
attributes:
label: 描述一下这个问题 / Describe the bug
description: 简单明了的描述一下你发现的问题 / A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: reproduce-steps
attributes:
label: 复现步骤 / To Reproduce
description: 重现该问题的步骤 / Steps to reproduce the behavior
placeholder: /
1. 前往 ... / Go to '...'
2. 点击... / Click on '....'
3. 出现错误 / See error
validations:
required: true
- type: textarea
id: reproduce-steps
attributes:
label: 预期行为 / Expected behavior
description: 简单描述一下你任务如果没有这个问题应用应该怎么运作 / A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: 截图 / Screenshots
description: 如果可以的话,请提供问题的截图 / If applicable, add screenshots to help explain your problem.
validations:
required: true
- type: textarea
id: crash-log
attributes:
label: 相关崩溃日志 / Crash log
description: 如果应用在出现问题的时候崩溃了,请在这里粘贴崩溃页面的崩溃日志 / If the app crashed when the issue occurred, paste the crash log which in the crash page here
render: shell
validations:
required: false
- type: input
id: system
attributes:
label: 系统 / System
description: 在这里输入你的系统 / Enter your system here
placeholder: 例如HarmonyOS 4.2MagicOS 9OneUI 7 / e.g. HarmonyOS 4.2, MagicOS 9, OneUI 7
- type: input
id: android-version
attributes:
label: Android 版本 / Android Version
description: 在这里输入你的 Android 版本 / Enter your Android version here
placeholder: 例如Android 15 / e.g. Android 15
- type: textarea
id: additional-context
attributes:
label: 附加信息 / Additional context
description: 任何有关你反馈的问题的附加信息都可以写在这里 / Any additional information related to your feedback can be provided here
validations:
required: false

View file

@ -0,0 +1,41 @@
name: 功能请求 / Feature request
description: 为待办提出一个新功能 / Suggest an idea for this project
title: "[Feature] "
labels: ["enhancement"]
body:
- type: textarea
id: problem_statement
attributes:
label: 你所提出的新功能是否与某些问题相关?请描述一下 / Is your feature request related to a problem? Please describe.
description: 简单说说这个问题是什么 / A clear and concise description of what the problem is.
validations:
required: false
- type: textarea
id: solution_description
attributes:
label: 你想要的解决方案 / Describe the solution you'd like
description: 简单说说你想要的功能方案是什么 / A clear and concise description of what you want to happen.
placeholder: 描述这里 / Describe the solution here.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: 你考虑的替代方案 / Describe alternatives you've considered
description: 因为没有这个功能而考虑的替代方案,比如别的应用的某个功能 / Alternative solutions considered due to the absence of this feature, such as a specific feature from another application.
placeholder: 描述任何替代方案 / Describe any alternatives here.
value:
validations:
required: false
- type: textarea
id: additional_context
attributes:
label: 附加信息 / Additional context
description: 任何可以帮助实现你想要的新功能的信息,比如效果图之类的 / Add any other context or screenshots about the feature request here.
placeholder: 添加任何补充信息 / Add any additional context here.
value:
validations:
required: false

View file

@ -1,20 +0,0 @@
---
name: 功能请求 | Feature request
about: 为待办提出一个新功能 | Suggest an idea for this project
title: "[Feature]"
labels: enhancement
assignees: ''
---
**你所提出的新功能是否与某些问题相关?请描述一下 | Is your feature request related to a problem? Please describe.**
非必须,简单说说这个问题是什么 | Optional, a clear and concise description of what the problem is.
**你想要的解决方案 | Describe the solution you'd like**
必须,简单说说你想要的功能方案是什么 | Required, a clear and concise description of what you want to happen.
**你考虑的替代方案 | Describe alternatives you've considered**
非必须, 因为没有这个功能而考虑的替代方案,比如别的应用的某个功能 | Optional, alternative solutions considered due to the absence of this feature, such as a specific feature from another application.
**附加信息 | Additional context**
非必须, 任何可以帮助我实现你想要的新功能的信息,比如效果图之类的 | Optional, add any other context or screenshots about the feature request here.

View file

@ -1,32 +0,0 @@
---
name: 问题反馈 | Bug report
about: 发现并反馈问题以帮助改进待办 | Create a report to help us improve To Do
title: "[Bug]"
labels: bug
assignees: ''
---
**描述一下这个问题 | Describe the bug**
必须,简单明了的描述一下你发现的问题 | Required, a clear and concise description of what the bug is.
**复现步骤 | To Reproduce**
必须,重现该问题的步骤 | Required, steps to reproduce the behavior
1. 前往 ... | Go to '...'
2. 点击... | Click on '....'
4. 出现错误 | See error
**预期行为 | Expected behavior**
必须,简单描述一下你任务如果没有这个问题应用应该怎么运作 | Required, a clear and concise description of what you expected to happen.
**截图 | Screenshots**
非必须,如果可以的话,请提供问题的截图 | Optional, if applicable, add screenshots to help explain your problem.
**设备信息(按照下列要求仔细填写) | Device Info (please complete the following information)**
- 品牌 | Brand: [例如 Google | e.g. Google]
- 型号 | Model: [例如 Mate40 ProXiaomi 15 Pro | e.g. Mate40 Pro, Xiaomi 15 Pro]
- 系统 | System: [例如 OneUI 7MagicOS 9 | e.g. OneUI 7, MagicOS 9]
- Android 版本 | Android Version [e.g. Android 15]
**附加信息 | Additional context**
非必须,任何有关你反馈的问题的附加信息都可以写在这里,例如**应用崩溃后的崩溃日志** | Optional: Any additional information related to your feedback can be provided here, such as **crash logs after the application crashes**.

View file

@ -34,7 +34,7 @@ android {
applicationId = "cn.super12138.todo"
minSdk = 24
targetSdk = 35
versionCode = 561
versionCode = 562
versionName = "2.0.2"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"