Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/03_feature_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ body:
- type: markdown
attributes:
value: |
本模板仅用于提交尚不存在的新能力。

如果某个功能无法使用、以前可以使用但现在失效,或行为与你的预期不一致,请改用 Bug 模板。即使是功能请求,也必须填写浏览器和 ScriptCat 版本,以便维护者判断这是版本相关的 bug,还是确实缺少功能。

请描述你真正想解决的问题,而不只是描述一个按钮或 API 名称。
如果是 GM/CAT API 设计,建议给出 API 草案、兼容对象和安全影响。

Expand All @@ -21,6 +25,35 @@ body:
- label: 我已经确认这不是 bug;如果是异常行为,应使用 Bug 模板
required: true

- type: input
id: browser-version
attributes:
label: 浏览器及版本
description: 请填写需要此功能的浏览器及其完整版本;如涉及多个浏览器,请全部列出。
placeholder: "例如:Chrome 138.0.7204.101;Firefox 140.0.2"
validations:
required: true

- type: input
id: scriptcat-version
attributes:
label: ScriptCat 版本
description: 可在扩展详情或关于页面查看,请不要只填写“最新版”。
placeholder: "例如:v0.17.0 或 commit/build 标识"
validations:
required: true

- type: dropdown
id: expected-existing-behavior
attributes:
label: 你是否原本认为这个功能已经存在?
description: 此项用于区分缺少新功能、现有功能异常和回归问题。
options:
- 否,我请求的是一个全新的能力
- 是,我原本认为 ScriptCat 已支持;我会在下方说明为什么这不是 bug
validations:
required: true

- type: dropdown
id: feature-area
attributes:
Expand All @@ -43,6 +76,18 @@ body:
validations:
required: true

- type: textarea
id: current-behavior
attributes:
label: 当前行为和已尝试的方法
description: 请说明 ScriptCat 当前的行为、你尝试过的方法,以及现有流程为什么无法满足需求。如果某项操作失败或以前可以使用,请改用 Bug 模板。
placeholder: |
当前行为:
已尝试的步骤或替代方案:
现有行为无法满足需求的原因:
validations:
required: true

- type: textarea
id: problem
attributes:
Expand Down
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/13_feature_request_en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ body:
- type: markdown
attributes:
value: |
Use this form only for a capability that does not exist yet.

If something does not work, stopped working, or behaves differently from what you expected, please use the Bug Report template instead. Browser and ScriptCat versions are required here because they help maintainers determine whether the request is actually a version-specific bug or an unavailable feature.

Please describe the real problem you want to solve, not just a button name or an API name.

If this is a GM/CAT API design request, please provide:
Expand All @@ -26,6 +30,35 @@ body:
- label: I confirm this is not a bug. If this is unexpected behavior, I should use the Bug Report template.
required: true

- type: input
id: browser-version
attributes:
label: Browser and Version
description: Specify the browser where you need this feature, including its version. List all affected browsers if applicable.
placeholder: "Example: Chrome 138.0.7204.101; Firefox 140.0.2"
validations:
required: true

- type: input
id: scriptcat-version
attributes:
label: ScriptCat Version
description: Find this in ScriptCat's extension details or About page. Do not write only "latest".
placeholder: "Example: v0.17.0 or commit/build identifier"
validations:
required: true

- type: dropdown
id: expected-existing-behavior
attributes:
label: Did You Expect This to Already Work?
description: This helps distinguish a missing feature from a bug or regression.
options:
- No. I am requesting a completely new capability.
- Yes. I expected ScriptCat to support this already; I have explained why this is not a bug below.
validations:
required: true

- type: dropdown
id: feature-area
attributes:
Expand All @@ -48,6 +81,18 @@ body:
validations:
required: true

- type: textarea
id: current-behavior
attributes:
label: Current Behavior and What You Tried
description: Describe what ScriptCat currently does, what you tried, and why the existing workflow cannot achieve your goal. If something is failing or used to work, use the Bug Report template instead.
placeholder: |
Current behavior:
Steps or workarounds tried:
Why the current behavior is insufficient:
validations:
required: true

- type: textarea
id: problem
attributes:
Expand Down
Loading