From f0422761ec982859e8f830de3b86fd3f201c9bb8 Mon Sep 17 00:00:00 2001 From: Ankit Date: Fri, 29 Nov 2024 00:07:25 +0530 Subject: [PATCH] added new issue templates --- .github/ISSUE_TEMPLATE/bug.yml | 56 +++++++++------------------------ .github/ISSUE_TEMPLATE/doc.yml | 49 +++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feat.yml | 49 +++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+), 41 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/doc.yml create mode 100644 .github/ISSUE_TEMPLATE/feat.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index f5813d6..2dfbfcf 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -1,59 +1,33 @@ name: Bug Report description: File a bug report. title: "[Bug]: " -labels: ["bug", "triage"] -projects: ["octo-org/1", "octo-org/44"] -assignees: - - octocat +labels: ["bug"] +projects: ["jobjunction"] body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this bug report! - - type: input - id: contact - attributes: - label: Contact Details - description: How can we get in touch with you if we need more info? - placeholder: ex. email@example.com - validations: - required: false - type: textarea id: what-happened attributes: - label: What happened? - description: Also tell us, what did you expect to happen? - placeholder: Tell us what you see! - value: "A bug happened!" + label: What's the bug? + description: What and where is actually the issue is? + placeholder: ex. Input form is not getting submitted validations: required: true - - type: dropdown - id: version + - type: textarea + id: how-to-solve attributes: - label: Version - description: What version of our software are you running? - options: - - 1.0.2 (Default) - - 1.0.3 (Edge) - default: 0 + label: How will you solve it? + description: If you have any solutions then tell the process? + placeholder: ex. I will try to remove the form tag.. validations: required: true - type: dropdown - id: browsers + id: interested attributes: - label: What browsers are you seeing the problem on? - multiple: true + label: Are you willing to solve it + multiple: false options: - - Firefox - - Chrome - - Safari - - Microsoft Edge - - 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 + - Yes + - No - type: checkboxes id: terms attributes: diff --git a/.github/ISSUE_TEMPLATE/doc.yml b/.github/ISSUE_TEMPLATE/doc.yml new file mode 100644 index 0000000..a36eef0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/doc.yml @@ -0,0 +1,49 @@ +name: Documentation Change +description: Change in the documentation +title: "[Doc]:" +labels: ["doc"] +projects: ["jobjunction"] +body: + - type: textarea + id: what-add + attributes: + label: What's the purpose of changing documentation ? + description: Expalin the purpose of change. + placeholder: ex. new route setup process docs + validations: + required: true + - type: textarea + id: how-to + attributes: + label: How will you approach it ? + description: How will you approach the process? + placeholder: ex. will try to make the documentation easy to read + validations: + required: true + + - type: dropdown + id: breaking + attributes: + label: Is this a breaking change + multiple: false + options: + - Yes + - No + + - type: dropdown + id: interested + attributes: + label: Are you willing to solve it + multiple: false + options: + - Yes + - No + + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com). + options: + - label: I agree to follow this project's Code of Conduct + required: true diff --git a/.github/ISSUE_TEMPLATE/feat.yml b/.github/ISSUE_TEMPLATE/feat.yml new file mode 100644 index 0000000..372eaa9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feat.yml @@ -0,0 +1,49 @@ +name: Feature Add on +description: Request a new feature +title: "[Feat]:" +labels: ["feat"] +projects: ["jobjunction"] +body: + - type: textarea + id: what-add + attributes: + label: What's the feature ? + description: What & where should feature will be added? + placeholder: ex. new landing page + validations: + required: true + - type: textarea + id: how-to + attributes: + label: How will you approach it ? + description: How will you approach the process? + placeholder: ex. will first create a new page for the animation + validations: + required: true + + - type: dropdown + id: breaking + attributes: + label: Is this a breaking change + multiple: false + options: + - Yes + - No + + - type: dropdown + id: interested + attributes: + label: Are you willing to solve it + multiple: false + options: + - Yes + - No + + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com). + options: + - label: I agree to follow this project's Code of Conduct + required: true