From 53a71ca8897fa050f13e8b1c815c37c8bac0f41c Mon Sep 17 00:00:00 2001 From: Super12138 <70494801+Super12138@users.noreply.github.com> Date: Fri, 21 Feb 2025 20:59:52 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E6=96=B0=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=E9=97=AE=E9=A2=98=E5=8F=8D=E9=A6=88=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug-report.yml | 89 +++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 41 +++++++++ .../功能请求---feature-request.md | 20 ----- .../ISSUE_TEMPLATE/问题反馈---bug-report.md | 32 ------- app/build.gradle.kts | 2 +- 5 files changed, 131 insertions(+), 53 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml delete mode 100644 .github/ISSUE_TEMPLATE/功能请求---feature-request.md delete mode 100644 .github/ISSUE_TEMPLATE/问题反馈---bug-report.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..1dccd5f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -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: + - 最新 Release(F-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.2,MagicOS 9,OneUI 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 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..6437882 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -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 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/功能请求---feature-request.md b/.github/ISSUE_TEMPLATE/功能请求---feature-request.md deleted file mode 100644 index f17924d..0000000 --- a/.github/ISSUE_TEMPLATE/功能请求---feature-request.md +++ /dev/null @@ -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. diff --git a/.github/ISSUE_TEMPLATE/问题反馈---bug-report.md b/.github/ISSUE_TEMPLATE/问题反馈---bug-report.md deleted file mode 100644 index 1f72447..0000000 --- a/.github/ISSUE_TEMPLATE/问题反馈---bug-report.md +++ /dev/null @@ -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 Pro,Xiaomi 15 Pro | e.g. Mate40 Pro, Xiaomi 15 Pro] - - 系统 | System: [例如 OneUI 7,MagicOS 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**. diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ec093cb..1f46b12 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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"