From 5049aa9cb63422db99d406f1e9c96dc5f7f39ea3 Mon Sep 17 00:00:00 2001 From: Masterain Date: Fri, 11 Nov 2022 01:32:47 -0800 Subject: [PATCH 1/2] Create artifact-rating-rules.yml Inspired by #198 --- .../ISSUE_TEMPLATE/artifact-rating-rules.yml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/artifact-rating-rules.yml diff --git a/.github/ISSUE_TEMPLATE/artifact-rating-rules.yml b/.github/ISSUE_TEMPLATE/artifact-rating-rules.yml new file mode 100644 index 0000000000..05b62aa8be --- /dev/null +++ b/.github/ISSUE_TEMPLATE/artifact-rating-rules.yml @@ -0,0 +1,65 @@ +name: Artifact Rating Rules +description: 圣遗物评分细则建议 +title: "[Artifact Rating] 请在这里填写角色名称" +labels: area-AvatarInfo +assignees: Lightczx + +body: + - type: markdown + attributes: + value: | + 请按下方的要求填写完整的问题表单 + + - type: textarea + id: your-suggested-rule + attributes: + label: 评分细则 + description: | + 请修改下方表格中的**角色名称**和**各属性权重**,并在表格后添加合适的说明 + 你可以点击预览按钮(preview)来查看表格最终会显示出的内容 + value: | + |项目|评分权重(0-100)| + |-----|-----| + |角色名称| 旅行者 | + |生命值| 10 | + |攻击力| 10 | + |防御力| 10 | + |暴击率| 10 | + |暴击伤害| 10 | + |元素精通| 10 | + |充能效率| 10 | + |治疗加成| 10 | + |元素伤害| 10 | + validations: + required: true + + - type: dropdown + id: no-duplicated-dropdown + attributes: + label: 我确认当前没有其它的该角色的圣遗物评分细则建议 + description: 如果有,你应该在已有的工单内回复以提出你的建议 + options: + - 否 + - 是 + validations: + required: true + + - type: dropdown + id: title-filled-dropdown + attributes: + label: 我确认已设置合适的标题 + options: + - 否 + - 是 + validations: + required: true + + - type: dropdown + id: all-filled-dropdown + attributes: + label: 我确认已完整填写表格 + options: + - 否 + - 是 + validations: + required: true From 17c53dce4cc317012898abc7f0fff400e4bb6eff Mon Sep 17 00:00:00 2001 From: Masterain Date: Fri, 11 Nov 2022 01:33:22 -0800 Subject: [PATCH 2/2] Optimize Issue Template --- .github/ISSUE_TEMPLATE/bug_report.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 930f16dc8f..eb6e6e48be 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -54,18 +54,18 @@ body: 如果应用程序崩溃了,请将`log.db` 文件上传,文件包含了敏感信息,谨慎上传 如果这个表单是关于导入祈愿记录的问题,请包含你导入的`Json`文件 **务必不要上传`user.db`文件,该文件包含你的帐号敏感信息** - render: shell - - type: checkboxes + - type: dropdown id: confirm-issue attributes: label: 我确认已在表单中附上了充足的补充说明以帮助开发人员确定问题 description: 补充说明包括但不限于:日志文件、抛出的错误信息、截图和录屏 options: - - label: 是 - required: true + - 是 + validations: + required: true - - type: checkboxes + - type: dropdown id: confirm-no-duplicated-issue attributes: label: 我确认没有他人提出相同或类似的问题 @@ -75,15 +75,17 @@ body: 你应该在原始 Issue 中通过回复添加有助于解决问题的信息,而不是创建重复的问题; **没有帮助的重复问题可能会被直接关闭** options: - - label: 是 - required: true + - 是 + validations: + required: true - - type: checkboxes + - type: dropdown id: confirm-docs attributes: label: 我确认该问题没有在文档中解释 description: Snap Hutao 官方文档:[https://hut.ao](https://hut.ao) options: - - label: 是 - required: true + - 是 + validations: + required: true