Skip to content

Commit

Permalink
chore: replace issue template with yaml format
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Mar 21, 2024
1 parent f9cc56b commit c5d67f1
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

95 changes: 95 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Bug Report / Feature Request
description: 报告模板中的问题或者请求实现更多功能

body:
- type: markdown
attributes:
value: |
请确保你已经搜索了已有的 issues 和 discussion,以确保没有重复提交。
- type: input
id: system
attributes:
label: 系统
description: 使用的系统
placeholder: macOS 13.2 / Windows 11 / Ubuntu 24.04 / Overleaf / TeXPage

- type: input
id: tex-distro
attributes:
label: TeX 发行版
description: 使用的 TeX 发行版(在线平台可在项目设置中查看)
placeholder: TeX Live 2024 / MiKTeX 24.1 / CTEX 3.0.216.3
validations:
required: true

- type: input
id: tex-program
attributes:
label: TeX 编译器
description: 使用的 TeX 程序(如不了解,保留默认值)
placeholder: XeLaTeX / LuaLaTeX / pdfLaTeX
value: XeLaTeX
validations:
required: true

- type: input
id: version
attributes:
label: 版本
description: 使用的模板版本(可打开 `thuthesis.cls` 搜索 `\ProvidesClass` 查看)
placeholder: v7.4.0
validations:
required: true

- type: input
id: degree-type
attributes:
label: 学位类型
description: 模板的学位论文类型
options:
- bachelor
- master
- doctor
- postdoc
validations:
required: true

- type: textarea
id: bug-report
attributes:
label: 问题描述
description: 请简要描述你遇到的问题,并附上必要的截图等。
placeholder: |
《研究生学位论文写作指南》第 xx 页要求……
而模板编译的结果是……
validations:
required: true

- type: textarea
id: reproducer
attributes:
label: 复现代码
description: 能复现上述问题的最小代码片段
render: TeX
placeholder: |
\documentclass[degree=doctor]{thuthesis}
\begin{document}
abc
\end{document}
validations:
required: true

- type: textarea
id: log
attributes:
label: 编译日志
description: 相关的编译日志(文本形式粘贴)
render: Text

- type: textarea
id: additional-info
attributes:
label: 其他信息
description: 其他你认为有必要提供的信息
```

0 comments on commit c5d67f1

Please sign in to comment.