diff --git a/.github/ISSUE_TEMPLATE/bug------bug-report.md b/.github/ISSUE_TEMPLATE/bug------bug-report.md deleted file mode 100644 index 1b6d27619..000000000 --- a/.github/ISSUE_TEMPLATE/bug------bug-report.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -name: Bug 反馈 / Bug report -about: 出问题了 / Create a report to help us improve -title: '' -labels: 'bug' -assignees: '' - ---- - -**简略描述 / Describe the bug** -大概说下是什么问题。 -A clear and concise description of what the bug is. - -**如何重现 / To Reproduce** -重现的步骤: -1. 打开什么什么 -2. 点击什么什么 -3. 出现什么什么问题 -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**预期行为 / Expected behavior** -应该是什么样子的? -A clear and concise description of what you expected to happen. - -**截图 / Screenshots** -能截图的话就发截图,请注意风序良俗。 -If applicable, add screenshots to help explain your problem. - -**设备型号与 Android 版本 / Device model and Android version** - - 设备型号:【比如 Pixel 6 XXXL】 - - Android 版本:【比如 Android 12.1】 - - Device model: [e.g. Pixel 6 XXXL] - - Android version: [e.g. Android 12.1] - -**备注 / Additional context** -还有什么想说的? -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 000000000..efa7cbdc1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,111 @@ +name: Bug 反馈 / Bug report +description: 提交一个问题报告 / Create a bug report to help us improve +labels: + - "bug" +body: + - type: textarea + id: reproduce + attributes: + label: 复现步骤 / Step to reproduce + description: | + 在此处写下复现的方式 + Describe how to reproduce here + placeholder: | + 1. + 2. + 3. + validations: + required: true + + - type: textarea + id : expected + attributes: + label: 预期行为 / Expected behaviour + description: | + 在此处说明正常情况下应用的预期行为 + Describe what should happened here + placeholder: | + 它应该XXX... + It should be ... + validations: + required: true + + - type: textarea + id: actual + attributes: + label: 实际行为 / Actual Behaviour + description: | + 在此处描绘应用的实际行为,最好附上截图 + Describe what actually happened here, screenshots is better + placeholder: | + 实际上它XXX... + Actually it ... + [截图] / [Screenshots] + validations: + required: true + + - type: input + id: version + attributes: + label: EhViewer 版本号 / EhViewer version code + description: 您可以在设置 - 关于处找到版本号 / You can get version code in Settings - About + placeholder: 四位版本号 / 4 digits version code + validations: + required: true + + - type: input + id: ci + attributes: + label: EhViewer CI 版本 / EhViewer CI Version + description: 直接将对应 CI 下载页面网址填入即可 / Simply drop CI download page url here + placeholder: https://github.com/asuka-mio/Ehviewer/actions/runs/XXXXXXXXXX + validations: + required: true + + - type: input + id: system + attributes: + label: Android 系统版本 / Android version + description: Android 分支名称 + 版本号 / AOSP fork name + version code + placeholder: MIUI 12.5, ArrowOS 12.1 + validations: + required: true + + - type: input + id: device + attributes: + label: 设备信息 / Device info + description: 特殊设备在此填入设备信息 / Put message here if you device is special + placeholder: WSA, arm-v7a + + - type: textarea + id: log + attributes: + label: 应用日志 / App logs + description: 您可以通过设置-高级-导出日志来获得日志文件 / You can get logs file in Settings - Advanced - Dump logcat + placeholder: 06-15 17:44:53.704 23382 23382 E ... + validations: + required: true + + - type: checkboxes + id: check + attributes: + label: 自查步骤 / Verify steps + description: | + 请确认您已经遵守所有必选项 + Please ensure you have obtained all needed options + options: + - label: 如果您有足够的时间和能力,并愿意为此提交 PR ,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request + required: false + + - label: 您已仔细查看并知情 [Q&A](https://github.com/asuka-mio/Ehviewer/issues/61) 中的内容 / You have checked [Q&A](https://github.com/asuka-mio/Ehviewer/issues/61) carefully + required: true + + - label: 您已搜索过 [Issue Tracker](……/),没有找到类似内容 / I have searched on [Issue Tracker](……/), No duplicate or related open issue has been found + required: true + + - label: 您确保这个 Issue 只提及一个问题。如果您有多个问题报告,烦请发起多个 Issue / Ensure there is only one bug report in this issue. Please make mutiply issue for mutiply bugs + required: true + + - label: 您确保已使用最新 CI 版本测试,并且该问题在最新 CI 版本中并未解决 / This bug have not solved in latest CI version + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 991763497..136643594 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -72,11 +72,14 @@ body: - label: 如果您有足够的时间和能力,并愿意为此提交 PR ,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request required: false + - label: 您已仔细查看并知情 [Q&A](https://github.com/asuka-mio/Ehviewer/issues/61) 中的内容 / You have checked [Q&A](https://github.com/asuka-mio/Ehviewer/issues/61) carefully + required: true + - label: 您已搜索过 [Issue Tracker](……/),没有找到类似内容 / I have searched on [Issue Tracker](……/), No duplicate or related open issue has been found required: true - - label: 您确保这个 Issue 只提及一个功能。如果您有多个功能请求,烦请发起多个 Issue / Ensure there is only one feature request in this issue. Please make mutiply issue for mutiply feature request. + - label: 您确保这个 Issue 只提及一个功能。如果您有多个功能请求,烦请发起多个 Issue / Ensure there is only one feature request in this issue. Please make mutiply issue for mutiply feature request required: true - - label: 您确保已使用最新 CI 版本测试,并且该功能在最新 CI 版本中并未按照预期实现 / This feature don't implement correctly in latest CI version. + - label: 您确保已使用最新 CI 版本测试,并且该功能在最新 CI 版本中并未按照预期实现 / This feature don't implement correctly in latest CI version required: true \ No newline at end of file