diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..bdf7b77 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,73 @@ +name: Bug report/反馈 Bug +description: Report errors or unexpected behavior./反馈错误或异常行为。 +labels: [bug] +title: "[Bug] " +body: + - type: markdown + attributes: + value: | + Thanks for reporting issues of LSPatch! + + To make it easier for us to help you please enter detailed information below. + + 感谢给 LSPatch 汇报问题! + 为了使我们更好地帮助你,请提供以下信息。 + 为了防止重复汇报,标题请务必使用英文。 + - 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/Xposed 模块列表 + render: Shell + validations: + required: true + - type: input + attributes: + label: LSPatch version/LSPatch 版本 + description: Don't use 'latest'. Specify actual version with 4 digits, otherwise your issue will be closed./不要填用“最新版”。给出四位版本号,不然 issue 会被关闭。 + validations: + required: true + - type: input + attributes: + label: Android version/Android 版本 + validations: + required: true + - type: input + attributes: + label: Shizuku version/Shizuku 版本 + description: If you are not using Shizuku mode, input `N/A` instead./如果未使用 Shizuku 模式,请键入 `N/A`。 + validations: + required: true + - type: checkboxes + id: latest + attributes: + label: Version requirement/版本要求 + options: + - label: I am using latest debug CI version of LSPatch and enable verbose log/我正在使用最新 CI 调试版本且启用详细日志 + required: true + - type: textarea + attributes: + label: Logs/日志 + description: For usage issues, please provide the log zip saved from manager; for activation issues, please provide [bugreport](https://developer.android.com/studio/debug/bug-report). Without log, the issue will be closed. /使用问题请提供从管理器保存的日志压缩包;激活问题请提供 [bugreport](https://developer.android.google.cn/studio/debug/bug-report?hl=zh-cn) 日志。无日志提交会被关闭。 + placeholder: Upload logs by clicking the bar on the bottom. /点击文本框底栏上传日志文件。 + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..d94ee05 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Ask a question/提问 + url: https://github.com/LSPosed/LSPatch/discussions/new?category=Q-A + about: Please ask and answer questions here./如果有任何疑问请在这里提问 + - name: Official Telegram Channel/官方 Telegram 频道 + url: https://t.me/LSPosed + about: Subscribe for notifications and releases/可以订阅通知和发行版 diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..92f5c21 --- /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