From ca3b86c7819715aff53b6a420f821db5b9469ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 8 Dec 2023 18:51:20 +0800 Subject: [PATCH] Update bug report template --- .github/ISSUE_TEMPLATE/bug_report.yml | 16 ++----------- .github/ISSUE_TEMPLATE/bug_report_zh.yml | 30 +++++++++++++----------- 2 files changed, 18 insertions(+), 28 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index ce6e37a2..1d93e3f8 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -44,13 +44,7 @@ body: attributes: label: Version description: If you are using the original command line program, please provide the output of the `sing-box version` command. - value: |- -
- - ```console - # Replace this line with the output - ``` -
+ render: shell - type: textarea attributes: label: Description @@ -70,10 +64,4 @@ body: If you encounter a crash with the graphical client, please provide crash logs. For Apple platform clients, please check `Settings - View Service Log` for crash logs. For the Android client, please check the `/sdcard/Android/data/io.nekohasekai.sfa/files/stderr.log` file for crash logs. - value: |- -
- - ```console - # Replace this line with logs - ``` -
\ No newline at end of file + render: shell \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report_zh.yml b/.github/ISSUE_TEMPLATE/bug_report_zh.yml index 08f3a533..20086278 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_zh.yml +++ b/.github/ISSUE_TEMPLATE/bug_report_zh.yml @@ -44,13 +44,7 @@ body: attributes: label: 版本 description: 如果您使用原始命令行程序,请提供 `sing-box version` 命令的输出。 - value: |- -
- - ```console - # 使用输出内容覆盖此行 - ``` -
+ render: shell - type: textarea attributes: label: 描述 @@ -70,10 +64,18 @@ body: 如果您遭遇图形界面应用程序崩溃,请提供崩溃日志。 对于 Apple 平台图形客户端程序,请检查 `Settings - View Service Log` 以导出崩溃日志。 对于 Android 图形客户端程序,请检查 `/sdcard/Android/data/io.nekohasekai.sfa/files/stderr.log` 文件以导出崩溃日志。 - value: |- -
- - ```console - # 使用日志内容覆盖此行 - ``` -
\ No newline at end of file + render: shell + - type: checkboxes + attributes: + label: 完整性要求 + description: 我保证我提供了完整的可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件,否则该 issue 将被关闭。 + options: + - label: 我保证 + required: true + - type: checkboxes + attributes: + label: 负责性要求 + description: 我保证我阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值,否则该 issue 将被关闭。 + options: + - label: 我保证 + required: true \ No newline at end of file