From 91d70d8e464ea04626fd29bc65076abf8a4448e3 Mon Sep 17 00:00:00 2001 From: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com> Date: Mon, 9 Oct 2023 12:37:06 +0530 Subject: [PATCH] chore: add labels to the issue templates #1315 (#1316) --- .github/ISSUE_TEMPLATE/#2PlaysAMonth.yml | 1 - .github/ISSUE_TEMPLATE/bug-report.yml | 8 ++-- .github/ISSUE_TEMPLATE/docs.yml | 45 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 5 ++- .github/ISSUE_TEMPLATE/new-play.yml | 5 ++- .github/ISSUE_TEMPLATE/refactor.yml | 39 +++++++++++++++++++ 6 files changed, 95 insertions(+), 8 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/docs.yml create mode 100644 .github/ISSUE_TEMPLATE/refactor.yml diff --git a/.github/ISSUE_TEMPLATE/#2PlaysAMonth.yml b/.github/ISSUE_TEMPLATE/#2PlaysAMonth.yml index a36f3bf5c..7f1a33c08 100644 --- a/.github/ISSUE_TEMPLATE/#2PlaysAMonth.yml +++ b/.github/ISSUE_TEMPLATE/#2PlaysAMonth.yml @@ -2,7 +2,6 @@ name: '🔥 #2PlaysAMonth Entry' description: 'Add a new Play entry for the #2PlaysAMonth event.' title: '[#2PlaysAMonth]: ' labels: ['#2PlaysAMonth'] -assignees: [''] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 8fe8659b7..255a356a7 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,8 +1,7 @@ name: "\U0001F41B [Bug report]:" description: Create a report to help us improve title: "\U0001F41B [Bug report]: " -labels: ['bug'] -assignees: [''] +labels: ["bug","🛠 goal: fix", "🚦status: awaiting triage", "💻 aspect: code"] body: - type: markdown attributes: @@ -70,7 +69,7 @@ body: attributes: label: Relevant log output description: Add any other context about the problem here. - render: shell + - type: checkboxes id: record @@ -82,6 +81,9 @@ body: - label: I have read the [Contributing Guidelines](https://github.com/reactplay/react-play/blob/main/CONTRIBUTING.md) required: true - label: I want to work on this issue + - label: I am in Hacktoberfest + required: true + - type: checkboxes id: terms diff --git a/.github/ISSUE_TEMPLATE/docs.yml b/.github/ISSUE_TEMPLATE/docs.yml new file mode 100644 index 000000000..cbb2beb6d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/docs.yml @@ -0,0 +1,45 @@ +name: 🔖 Documentation update +description: Improve Documentation +title: "docs:" +labels: + [ + "📄 aspect: text", + "🚦status: awaiting triage", + "✨ goal: improvement", + "good first issue" + ] +body: + - type: textarea + id: improve-docs + attributes: + label: what's wrong with the documentation? + description: which things do we need to add? + placeholder: Add description + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Add screenshots + description: Add screenshots to see the demo + placeholder: Add screenshots + validations: + required: true + - type: checkboxes + id: terms + attributes: + label: "Record" + options: + - label: I have checked the existing [issues](https://github.com/reactplay/react-play/issues) + required: true + + - label: I have read the [Contributing Guidelines](https://github.com/reactplay/react-play/blob/main/CONTRIBUTING.md) + required: true + + - label: I agree to follow this project's [Code of Conduct](https://github.com/reactplay/react-play/blob/main/CODE_OF_CONDUCT.md) + required: true + + - label: I am in Hacktoberfest + required: true + + - label: I want to work on this issue \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 7bfe6577c..7e22600da 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,8 +1,7 @@ name: '✨ [Feature request]:' description: Suggest an idea for this project title: '✨ [Feature request]: ' -labels: [] -assignees: [''] +labels: ["🚦status: awaiting triage", "💻 aspect: code", "⭐ goal: addition"] body: - type: markdown attributes: @@ -55,6 +54,8 @@ body: - label: I have read the [Contributing Guidelines](https://github.com/reactplay/react-play/blob/main/CONTRIBUTING.md) required: true - label: I want to work on this issue + - label: I am in Hacktoberfest + required: true - type: checkboxes id: terms diff --git a/.github/ISSUE_TEMPLATE/new-play.yml b/.github/ISSUE_TEMPLATE/new-play.yml index b0284e0e0..8725a5d69 100644 --- a/.github/ISSUE_TEMPLATE/new-play.yml +++ b/.github/ISSUE_TEMPLATE/new-play.yml @@ -1,8 +1,7 @@ name: New Play description: Add a New Play Request title: '[Add a Play]: ' -labels: ['play-request'] -assignees: [''] +labels: ["play request","🚦status: awaiting triage", "💻 aspect: code" ] body: - type: markdown attributes: @@ -35,6 +34,8 @@ body: - label: I have read the [Contributing Guidelines](https://github.com/reactplay/react-play/blob/main/CONTRIBUTING.md) required: true - label: I want to work on this issue + - label: I am in Hacktoberfest + required: true - type: checkboxes id: terms diff --git a/.github/ISSUE_TEMPLATE/refactor.yml b/.github/ISSUE_TEMPLATE/refactor.yml new file mode 100644 index 000000000..fba7ff3ff --- /dev/null +++ b/.github/ISSUE_TEMPLATE/refactor.yml @@ -0,0 +1,39 @@ +name: Refactor Code 🔧 +description: Use this label for code refactoring tasks. +title: "[Refactor] " +labels: ["🛠 goal: refactor", "🚦status: awaiting triage","💻 aspect: code"] +body: + - type: input + id: refactor_input + attributes: + label: File Name + description: "Enter the file that you want to refactor in the codebase." + placeholder: "For example - src/common" + validations: + required: true + - type: textarea + id: refactor_description + attributes: + label: "Reason for Refactoring the Code" + description: "Describe what improvements can be made in the codebase without introducing breaking changes." + validations: + required: true + - type: checkboxes + id: refactor_terms + attributes: + label: "Record" + options: + - label: I have checked the existing [issues](https://github.com/reactplay/react-play/issues) + required: true + + - label: I have read the [Contributing Guidelines](https://github.com/reactplay/react-play/blob/main/CONTRIBUTING.md) + required: true + + - label: I agree to follow this project's [Code of Conduct](https://github.com/reactplay/react-play/blob/main/CODE_OF_CONDUCT.md) + required: true + + - label: I am in Hacktoberfest + required: true + + + - label: I want to work on this issue \ No newline at end of file