Files
Griseo-bh3rd c36320fe4a feedback7 G-TOOLS: add GitHub issue templates for bugs and feature requests (PR #300 by @Griseo-bh3rd)
Applied the two issue forms, then adjusted them so GitHub accepts the feature form. The 期望效果 textarea now has id expected-effect. The checkbox that told people not to tick it is gone from both forms. The feature checklist searches the lower-case bug label, the same spelling the bug form applies. No config.yml (blank issues stay available). The YAML does not create the bug or enhancement labels.

Checked with Ruby's YAML parser: both files parse, every non-markdown field has a unique id, and the labels are bug and enhancement. No project test covers these files.
2026-10-08 18:49:20 +08:00

50 lines
2.2 KiB
YAML

name: 功能请求
description: 提出一项新的功能。
title: "[Feature]:"
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
感谢您贡献您的想法。
请使用简洁明确的标题描述您希望增加或改进的功能。便于开发者了解您的想法。
> [!important]
> 重要:如果您想要提出 **多项功能**,请为每一个功能开一个单独的 issue。
- type: checkboxes
id: checklist
attributes:
label: 检查清单
description: 在开始反馈这个问题之前,请先检查:
options:
- label: 我已将本应用更新到最新测试版 ![最新的版本号](https://img.shields.io/github/v/release/sganggs/Stronghold-Protocol?include_prereleases&style=flat-square&label=),并看过 [最新提交](https://github.com/sganggs/Stronghold-Protocol/commits/master/),确认我想要的功能还没有实现。我也已在 [Issues](https://github.com/sganggs/Stronghold-Protocol/issues?q=-label%3Abug)中检索,确认我想要的功能未被提交过。
required: true
- type: markdown
attributes:
value: |
> [!note]
> 上传附件时**请优先使用 GitHub 的附件系统上传附件**,将需要上传的附件粘贴或拖动到撰写区域即可上传。多个文件可打包为 zip 格式后上传。
- type: textarea
id: requested-feature
attributes:
label: 想要实现或优化的功能
description: 详细地描述一下你想要的功能,联系到哪些已经存在的 BUG 或者功能(如有),描述的越具体,采纳的可能性越高。
validations:
required: true
- type: textarea
id: expected-effect
attributes:
label: 期望效果
placeholder: |
请详细描述这个功能实现的效果。
validations:
required: true
- type: checkboxes
id: revision
attributes:
label: 最后一步
description: 回顾您的回答
options:
- label: 我认为上述的描述已经足以详细,以便开发人员理解您想要的功能。如果我的 issue 没有按照上述的要求填写,可能会被无条件关闭。
required: true