From b44882d7ba6f4a1a0b226d339ece6740c9528752 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, 10 Jul 2026 09:43:00 +0800 Subject: [PATCH] feat(issue-template): add one-click support info copy to bug report template --- .github/ISSUE_TEMPLATE/bug_report.yml | 27 +++++++------------ .../ISSUE_TEMPLATE/database_compatibility.yml | 14 +++++++--- .github/ISSUE_TEMPLATE/feature_request.yml | 14 ++++++++++ .github/ISSUE_TEMPLATE/question.yml | 26 +++++++----------- 4 files changed, 43 insertions(+), 38 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index ff49cea05..125456936 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -7,6 +7,7 @@ body: attributes: value: | 感谢反馈。涉及敏感信息请脱敏。请尽量提供数据库类型、版本、复现步骤、截图和错误日志。 + DBX 版本、运行环境、操作系统和系统架构可在应用内通过“设置 → 关于我们 → 复制支持信息”一键复制。 - type: input id: database @@ -30,24 +31,16 @@ body: validations: required: true - - type: input - id: app-version + - type: textarea + id: support-info attributes: - label: DBX 版本 - placeholder: "例如:v0.1.0" - validations: - required: true - - - type: dropdown - id: os - attributes: - label: 操作系统 - multiple: true - options: - - macOS - - Windows - - Linux - - 其他 + label: 支持信息 + description: 打开 DBX 的“设置 → 关于我们”,点击“复制支持信息”,然后粘贴到这里。如无法打开应用,请说明原因。 + placeholder: | + DBX 版本:v0.5.52 + 运行环境:桌面端 + 操作系统:macOS 26.4 + 系统架构:aarch64 validations: required: true diff --git a/.github/ISSUE_TEMPLATE/database_compatibility.yml b/.github/ISSUE_TEMPLATE/database_compatibility.yml index 35766ef53..7a4f60d71 100644 --- a/.github/ISSUE_TEMPLATE/database_compatibility.yml +++ b/.github/ISSUE_TEMPLATE/database_compatibility.yml @@ -7,6 +7,7 @@ body: attributes: value: | 用于收集数据库兼容性细节,例如连接失败、schema 读取不完整、字段类型显示错误等。请脱敏。 + DBX 版本、运行环境、操作系统和系统架构可在应用内通过“设置 → 关于我们 → 复制支持信息”一键复制。 - type: input id: database @@ -34,11 +35,16 @@ body: validations: required: true - - type: input - id: app-version + - type: textarea + id: support-info attributes: - label: DBX 版本 - placeholder: "例如:v0.1.0" + label: 支持信息 + description: 打开 DBX 的“设置 → 关于我们”,点击“复制支持信息”,然后粘贴到这里。如无法打开应用,请说明原因。 + placeholder: | + DBX 版本:v0.5.52 + 运行环境:桌面端 + 操作系统:macOS 26.4 + 系统架构:aarch64 validations: required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index cdbcc6471..d968ee2de 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -7,6 +7,7 @@ body: attributes: value: | 好的建议最好说明使用场景、数据库类型和期望效果。请尽量避免只写“支持 X”。 + DBX 版本、运行环境、操作系统和系统架构可在应用内通过“设置 → 关于我们 → 复制支持信息”一键复制。 - type: input id: database @@ -17,6 +18,19 @@ body: validations: required: true + - type: textarea + id: support-info + attributes: + label: 支持信息 + description: 打开 DBX 的“设置 → 关于我们”,点击“复制支持信息”,然后粘贴到这里。如无法打开应用,请说明原因。 + placeholder: | + DBX 版本:v0.5.52 + 运行环境:桌面端 + 操作系统:macOS 26.4 + 系统架构:aarch64 + validations: + required: true + - type: textarea id: problem attributes: diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index e91f47ec8..c03f4da6a 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -12,24 +12,16 @@ body: validations: required: true - - type: input - id: app-version + - type: textarea + id: support-info attributes: - label: DBX 版本 - placeholder: "例如:v0.1.0" - validations: - required: true - - - type: dropdown - id: os - attributes: - label: 操作系统 - multiple: true - options: - - macOS - - Windows - - Linux - - 其他 + label: 支持信息 + description: 打开 DBX 的“设置 → 关于我们”,点击“复制支持信息”,然后粘贴到这里。如无法打开应用,请说明原因。 + placeholder: | + DBX 版本:v0.5.52 + 运行环境:桌面端 + 操作系统:macOS 26.4 + 系统架构:aarch64 validations: required: true