From a622f231ecdb9745f98d2f2984931537b425bf5c Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Thu, 21 Sep 2023 15:39:16 +0800 Subject: [PATCH] fix: issue templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 84 +++++++++++----------- .github/ISSUE_TEMPLATE/feature_request.yml | 80 ++++++++++----------- 2 files changed, 82 insertions(+), 82 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 111ce45..e2c5093 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -2,73 +2,73 @@ name: Bug report description: File a bug / issue title: "[Bug] " labels: - - bug - # - Needs Triage + - bug + # - Needs Triage assignees: windingwind body: - type: checkboxes id: check-search attributes: - label: Is there an existing issue for this? - description: Please search to see if an issue already exists for the bug you encountered. - options: - - label: I have searched the existing issues - required: true + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true - type: checkboxes id: check-version attributes: - label: Are you using the latest Zotero and the latest plugin? - description: Only bug reports that can be reproduced on the latest Zotero and plugin will be considered. - options: - - label: I have confirmed I'm using the latest Zotero and the latest plugin - required: true + label: Are you using the latest Zotero and the latest plugin? + description: Only bug reports that can be reproduced on the latest Zotero and plugin will be considered. + options: + - label: I have confirmed I'm using the latest Zotero and the latest plugin + required: true - type: textarea attributes: - label: Environment - description: | - examples: - - **OS**: Windows 11 22H2 - - **Zotero Version**: 7.0.0 - - **Plugin Version**: 1.0.0 - value: | - - OS: - - Zotero Version: - - Plugin Version: + label: Environment + description: | + examples: + - **OS**: Windows 11 22H2 + - **Zotero Version**: 7.0.0 + - **Plugin Version**: 1.0.0 + value: | + - OS: + - Zotero Version: + - Plugin Version: validations: - required: true + required: true - type: textarea id: description attributes: - label: Describe the bug - description: | - A clear and concise description of what the bug is. - If applicable, add screenshots and log to help explain your problem. + label: Describe the bug + description: | + A clear and concise description of what the bug is. + If applicable, add screenshots and log to help explain your problem. validations: - required: true + required: true - type: textarea id: debug-output attributes: - label: Debug Output - description: | - Steps to get debug output: - 1. Disable all other plugins, exit Zotero, and restart Zotero - 2. menu -> `Help` -> `Debug Output` -> `View Output` - 3. Do steps to reproduce the bug - 4. In the debug output window, press `Ctrl/Cmd + S` - 5. Upload the debug output here + label: Debug Output + description: | + Steps to get debug output: + 1. Disable all other plugins, exit Zotero, and restart Zotero + 2. menu -> `Help` -> `Debug Output` -> `View Output` + 3. Do steps to reproduce the bug + 4. In the debug output window, press `Ctrl/Cmd + S` + 5. Upload the debug output here validations: - required: true + required: true - type: textarea id: additional-context attributes: - label: Anything else? - description: | - Links? References? Anything that will give us more context about the issue you are encountering! - Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. validations: - required: false + required: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 1b00b13..7f43987 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -2,65 +2,65 @@ name: Feature request about: Suggest an idea for this project title: "[Feature]" labels: - - enhancement + - enhancement assignees: windingwind body: - - type: checkboxes - id: check-search - attributes: - label: Is there an existing issue for this? - description: Please search to see if an issue already exists for the bug you encountered. - options: - - label: I have searched the existing issues - required: true + - type: checkboxes + id: check-search + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true - type: textarea attributes: - label: Environment - description: | - examples: - - **OS**: Windows 11 22H2 - - **Zotero Version**: 7.0.0 - - **Plugin Version**: 1.0.0 - value: | - - OS: - - Zotero Version: - - Plugin Version: + label: Environment + description: | + examples: + - **OS**: Windows 11 22H2 + - **Zotero Version**: 7.0.0 + - **Plugin Version**: 1.0.0 + value: | + - OS: + - Zotero Version: + - Plugin Version: validations: - required: true + required: true - type: textarea id: description attributes: - label: Describe the feature request - value: | - **Is your feature request related to a problem? Please describe.** - A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + label: Describe the feature request + value: | + **Is your feature request related to a problem? Please describe.** + A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - **Why do you need this feature?** - A clear and concise description of why you need this feature. - validations: - required: false + **Why do you need this feature?** + A clear and concise description of why you need this feature. + validations: + required: false - type: textarea id: solution attributes: - label: Describe the solution you'd like - value: | - **The solution you'd like** - A clear and concise description of what you want to happen. + label: Describe the solution you'd like + value: | + **The solution you'd like** + A clear and concise description of what you want to happen. - **Alternatives you've considered** - A clear and concise description of any alternative solutions or features you've considered. + **Alternatives you've considered** + A clear and concise description of any alternative solutions or features you've considered. validations: - required: false + required: false - type: textarea id: additional-context attributes: - label: Anything else? - description: | - Links? References? Anything that will give us more context about the issue you are encountering! - Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. validations: - required: false + required: false