From 058bbf72cc0dea48f912c02621d6c3debe1bbbae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E4=B8=AB=E8=AE=B2=E6=A2=B5?= Date: Fri, 26 Jun 2026 09:52:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(issue=5Ftemplate):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E8=AF=B7=E6=B1=82=E5=92=8C=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=EF=BC=8C=E5=A2=9E=E5=8A=A0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E7=B1=BB=E5=9E=8B=E5=92=8C=E7=89=88=E6=9C=AC=E8=BE=93?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/feature_request.yml | 13 ++++++-- .github/ISSUE_TEMPLATE/question.yml | 37 +++++++++++++++++++--- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index a0485bf7c..b44a088bd 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -6,7 +6,16 @@ body: - type: markdown attributes: value: | - 好的建议最好说明使用场景和期望效果。请尽量避免只写“支持 X”。 + 好的建议最好说明使用场景、数据库类型和期望效果。请尽量避免只写“支持 X”。 + + - type: input + id: database + attributes: + label: 数据库类型和版本 + description: 如果是通用功能,请填写“通用”。如果只影响特定数据源,请注明数据库类型、版本或发行版。 + placeholder: "例如:PostgreSQL 16.2 / MySQL 8.0 / Redis 7.2 / 通用" + validations: + required: true - type: textarea id: problem @@ -43,4 +52,4 @@ body: id: extra attributes: label: 补充信息 - description: 参考截图、相关数据库类型、替代方案等。 + description: 参考截图、替代方案、特殊环境等。 diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index 8c20c354e..fbe82fefe 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -3,6 +3,36 @@ description: Usage questions, configuration issues, or feedback you're not sure title: "[❓ Question] " labels: ["question"] body: + - type: input + id: database + attributes: + label: 数据库类型和版本 + description: 如果问题与数据库无关,请填写“无关”。否则请注明数据库类型、版本或发行版。 + placeholder: "例如:PostgreSQL 16.2 / MySQL 8.0 / Redis 7.2 / 无关" + validations: + required: true + + - type: input + id: app-version + attributes: + label: DBX 版本 + placeholder: "例如:v0.1.0" + validations: + required: true + + - type: dropdown + id: os + attributes: + label: 操作系统 + multiple: true + options: + - macOS + - Windows + - Linux + - 其他 + validations: + required: true + - type: textarea id: goal attributes: @@ -16,8 +46,7 @@ body: id: context attributes: label: 环境信息 - description: 数据库类型和版本、操作系统、DBX 版本等。 + description: 连接方式、特殊环境、已尝试的排查方式等。 placeholder: | - DBX 版本: - 操作系统: - 数据库: + 连接方式: + 补充环境: