From a25adc384d33e8c8486ac024c9ab3865ab659c46 Mon Sep 17 00:00:00 2001 From: Techtanic <64263079+techtanic@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:52:48 +0530 Subject: [PATCH] Changes to issue templates --- .github/ISSUE_TEMPLATE/bug-form.yml | 34 ++++++++-------- .github/ISSUE_TEMPLATE/bug_report.md | 26 ------------- .github/ISSUE_TEMPLATE/feature_request.md | 20 ---------- .github/ISSUE_TEMPLATE/feature_request.yml | 45 ++++++++++++++++++++++ 4 files changed, 61 insertions(+), 64 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md 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-form.yml b/.github/ISSUE_TEMPLATE/bug-form.yml index 28b63c0..c92fab0 100644 --- a/.github/ISSUE_TEMPLATE/bug-form.yml +++ b/.github/ISSUE_TEMPLATE/bug-form.yml @@ -1,35 +1,35 @@ name: Bug Report -description: File a bug report +description: Please let us know if you're facing any problems, errors, or unexpected behavior. title: "[Bug]: " -labels: "Type: Bug" +labels: ["Type: Bug", "Status: TBC"] body: - type: markdown attributes: value: | - Thanks for taking the time to fill out this bug report! - + Thank you for taking the time to fill out this bug report! + - type: textarea id: what-happened attributes: label: What happened? description: | - Also tell us, what did you expect to happen? - Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. - placeholder: Describe what you experienced. + Please describe the issue you encountered and what you expected to happen. + You can also attach images or log files by highlighting this area and dragging the files in. + placeholder: Describe your experience. validations: required: true + - type: dropdown id: enroller attributes: label: Enroller - description: Which Enroller caused this? + description: Which Enroller caused this issue? options: - GUI - CLI - - COLAB - validations: required: true + - type: dropdown id: os attributes: @@ -40,21 +40,19 @@ body: - Mac-OS 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. + description: Please copy and paste any relevant log output. It will be automatically formatted as code. render: shell + - type: checkboxes id: terms attributes: label: Terms - description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/techtanic/Discounted-Udemy-Course-Enroller/blob/master/CODE_OF_CONDUCT.md) options: - - label: I am using the latest version available. - required: true - - label: I agree to follow this project's Code of Conduct - required: true - + - label: I am using the latest available version. + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 4b744a4..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Bug report -about: Report any bugs/problem you find -title: '' -labels: 'Type: Bug' -assignees: '' - ---- - -**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 - -**Screenshots** -add screenshots to help explain your problem. - -**System Info:** - - OS: [e.g. iOS] - - d [e.g. chrome, safari] - - Version [e.g. 22] diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index c6f3d91..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: 'Type: Enhancement' -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. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..0b635fc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,45 @@ +name: Feature Request +description: Suggest an idea for this project +title: "[Feature]: " +labels: ["Type: Enhancement"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to suggest a feature for this project! + + - 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. Ex. I'm always frustrated when [...] + placeholder: Describe the problem. + validations: + required: false + + - type: textarea + id: solution + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen. + placeholder: Describe the solution. + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered + description: A clear and concise description of any alternative solutions or features you've considered. + placeholder: Describe the alternatives. + validations: + required: false + + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + placeholder: Add any other context. + validations: + required: false \ No newline at end of file