From 1a363892e59dd58f51f1cb15bbd27a4329cd9009 Mon Sep 17 00:00:00 2001 From: tehcneko <88844448+tehcneko@users.noreply.github.com> Date: Mon, 6 Sep 2021 18:42:43 +0800 Subject: [PATCH] [skip ci] Update issue templates (#1071) --- .github/ISSUE_TEMPLATE/bug_report.md | 50 --------------- .github/ISSUE_TEMPLATE/bug_report.yml | 75 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 9 --- .github/ISSUE_TEMPLATE/feature_request.yml | 30 +++++++++ 4 files changed, 105 insertions(+), 59 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 86b7b770..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -name: Bug report -about: Bug report / Your issue will be close if you don't follow this template -title: "[BUG] " -labels: -assignees: '' ---- - - - -**什么情况/What happened?** - - - -**Xposed模块列表/Xposed Module List** - - - -**Magisk模块列表/Magisk Module List** - - -**版本信息/Versions** - -Android: - -Magisk: - -Riru: - -LSPosed: - -**相关日志/Related Logs** - - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..0e020cc4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,75 @@ +name: Bug report +description: Report errors or unexpected behavior. +labels: [bug] +body: + - type: markdown + attributes: + value: | + Thanks for reporting issues of LSPosed! + + To make it easier for us to help you please enter detailed information below. + - 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: textarea + attributes: + label: Xposed Module List + validations: + required: true + - type: textarea + attributes: + label: Magisk Module List + validations: + required: true + - type: input + attributes: + label: LSPosed version + description: Don't use 'latest', specify actual version, that's a reason to close your issue. + validations: + required: true + - type: input + attributes: + label: Android version + validations: + required: true + - type: input + attributes: + label: Magisk version + validations: + required: true + - type: input + attributes: + label: Riru version + validations: + required: true + - type: checkboxes + id: latest + attributes: + label: CI Version + description: By submitting this issue, you must use latest CI version of LSPosed + options: + - label: I am using latest CI version of LSPosed + required: true + - type: textarea + attributes: + label: Logs + placeholder: Insert log.txt here (if necessary) + render: shell diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 68ac793c..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -name: Feature request -about: Request for a new feature -title: "[FR] " -labels: -assignees: '' ---- - -**Detail**: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..c12d8420 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,30 @@ +--- +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: Describe alternatives you've considered + placeholder: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: true + - type: textarea + attributes: + label: Additional context + placeholder: Add any other context or screenshots about the feature request here. + validations: + required: false