From 9fd60e6cc69280aa6c031492edb389b0b2dffc44 Mon Sep 17 00:00:00 2001 From: Semisol Date: Tue, 10 Aug 2021 22:59:35 +0300 Subject: [PATCH] Convert issue templates to forms Signed-off-by: Semisol --- .github/ISSUE_TEMPLATE/bug_report.md | 42 ------------ .github/ISSUE_TEMPLATE/bug_report.yaml | 74 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 31 --------- .github/ISSUE_TEMPLATE/feature_request.yaml | 59 ++++++++++++++++ 4 files changed, 133 insertions(+), 73 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 074587bce..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - - -- [ ] I have read the specified guidelines for issues - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Additional information (please complete the following information):** - - OS: [e.g. Mac High Sierra, Ubuntu 18.04, Windows 10] - - Version [e.g. 2.5.1] - - (if relevant) Sound Device [e.g. Windows WASAPI, USB Sound card] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 000000000..95cd5aced --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,74 @@ +name: Bug Report +description: File a bug report +#title: "[Bug] " +labels: [bug] +assignees: [] +body: + - type: markdown + attributes: + value: | + # Note + Issues are not a place to go ask support questions. + Please ask support questions on the [mailing list](https://lists.sr.ht/~tenacity/tenacity-discuss) or IRC (#tenacity on irc.libera.chat) ([Web](https://web.libera.chat/#tenacity) | [Matrix](https://matrix.to/#/#tenacity:libera.chat)) + - type: checkboxes + id: terms + attributes: + label: Guidelines + description: Please read the guidelines above, then check the box below. + options: + - label: I have read the guidelines. + required: true + - type: input + id: chash + attributes: + label: "Version/Commit hash" + description: | + If using releases, enter the version. + If using nightly builds, enter commit hash of the build, you can find it via `About -> Build Info -> Commit Id` + placeholder: 0.1.0, 8c4278 + validations: + required: false + - type: textarea + id: info + attributes: + label: Describe the bug. + description: A clear and concise description of what the bug is. + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: input + id: os + attributes: + label: OS + description: The operating system and version + placeholder: Ubuntu 18.04, macOS High Sierra, ... + validations: + required: false + - type: textarea + id: otherinfo + attributes: + label: Additional context + description: | + Add additional information here. + You may drag-and-drop screenshots and log files here, or paste the log file in code blocks. + validations: + required: false + - type: checkboxes + id: confirmnonduplicate + attributes: + label: This issue is not a duplicate + description: I have checked the [open issues](https://github.com/tenacityteam/tenacity/issues) and can confirm this issue is not a duplicate. + options: + - label: I have confirmed this issue isn't a duplicate. + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index b64eb2337..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project - ---- - - -- [ ] I have read the specified guidelines for issues - -**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 [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 000000000..b457bf04c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,59 @@ +name: Feature request +description: Propose a new feature to be added +#title: "[FR] " +labels: [enhancement] +assignees: [] +body: + - type: markdown + attributes: + value: | + # Note + Issues are not a place to go ask support questions. + Please ask support questions on the [mailing list](https://lists.sr.ht/~tenacity/tenacity-discuss) or IRC (#tenacity on irc.libera.chat) ([Web](https://web.libera.chat/#tenacity) | [Matrix](https://matrix.to/#/#tenacity:libera.chat)) + - type: checkboxes + id: terms + attributes: + label: Guidelines + description: Please read the guidelines above, then check the box below. + options: + - label: I have read the guidelines. + required: true + - type: textarea + id: problem + attributes: + label: Is your feature request related to a problem? Please describe. + description: A clear and concise description of what the problem is. + placeholder: "I'm always frustrated when [...]" + validations: + required: true + - type: textarea + id: solution + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + id: alternative + attributes: + label: Describe alternatives you've considered + description: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: true + - type: textarea + id: otherinfo + attributes: + label: Additional context + description: | + Add any other context or screenshots about the feature request here. + You may drag-and-drop screenshots. + validations: + required: false + - type: checkboxes + id: confirmnonduplicate + attributes: + label: This issue is not a duplicate + description: I have checked the [open issues](https://github.com/tenacityteam/tenacity/issues) and can confirm this issue is not a duplicate. + options: + - label: I have confirmed this issue isn't a duplicate. + required: true \ No newline at end of file