chore: simplify issue templates to reduce required fields
This commit is contained in:
1 parent
49dc85267a
commit
07c1948ff8
4 files changed
+47
-373
No files matched your search
@@ -1,129 +1,44 @@
|
||||
name: 数据库适配 / 兼容性问题
|
||||
description: 某个数据库、版本、驱动行为、SQL 方言或元数据读取不兼容。
|
||||
name: 数据库兼容性问题
|
||||
description: 某个数据库、版本或 SQL 方言不兼容。
|
||||
title: "[Compatibility] "
|
||||
labels: ["bug"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
这个模板用于收集数据库兼容性细节,例如某个版本连接失败、schema 读取不完整、字段类型显示错误、SQL 方言不支持等。请勿提交真实连接凭据。
|
||||
|
||||
- type: checkboxes
|
||||
id: checklist
|
||||
attributes:
|
||||
label: 提交前确认
|
||||
options:
|
||||
- label: 我已确认连接信息、网络、账号权限本身可用。
|
||||
required: true
|
||||
- label: 我已隐藏真实主机、用户名、密码、Token 和业务数据。
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: database
|
||||
attributes:
|
||||
label: 数据库类型
|
||||
options:
|
||||
- MySQL
|
||||
- PostgreSQL
|
||||
- SQLite
|
||||
- Redis
|
||||
- MongoDB
|
||||
- DuckDB
|
||||
- ClickHouse
|
||||
- SQL Server
|
||||
- 其他
|
||||
validations:
|
||||
required: true
|
||||
用于收集数据库兼容性细节,例如连接失败、schema 读取不完整、字段类型显示错误等。请脱敏。
|
||||
|
||||
- type: input
|
||||
id: database-version
|
||||
id: database
|
||||
attributes:
|
||||
label: 数据库版本 / 发行版
|
||||
description: 例如 MariaDB、AWS RDS、Azure SQL、TiDB、兼容 PostgreSQL 的云数据库等也请注明。
|
||||
placeholder: "例如:MariaDB 10.11 / AWS RDS PostgreSQL 15.5"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: scenario
|
||||
attributes:
|
||||
label: 问题场景
|
||||
options:
|
||||
- 测试连接失败
|
||||
- 保存连接失败
|
||||
- SSH 隧道连接失败
|
||||
- 展开数据库 / schema / 表失败
|
||||
- 字段 / 索引 / 外键 / 触发器读取错误
|
||||
- 查询执行错误
|
||||
- 查询结果显示错误
|
||||
- 行内编辑 / 保存错误
|
||||
- Redis key 浏览 / value 显示错误
|
||||
- MongoDB document 浏览 / CRUD 错误
|
||||
- 其他
|
||||
label: 数据库类型和版本
|
||||
description: 也请注明发行版,如 MariaDB、AWS RDS、TiDB 等。
|
||||
placeholder: "例如:MariaDB 10.11"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: schema
|
||||
id: description
|
||||
attributes:
|
||||
label: 最小表结构 / 数据样例
|
||||
description: 请提供能触发问题的最小结构或数据,务必脱敏。
|
||||
render: sql
|
||||
placeholder: |
|
||||
CREATE TABLE ...
|
||||
INSERT INTO ...
|
||||
|
||||
- type: textarea
|
||||
id: query
|
||||
attributes:
|
||||
label: 触发问题的查询 / 操作
|
||||
description: 如果和 SQL、Redis 命令、MongoDB 查询有关,请贴出最小复现内容。
|
||||
render: sql
|
||||
label: 问题描述
|
||||
description: 什么操作,出了什么错,期望怎样?
|
||||
placeholder: "例如:展开 schema 时报错 'unknown type',期望能正常显示字段。"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: error
|
||||
attributes:
|
||||
label: 错误信息
|
||||
description: 粘贴 DBX 弹窗、终端、DevTools 或后端日志里的错误。
|
||||
render: shell
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: screenshots
|
||||
attributes:
|
||||
label: 截图
|
||||
description: 可直接粘贴或拖入截图。
|
||||
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: 正确行为
|
||||
description: 说明同样操作在数据库 CLI、其他客户端或预期中应该得到什么结果。
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: app-version
|
||||
attributes:
|
||||
label: DBX 版本 / Commit
|
||||
placeholder: "例如:v0.1.0 / main@abcdef1"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: os
|
||||
attributes:
|
||||
label: 操作系统
|
||||
multiple: true
|
||||
options:
|
||||
- macOS Apple Silicon
|
||||
- macOS Intel
|
||||
- Windows x64
|
||||
- Windows ARM64
|
||||
- Linux x64
|
||||
- Linux ARM64
|
||||
- 其他
|
||||
label: DBX 版本
|
||||
placeholder: "例如:v0.1.0"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -131,4 +46,4 @@ body:
|
||||
id: extra
|
||||
attributes:
|
||||
label: 补充信息
|
||||
description: 例如数据库部署方式、Docker 镜像、字符集、时区、SSL、代理、VPN、云厂商兼容层等。
|
||||
description: 表结构、SQL 样例、截图、部署方式(Docker/云/自建)等。
|
||||
Reference in new issue
Block a user