diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..0d48787c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,106 @@ +name: Bug Report +description: 报告 GithubStarsManager 中可复现的 Bug +title: "[Bug] " +labels: ["BUG"] +body: + - type: markdown + attributes: + value: | + 感谢你帮助改进 GithubStarsManager!提交前请先搜索是否已有相同或类似 Issue。 + + 请在日志、截图和视频中删除敏感信息,例如 GitHub Token、AI API Key、WebDAV 凭据、API Secret、Encryption Key、代理账号密码等。 + + 如果问题涉及 AI、WebDAV、本地开发 CORS、同步、Docker 后端或远程后端,请在描述或附加信息中说明相关配置方式。 + + - type: input + id: bug-title + attributes: + label: 标题 + description: 用一句话简要描述这个 Bug。 + placeholder: "例如:启用后端代理后 Release 同步失败" + validations: + required: true + + - type: dropdown + id: platform + attributes: + label: 平台 + description: 你在哪个平台遇到了这个问题? + options: + - "Desktop: MacOS" + - "Desktop: Windows" + - "Desktop: Linux" + - "Web" + validations: + required: true + + - type: dropdown + id: backend + attributes: + label: 后端 + description: 你遇到问题时使用的后端模式是什么? + options: + - "未使用后端 / 纯前端 localStorage" + - "本地后端 / npm run dev:server" + - "Docker / GHCR 后端" + - "远程后端" + - "不确定" + validations: + required: true + + - type: textarea + id: bug-description + attributes: + label: Bug 描述 + description: 请描述发生了什么、你期望发生什么,以及如何复现。 + placeholder: | + 发生了什么? + + 期望行为是什么? + + 复现步骤: + 1. + 2. + 3. + + 发生频率:每次 / 偶发 / 仅出现一次 + + App 版本:例如 v0.6.2 + validations: + required: true + + - type: textarea + id: additional-info + attributes: + label: 附加信息 + description: 补充任何可能帮助定位问题的信息,例如配置方式、相关 Issue、最近变更、浏览器版本、系统架构等。 + placeholder: "例如:使用 Docker 后端,浏览器为 Chrome 版本 xxx,最近更新到 v0.6.2 后出现。" + validations: + required: false + + - type: textarea + id: logs + attributes: + label: 日志 + description: 粘贴相关日志,或将日志文件拖拽上传到这里。请先删除 GitHub Token、AI API Key、WebDAV 凭据、API Secret、Encryption Key、代理密码等敏感信息。 + placeholder: "粘贴日志,或拖拽 .log / .txt / .zip 等文件到这里。" + validations: + required: false + + - type: textarea + id: screenshots + attributes: + label: 截图 + description: 将截图拖拽上传到这里,或粘贴图片链接。 + placeholder: "拖拽截图到这里,或粘贴图片链接。" + validations: + required: false + + - type: textarea + id: video + attributes: + label: 视频 + description: 将录屏拖拽上传到这里,或粘贴视频链接。 + placeholder: "拖拽录屏到这里,或粘贴视频链接。" + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..10011022 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,42 @@ +name: New Feature +description: 提出新的功能建议或改进想法 +title: "[Feature] " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + 感谢你为 GithubStarsManager 提出新功能建议! + + 请尽量描述真实使用场景、当前遇到的限制,以及你希望功能如何帮助解决问题。清晰的场景会更容易评估优先级和实现方式。 + + - type: textarea + id: scenario + attributes: + label: 场景描述 + description: 请描述你在什么情况下需要这个功能,以及当前流程中遇到了什么问题或限制。 + placeholder: | + 例如: + 当我管理大量 Star 仓库时,希望能够按最近 Release 活跃度筛选项目,方便快速找到仍在维护的仓库。 + validations: + required: true + + - type: textarea + id: proposed-solution + attributes: + label: 建议解决方案 + description: 请描述你期望的功能表现、交互方式或实现思路。 + placeholder: | + 例如: + 在筛选栏中新增“最近 Release 时间”筛选项,支持选择最近 7 天、30 天、90 天或自定义时间范围。 + validations: + required: true + + - type: textarea + id: additional-context + attributes: + label: 附加说明 + description: 可以补充参考链接、截图、替代方案、相关 Issue,或任何有助于理解该功能建议的信息。 + placeholder: "例如:相关产品的截图、类似实现的链接、补充说明等。" + validations: + required: false