Skip to content

Commit 05b94f7

Browse files
committed
🔧 issue template
1 parent 032c1cc commit 05b94f7

3 files changed

Lines changed: 140 additions & 0 deletions

File tree

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
name: 🐛 Bug 报告 / Bug report
2+
description: 程序报错、崩溃、行为不符合预期 / Something is broken or behaves unexpectedly
3+
title: "🐛 "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
感谢反馈!请尽量填全下面的信息——**环境信息缺失会让问题无法定位**(例如「在 Alpine 容器里跑不起来」必须说明发行版和安装方式)。
10+
Thanks! Please fill in as much as possible — missing environment info makes bugs impossible to diagnose.
11+
12+
- type: checkboxes
13+
id: preflight
14+
attributes:
15+
label: 提交前确认 / Preflight
16+
options:
17+
- label: 我已搜索过 issues,没有重复 / I searched existing issues and found no duplicate
18+
required: true
19+
- label: 我用的是最新版本(或已说明所用版本) / I'm on the latest version (or stated my version below)
20+
required: true
21+
22+
- type: input
23+
id: version
24+
attributes:
25+
label: 版本 / Version
26+
description: 运行 `deepx --version`,或看启动右栏版本号 / Run `deepx --version`, or check the version in the right panel
27+
placeholder: "例如 / e.g. 0.2.79"
28+
validations:
29+
required: true
30+
31+
- type: dropdown
32+
id: install
33+
attributes:
34+
label: 安装方式 / Install method
35+
description: 怎么拿到的二进制 / How you obtained the binary
36+
options:
37+
- install.sh 一键安装脚本 / install script
38+
- 直接下载 release 二进制手动运行 / downloaded release binary, ran directly
39+
- gitee 镜像 / gitee mirror
40+
- go install / 从源码编译 / built from source
41+
- 其它 / other
42+
validations:
43+
required: true
44+
45+
- type: dropdown
46+
id: os
47+
attributes:
48+
label: 操作系统 / OS
49+
options:
50+
- "Linux - glibc 常规发行版(Ubuntu/Debian/CentOS 等) / glibc distro"
51+
- "Linux - Alpine / musl(含容器) / Alpine / musl (incl. containers)"
52+
- macOS (Apple Silicon / arm64)
53+
- macOS (Intel / amd64)
54+
- Windows
55+
- 其它 / other
56+
validations:
57+
required: true
58+
59+
- type: input
60+
id: env-detail
61+
attributes:
62+
label: 环境细节 / Environment detail
63+
description: 发行版版本、是否在 Docker/容器里、CPU 架构(amd64/arm64)等 / Distro version, whether inside Docker/container, CPU arch
64+
placeholder: "例如 / e.g. Alpine 3.20, Docker 容器, amd64"
65+
validations:
66+
required: false
67+
68+
- type: textarea
69+
id: what-happened
70+
attributes:
71+
label: 问题描述 / What happened
72+
description: 发生了什么?期望是什么? / What went wrong? What did you expect?
73+
placeholder: 描述现象、期望行为 / Describe the symptom and expected behavior
74+
validations:
75+
required: true
76+
77+
- type: textarea
78+
id: repro
79+
attributes:
80+
label: 复现步骤 / Steps to reproduce
81+
description: 一步步怎么触发的 / Step-by-step to trigger it
82+
placeholder: |
83+
1. ...
84+
2. ...
85+
3. ...
86+
validations:
87+
required: true
88+
89+
- type: textarea
90+
id: logs
91+
attributes:
92+
label: 报错信息 / 日志 / Error output / logs
93+
description: 把终端报错、退出码、堆栈原样贴上(会自动按代码块渲染) / Paste raw terminal error, exit code, stack trace
94+
render: shell
95+
validations:
96+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# 关闭空白 issue:强制走上面的模版,避免「随便提」缺信息。
2+
# Disable blank issues: force using a template so reports carry the needed info.
3+
blank_issues_enabled: false
4+
contact_links:
5+
- name: 📖 文档 / Documentation (README)
6+
url: https://github.com/itmisx/deepx-code#readme
7+
about: 安装、配置、常见问题先看 README(含 Alpine/musl 等说明)/ Check the README first for install, config, and FAQ
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: ✨ 功能建议 / Feature request
2+
description: 提一个新功能或改进 / Suggest a new feature or improvement
3+
title: ""
4+
labels: ["enhancement"]
5+
body:
6+
- type: checkboxes
7+
id: preflight
8+
attributes:
9+
label: 提交前确认 / Preflight
10+
options:
11+
- label: 我已搜索过 issues,没有重复 / I searched existing issues and found no duplicate
12+
required: true
13+
14+
- type: textarea
15+
id: problem
16+
attributes:
17+
label: 想解决什么问题 / What problem does this solve
18+
description: 你遇到的痛点 / The pain point you hit
19+
placeholder: "例如 / e.g. 状态栏看不到剩余余额,不知道还能用多久"
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
id: proposal
25+
attributes:
26+
label: 期望的方案 / Proposed solution
27+
description: 你希望它怎么工作 / How you'd like it to work
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: alternatives
33+
attributes:
34+
label: 备选方案 / Alternatives
35+
description: 想过的其它做法(可选) / Other approaches you considered (optional)
36+
validations:
37+
required: false

0 commit comments

Comments
 (0)