Skip to content

The only downloader you need. 下载器的集大成者。

docs: 添加 issue 和 PR 模板以提高项目管理效率

XiaoYouChR125dd2477d0b
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 00000000..91122038
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,116 @@
+name: Bug 报告
+description: 提交 Bug 以帮助我们提高应用体验
+title: "[Bug] 我的标题"
+assignees: XiaoYouChR
+labels:
+ - "bug"
+body:
+- type: markdown
+ attributes:
+ value: |
+ ## 写在开头
+ 🚨 请务必完整填写下面的内容,如果缺少必要的信息,开发者可能会在未调查的情况下直接关闭问题 🚨
+
+- type: textarea
+ id: description
+ validations:
+ required: true
+ attributes:
+ label: Bug 描述
+ description: 请简短的描述你遇到的问题
+- type: textarea
+ id: repro-steps
+ validations:
+ required: true
+ attributes:
+ label: 复现问题的步骤
+ render: plain text
+ description: 请提供复现问题的步骤,如果不能,请写明原因
+ placeholder: |
+ 干净清晰的复现步骤有助于开发者更快定位问题所在,你所遇到的问题也会获得更高的优先级.
+
+ 示例步骤:
+ 1. 打开应用
+ 2. 进入 '...'
+ 3. 点击 '....'
+ 4. 滚动至 '....'
+ 5. 发现问题
+- type: textarea
+ id: expected-behavior
+ validations:
+ required: true
+ attributes:
+ label: 预期行为
+ description: 简要描述你希望看到什么样的结果
+- type: textarea
+ id: screenshots
+ attributes:
+ label: 截图
+ description: 如果可以,提交截图更有助于我们分析问题
+- type: checkboxes
+ id: environment-package-source
+ attributes:
+ label: 应用来源
+ description: 你是从哪里下载的 Ghost Downloader 呢?
+ options:
+ - label: Github
+ - label: 其它
+- type: input
+ id: environment-package-other-source
+ attributes:
+ label: 其它来源
+ description: 如果你是从其它地方下载的 Ghost Downloader ,请注明来源
+- type: checkboxes
+ id: environment-app-target-version
+ attributes:
+ label: 系统版本
+ description: 选择一个你发现问题的系统版本
+ options:
+ - label: Windows 10 2004 - 22H2 (Build 19041 - 19045)
+ - label: Windows 11 21H2 (Build 22000)
+ - label: Windows 11 22H2 (Build 22621)
+ - label: Windows 11 23H2 (Build 22631)
+ - label: Windows 11 24H2 (Build 26100)
+ - label: 其它 (需注明)
+- type: input
+ id: environment-app-target-other-version
+ attributes:
+ label: 其它系统版本
+ description: 如果你是在特别的系统版本中运行应用,请注明系统版本
+#- type: checkboxes
+# id: environment-app-target-architecture
+# attributes:
+# label: 系统架构
+# description: 选择你当前运行 Ghost Downloader 的系统架构
+# options:
+# - label: x86_64
+# - label: ARM64
+- type: dropdown
+ id: form-factor
+ attributes:
+ multiple: true
+ label: 运行设备
+ description: 选择你当前运行 Ghost Downloader 的设备类型
+ options:
+ - 桌面/台式机
+ - 桌面/平板或笔记本
+ - ARM64 设备
+- type: textarea
+ id: log-info
+ attributes:
+ label: 日志记录
+ description: 请 粘贴报错时自动复制的报错内容 或者 将软件根目录的“Ghost Downloader 运行日志.log”以附件的形式上传
+- type: textarea
+ id: additional-context
+ attributes:
+ label: 备注
+ description: 添加你认为有必要的信息
+
+- type: dropdown
+ id: contribution
+ attributes:
+ label: 人人为我,我为人人
+ description: Ghost Downloader 变得更好,我们所有参与者都将受益,如果可以的话,你是否愿意帮忙解决这个问题?
+ options:
+ - 是的,我希望我的代码出现在 Ghost Downloader 中
+ - 我更擅长发现问题
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644
index 00000000..6cb445da
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,57 @@
+name: 功能需求
+description: 给项目提供建议或点子
+title: "[Feature] 我的标题"
+labels:
+ - "enhancement"
+assignees: XiaoYouChR
+body:
+- type: markdown
+ attributes:
+ value: |
+ ## 写在开头
+ 🚨 请务必完整填写下面的内容,如果缺少必要的信息,开发者可能会在未调查的情况下直接关闭问题 🚨
+
+- type: textarea
+ id: problem-description
+ validations:
+ required: true
+ attributes:
+ label: 问题描述
+ description: 描述你想要解决的问题或者功能的使用场景
+ placeholder: |
+ 请描述你遇到的问题或者链接到已存在的 issue.
+ 从用户故事 (User Story) 开始, 简明扼要的说明该功能的适用场景。
+ 说明当前应用在没有该功能情况下对你造成了哪些困扰,而有了这项功能后又能为用户创造怎样的价值
+
+- type: textarea
+ id: solution-description
+ validations:
+ required: true
+ attributes:
+ label: 描述解决方案
+ description: 说说对于该问题, 你预期的解决方案是怎样的
+ placeholder: |
+ 尽量清晰地描述你所预期的解决方案,它会以怎样的方式解决你所遇到的问题,这有助于开发者做出符合你预期的更新
+
+- type: textarea
+ id: alternatives
+ attributes:
+ label: 备选方案
+ description: 问题的解决方法不止一种,也许你有一个退而求其次的方案
+ placeholder: |
+ 当前一种解决方案难以实现时,你是否考虑了其他的替代方案?是否有一个最低的,可接受的实现目标?
+
+- type: textarea
+ id: additional-info
+ attributes:
+ label: 附加信息
+ description: 添加一些你认为有必要的备注信息,或者展示一些能表现你思路的草图
+
+- type: dropdown
+ id: contribution
+ attributes:
+ label: 人人为我,我为人人
+ description: Ghost Downloader 变得更好,我们所有参与者都将受益,如果可以的话,你是否愿意帮忙解决这个问题?
+ options:
+ - 是的,我希望我的代码出现在 Ghost Downloader 中
+ - 提出问题就是我对 Ghost Downloader 的期许
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 00000000..dfa783f2
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,37 @@
+<!-- 🚨 请不要跳过或删除下面的信息,它们都是评估与测试所需的信息,完整填写有助于更快通过评审 🚨 -->
+
+<!-- 👉 一个 PR 最好只解决一个 Issue,除非这些问题彼此关联 -->
+
+<!-- 📝 请始终打开 PR 中的 `☑️ Allow edits by maintainers` 按钮,Ghost-Downloader-3 使用了较为严格的项目模板,维护者可以帮助你修改一些细微的错误或者格式问题 🎉 -->
+
+## Close
+
+<!-- 在上面的 `Close` 标题后添加要修复的 Issue 编号,比如 “Close #1234”,这样在 PR 合并后可以直接关闭 Issue -->
+
+<!-- 在此添加对修复的问题或添加的功能的简要描述 -->
+
+## PR 类型
+
+这个 PR 的目的是什么?
+
+<!-- 请取消对应类型的注释 -->
+
+<!-- - Bug 修复 -->
+<!-- - 功能 -->
+<!-- - 代码样式更新 -->
+<!-- - 重构 (没有功能修改,没有 API 更新) -->
+<!-- - Build 或 CI 更新 -->
+<!-- - 其他,请描述内容: -->
+
+## PR 检查清单
+
+请检查你的 PR 是否满足以下要求:<!-- 删除掉那些不适用于当前 PR 的内容 -->
+
+- [x] 应用成功启动且测试无 Bug
+- [x] **不**包含破坏式更新
+
+<!-- 如果这个 PR 包含破坏式更新,请在下面描述对现有应用的影响以及如何适应新变化 -->
+
+## 备注
+
+<!-- 请添加任何你认为有帮助的信息 -->
\ No newline at end of file
diff --git a/README.md b/README.md
index 5a953dfa..be4f4951 100644
--- a/README.md
+++ b/README.md
@@ -28,9 +28,9 @@
<p>
- <a href="https://github.com/XiaoYouChR/Ghost-Downloader-3/issues/new?labels=bug&template=bug-report---.md">Report Bug</a>
+ <a href="https://github.com/XiaoYouChR/Ghost-Downloader-3/issues/new?template=bug_report.yml">Bug 报告</a>
·
- <a href="https://github.com/XiaoYouChR/Ghost-Downloader-3/issues/new?labels=enhancement&template=feature-request---.md">Request Feature</a>
+ <a href="https://github.com/XiaoYouChR/Ghost-Downloader-3/issues/new?template=feature_request.yml">功能需求</a>
</p>
</div>