From 0b2b5c0d1ae4dfbca55d0c27bb6ebbbd383d1e42 Mon Sep 17 00:00:00 2001 From: cyfung1031 <44498510+cyfung1031@users.noreply.github.com> Date: Thu, 16 Jul 2026 22:16:36 +0900 Subject: [PATCH 1/2] Improve English feature request template --- .../ISSUE_TEMPLATE/13_feature_request_en.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/13_feature_request_en.yaml b/.github/ISSUE_TEMPLATE/13_feature_request_en.yaml index b3fe5bf5f..473609b78 100644 --- a/.github/ISSUE_TEMPLATE/13_feature_request_en.yaml +++ b/.github/ISSUE_TEMPLATE/13_feature_request_en.yaml @@ -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: @@ -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: @@ -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: From be3c1bd075e89c350ee1e830d7a68fef914a4816 Mon Sep 17 00:00:00 2001 From: cyfung1031 <44498510+cyfung1031@users.noreply.github.com> Date: Thu, 16 Jul 2026 22:17:07 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E6=94=B9=E8=BF=9B=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E8=AF=B7=E6=B1=82=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ISSUE_TEMPLATE/03_feature_request.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/03_feature_request.yaml b/.github/ISSUE_TEMPLATE/03_feature_request.yaml index 738e12d6d..7ef413856 100644 --- a/.github/ISSUE_TEMPLATE/03_feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/03_feature_request.yaml @@ -8,6 +8,10 @@ body: - type: markdown attributes: value: | + 本模板仅用于提交尚不存在的新能力。 + + 如果某个功能无法使用、以前可以使用但现在失效,或行为与你的预期不一致,请改用 Bug 模板。即使是功能请求,也必须填写浏览器和 ScriptCat 版本,以便维护者判断这是版本相关的 bug,还是确实缺少功能。 + 请描述你真正想解决的问题,而不只是描述一个按钮或 API 名称。 如果是 GM/CAT API 设计,建议给出 API 草案、兼容对象和安全影响。 @@ -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: @@ -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: