From ff624199665933590a06106a140ebc0d991def4b Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Fri, 23 Sep 2022 22:56:06 +0800 Subject: [PATCH] Add issue template (#134) --- .github/ISSUE_TEMPLATE/bug_report.yml | 86 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/feature_request.yml | 24 ++++++ 3 files changed, 115 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..0e7bb86 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,86 @@ +name: Bug report/反馈 Bug +description: Report errors or unexpected behavior./反馈错误或异常行为。 +labels: [bug] +title: "[Bug] " +body: + - type: markdown + attributes: + value: | + Thanks for reporting issues of MagiskOnWSALocal! + + To make it easier for us to help you please enter detailed information below. + + 感谢给 MagiskOnWSALocal 汇报问题! + 为了使我们更好地帮助你,请提供以下信息。 + 为了防止重复汇报,标题请务必使用英文。 + - type: textarea + attributes: + label: Steps to reproduce/复现步骤 + placeholder: | + 1. + 2. + 3. + validations: + required: true + - type: textarea + attributes: + label: Expected behaviour/预期行为 + placeholder: Tell us what should happen/正常情况下应该发生什么 + validations: + required: true + - type: textarea + attributes: + label: Actual behaviour/实际行为 + placeholder: Tell us what happens instead/实际上发生了什么 + validations: + required: true + - type: input + attributes: + label: MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希 + description: Don't use 'latest'. Copy and paste full commit SHA, otherwise your issue will be closed./不要填用“最新”。复制并粘贴完整 commit SHA,不然 issue 会被关闭。 + validations: + required: true + - type: textarea + attributes: + label: Linux distribution info/Linux 发行版信息 + render: shell + validations: + required: true + - type: textarea + attributes: + label: Build Parameters/构建参数 + description: The script prints the build information each time you start a build It looks like this, please copy and paste it./每次开始构建时脚本都会打印构建信息,它看起来是这样的,请复制并粘贴上来。 + render: shell + placeholder: | + COMMAND_LINE=--arch x64 --release-type retail --magisk-ver stable --gapps-brand MindTheGapps --gapps-variant pico --root-sol magisk + INFO: Architecture: x64 + INFO: Release Type: retail + INFO: Magisk Version: stable + INFO: GApps Brand: MindTheGapps + INFO: GApps Variant: pico + INFO: Root Solution: magisk + Build: RELEASE_TYPE=Retail + validations: + required: true + - type: checkboxes + id: latest + attributes: + label: Version requirement/版本要求 + options: + - label: I am using latest commit of MagiskOnWSALocal/我正在使用最新 commit 的版本 + required: true + - type: textarea + attributes: + label: Logs/日志 + description: Please copy and paste the error or submit a screenshot. Without log, the issue will be closed. /请复制粘贴错误或提交截图截图。无日志提交会被关闭。 + render: markdown + placeholder: | +
+ Details + Upload screenshots by clicking the bar on the bottom. /点击文本框底栏上传截图文件。 + + +
+ + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3e04766 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Ask a question/提问 + url: https://github.com/LSPosed/MagiskOnWSALocal/discussions/new?category=Q-A + about: Please ask and answer questions here./如果有任何疑问请在这里提问 diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..239a4d1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,24 @@ +--- +name: Feature request/新特性请求 +description: Suggest an idea./提出建议 +labels: [enhancement] +title: "[Feature Request] " +body: + - type: textarea + attributes: + label: Is your feature request related to a problem?/你的请求是否与某个问题相关? + placeholder: A clear and concise description of what the problem is./请清晰准确表述该问题。 + validations: + required: true + - type: textarea + attributes: + label: Describe the solution you'd like/描述你想要的解决方案 + placeholder: A clear and concise description of what you want to happen./请清晰准确描述新特性的预期行为 + validations: + required: true + - type: textarea + attributes: + label: Additional context/其他信息 + placeholder: Add any other context or screenshots about the feature request here./其他关于新特性的信息或者截图 + validations: + required: false \ No newline at end of file