From 028a15b2d4ee1043711e9c10db961842fcac65ce Mon Sep 17 00:00:00 2001
From: nongyehong <2439646234@qq.com>
Date: Sat, 28 Sep 2024 19:03:24 +0800
Subject: [PATCH] =?UTF-8?q?docs(ISSUE=5FTEMPLATE):=20:memo:=20=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9gitee=E5=92=8Cgithub=E7=9A=84issue=E6=A8=A1=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitee/ISSUE_TEMPLATE/bug.yml | 63 ++++++++++++++-------------
.github/ISSUE_TEMPLATE/bug_report.yml | 57 ++++++++++++------------
2 files changed, 61 insertions(+), 59 deletions(-)
diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml
index 8fb2ab17..985d487b 100644
--- a/.gitee/ISSUE_TEMPLATE/bug.yml
+++ b/.gitee/ISSUE_TEMPLATE/bug.yml
@@ -1,59 +1,60 @@
-name: 🐞 Bug 报告
+name: '🐛 反馈缺陷'
+description: '反馈一个问题缺陷'
title: '[bug] '
-description: 报告 bug
labels: ['bug']
-
body:
- type: markdown
attributes:
value: |
## 首先
- 1.请先搜索 [现有问题](https://gitee.com/nongyehong/HuLa-IM-Tauri/issues?q=is%3Aissue) 关于此问题。
- 2.确保 rustc 和所有相关的 HuLa-IM-Tauri 包都是最新的。
- 3.确保这是 HuLa-IM-Tauri 的问题,而不是你正在使用的其他东西。
- 4.请记住遵循我们的社区准则并保持友好。
+ 1.请先搜索 [现有问题](https://gitee.com/nongyehong/HuLa-IM-Tauri/issues?q=is%3Aissue) 关于此问题。
+ 2.确保 rustc 和所有相关的 HuLa-IM-Tauri 包都是最新的。
+ 3.确保这是 HuLa-IM-Tauri 的问题,而不是你正在使用的其他东西。
+ 4.请记住遵循我们的社区准则并保持友好。
- - type: textarea
- id: description
+ - type: input
attributes:
- label: 描述 bug
- description: 对 bug 的明确描述。如果适用,请包括屏幕截图。
- placeholder: Bug 描述
+ label: '📌 软件版本'
+ validations:
+ required: true
+
+ - type: dropdown
+ attributes:
+ label: '💻 系统环境'
+ multiple: true
+ options:
+ - 'Windows'
+ - 'macOS'
validations:
required: true
- type: textarea
- id: reproduction
attributes:
- label: 步骤
- description: 指向 reproduction 存储库的链接或重现行为的步骤。
- placeholder: |
- 请提供最小复制或复制步骤,请参阅本指南 https://stackoverflow.com/help/minimal-reproducible-example
- 为什么需要复制?请参阅此文章 https://antfu.me/posts/why-reproductions-are-required
-
- - type: textarea
- id: expected-behavior
- attributes:
- label: 预期行为
- description: 清楚地描述您期望发生的事情。
+ label: '🐛 问题描述'
+ description: 请提供一个清晰且简洁的问题描述,如果适用,请包括屏幕截图。
+ validations:
+ required: true
- type: textarea
id: info
attributes:
- label: 完整的 'tauri info' 输出
+ label: '☄️ 完整的 `tauri info` 输出'
description: '“pnpm run tauri info”或“cargo tauri info”的输出'
render: text
validations:
required: true
- type: textarea
- id: logs
attributes:
- label: 堆栈跟踪
- render: text
+ label: '📷 复现步骤'
+ description: 请提供一个清晰且简洁的描述,说明如何复现问题。
- type: textarea
- id: context
attributes:
- label: 其他上下文
- description: 在此处添加有关问题的任何其他上下文。
\ No newline at end of file
+ label: '🚦 期望结果'
+ description: 请提供一个清晰且简洁的描述,说明您期望发生什么。
+
+ - type: textarea
+ attributes:
+ label: '📝 补充信息'
+ description: 如果您的问题需要进一步说明,或者您遇到的问题无法在一个简单的示例中复现,请在这里添加更多信息。
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 11ffda62..cf230b1e 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -1,8 +1,7 @@
-name: 🐞 Bug Report
+name: '🐛 Bug Report'
+description: 'Report an bug'
title: '[bug] '
-description: Report a bug
labels: ['bug']
-
body:
- type: markdown
attributes:
@@ -13,47 +12,49 @@ body:
3. Make sure it's an issue with HuLa-IM-Tauri and not something else you are using.
4. Remember to follow our community guidelines and be friendly.
- - type: textarea
- id: description
+ - type: input
attributes:
- label: Describe the bug
- description: A clear description of what the bug is. Include screenshots if applicable.
- placeholder: Bug description
+ label: '📌 Version'
+ validations:
+ required: true
+
+ - type: dropdown
+ attributes:
+ label: '💻 Operating System'
+ multiple: true
+ options:
+ - 'Windows'
+ - 'macOS'
validations:
required: true
- type: textarea
- id: reproduction
attributes:
- label: Reproduction
- description: A link to a reproduction repo or steps to reproduce the behaviour.
- placeholder: |
- Please provide a minimal reproduction or steps to reproduce, see this guide https://stackoverflow.com/help/minimal-reproducible-example
- Why reproduction is required? see this article https://antfu.me/posts/why-reproductions-are-required
-
- - type: textarea
- id: expected-behavior
- attributes:
- label: Expected behavior
- description: A clear description of what you expected to happen.
+ label: '🐛 Bug Description'
+ description: A clear and concise description of the bug, Include screenshots if applicable.
+ validations:
+ required: true
- type: textarea
id: info
attributes:
- label: Full `tauri info` output
- description: 'Output of `npm run tauri info` or `cargo tauri info`'
+ label: '☄️ intact `tauri info` output'
+ description: '“pnpm run tauri info” or “cargo tauri info” output'
render: text
validations:
required: true
- type: textarea
- id: logs
attributes:
- label: Stack trace
- render: text
+ label: '📷 Recurrence Steps'
+ description: A clear and concise description of how to recurrence.
- type: textarea
- id: context
attributes:
- label: Additional context
- description: Add any other context about the problem here.
\ No newline at end of file
+ label: '🚦 Expected Behavior'
+ description: A clear and concise description of what you expected to happen.
+
+ - type: textarea
+ attributes:
+ label: '📝 Additional Information'
+ description: If your problem needs further explanation, or if the issue you're seeing cannot be reproduced in a gist, please add more information here.
\ No newline at end of file