From d8a3126c7509b040cc0c7d53e54d9ec699c77a47 Mon Sep 17 00:00:00 2001 From: Akash Yadav Date: Sun, 14 Aug 2022 09:53:50 +0530 Subject: [PATCH] Replaced issue templates with forms --- .github/ISSUE_TEMPLATE/BUG.yml | 71 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/FEATURE.yml | 57 ++++++++++++++++++ .github/ISSUE_TEMPLATE/bug.md | 26 --------- .github/ISSUE_TEMPLATE/feature_request.md | 17 ------ 4 files changed, 128 insertions(+), 43 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/BUG.yml create mode 100644 .github/ISSUE_TEMPLATE/FEATURE.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/BUG.yml b/.github/ISSUE_TEMPLATE/BUG.yml new file mode 100644 index 000000000..28730a399 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG.yml @@ -0,0 +1,71 @@ +name: Bug Report +description: File a bug report +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! Please provide a proper title and description to the issue. + + A **GOOD** issue title describes the issue briefly. For example : + - [Bug]: Cannot use bluetooth keyboard in terminal + - [Feature]: Add support for previewing custom view in UI Designer + - [Feature]: Add preferences to configure Java code formatting + + Examples of a **BAD** title : + - File editing issues + - Terminal emulator + - App crashed + - Error + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Describe the issue properly. + placeholder: Describe the error + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: What's the expected behavior? + description: Tell us what is the expected behavior. + placeholder: Describe the expected behavior. + validations: + required: true + - type: dropdown + id: version + attributes: + label: What version of AndroidIDE you're using? + multiple: false + options: + - v2.1.2 (debug builds) + - v2.1.1 + - v2.1.0 + - v2.0.1 + - v2.0.0 + validations: + required: true + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell + - type: checkboxes + id: not-a-duplicate + attributes: + label: Duplicate issues + description: Please make sure that there are no similar issues opened. Duplicate issues will be closed directly. If there are any similar looking issues, leave a comment there. + options: + - label: This issue has not been reported yet. + required: true + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/itsaky/AndroidIDE/blob/main/CODE_OF_CONDUCT.md) + options: + - label: I agree to follow this project's Code of Conduct + required: true diff --git a/.github/ISSUE_TEMPLATE/FEATURE.yml b/.github/ISSUE_TEMPLATE/FEATURE.yml new file mode 100644 index 000000000..e6e418154 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/FEATURE.yml @@ -0,0 +1,57 @@ +name: Feature request +description: Request a new feature +title: "[Feature]: " +labels: ["feature"] +body: + - type: markdown + attributes: + value: | + Please provide a proper title and description to the issue. + + A **GOOD** issue title describes the issue briefly. For example : + - [Bug]: Cannot use bluetooth keyboard in terminal + - [Feature]: Add support for previewing custom view in UI Designer + - [Feature]: Add preferences to configure Java code formatting + + Examples of a **BAD** title : + - File editing issues + - Terminal emulator + - App crashed + - Error + - type: textarea + id: feature-description + attributes: + label: Feature description + description: Describe the feature properly. + placeholder: Describe the feature + validations: + required: true + - type: dropdown + id: version + attributes: + label: What version of AndroidIDE you're using? + multiple: false + options: + - v2.1.2 (debug builds) + - v2.1.1 + - v2.1.0 + - v2.0.1 + - v2.0.0 + validations: + required: true + - type: checkboxes + id: not-a-duplicate + attributes: + label: Duplicate issues + description: Please make sure that there are no similar issues opened. Duplicate issues will be closed directly. If there are any similar looking issues, leave a comment there. + options: + - label: This issue has not been reported yet. + required: true + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/itsaky/AndroidIDE/blob/main/CODE_OF_CONDUCT.md) + options: + - label: I agree to follow this project's Code of Conduct + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md deleted file mode 100644 index 426c3f4bf..000000000 --- a/.github/ISSUE_TEMPLATE/bug.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Bug about: Report a bug in the IDE. title: "" -labels: bug assignees: '' ---- - -**Describe the bug** - - -**To Reproduce** -Steps to reproduce the behavior: - - -**Expected behavior** - - -**Screenshots** - - -**Details (please complete the following information):** - -- Device: [e.g. realme 3 Pro] -- OS: [e.g. Android 11] -- AndroidIDE Version [e.g. v1.0.3-alpha] - -**Additional context** - diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index d26ce3aa0..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature request about: Suggest an idea for this project title: "[FEATURE]: " -labels: feature assignees: '' - ---- - -**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.