From 3f5445294e5b03ae6822416f9f7b8cbcba7965dd Mon Sep 17 00:00:00 2001 From: anupama-pathirage Date: Mon, 21 Oct 2024 20:14:22 -0500 Subject: [PATCH] Add issue template --- .github/ISSUE_TEMPLATE/bug.yml | 31 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 2 ++ .github/ISSUE_TEMPLATE/improvement.yml | 25 +++++++++++++++++ .github/ISSUE_TEMPLATE/new-feature.yml | 32 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/task.yml | 18 ++++++++++++ .github/ISSUE_TEMPLATE/type_bug.md | 24 ---------------- .github/ISSUE_TEMPLATE/type_improvement.md | 22 --------------- .github/ISSUE_TEMPLATE/type_new_feature.md | 22 --------------- .github/ISSUE_TEMPLATE/type_task.md | 20 -------------- 9 files changed, 108 insertions(+), 88 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/improvement.yml create mode 100644 .github/ISSUE_TEMPLATE/new-feature.yml create mode 100644 .github/ISSUE_TEMPLATE/task.yml delete mode 100644 .github/ISSUE_TEMPLATE/type_bug.md delete mode 100644 .github/ISSUE_TEMPLATE/type_improvement.md delete mode 100644 .github/ISSUE_TEMPLATE/type_new_feature.md delete mode 100644 .github/ISSUE_TEMPLATE/type_task.md diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..1c1bfe3f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,31 @@ +name: "šŸž Report a Bug" +description: Create an issue if something does not work as expected. +labels: ["Type/Bug"] +body: + - type: textarea + id: background + attributes: + label: Description + description: Please share a clear and concise description of the problem. + placeholder: Description + - type: textarea + id: steps + attributes: + label: Steps to Reproduce + description: List the steps you followed when you encountered the issue. Provide sample source code to reproduce the issue where applicable. + validations: + required: true + - type: input + id: version + attributes: + label: Version + description: Enter product/component version. + validations: + required: true + - type: textarea + id: environment + attributes: + label: Environment Details (with versions) + description: Mention the environment details (OS, Client, etc.) that the product is running on. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..99d680b0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,2 @@ +blank_issues_enabled: false + diff --git a/.github/ISSUE_TEMPLATE/improvement.yml b/.github/ISSUE_TEMPLATE/improvement.yml new file mode 100644 index 00000000..053bfa80 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/improvement.yml @@ -0,0 +1,25 @@ +name: "šŸš€ Improvement Request" +description: Suggest an improvement to the product. +labels: ["Type/Improvement"] +body: + - type: textarea + id: limitation + attributes: + label: Current Limitation + description: Describe the the current limitation. + validations: + required: true + - type: textarea + id: suggestion + attributes: + label: Suggested Improvement + description: Describe the the improvement you suggest. + validations: + required: true + - type: input + id: version + attributes: + label: Version + description: Enter component version. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/new-feature.yml b/.github/ISSUE_TEMPLATE/new-feature.yml new file mode 100644 index 00000000..39dd56f3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new-feature.yml @@ -0,0 +1,32 @@ +name: "šŸ’” New Feature Request" +description: Suggest new functionality and features for the product. +labels: ["Type/NewFeature"] +body: + - type: textarea + id: problem + attributes: + label: Problem + description: What is the problem this feature will solve? + validations: + required: true + - type: textarea + id: solution + attributes: + label: Proposed Solution + description: Describe the solution you'd like to have. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives + description: Describe any alternatives have you considered + validations: + required: false + - type: input + id: version + attributes: + label: Version + description: Enter product/component version. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/task.yml b/.github/ISSUE_TEMPLATE/task.yml new file mode 100644 index 00000000..ff238a0e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/task.yml @@ -0,0 +1,18 @@ +name: "āœļø Create a Task" +description: Create a new task. +labels: ["Type/Task"] +body: + - type: textarea + id: description + attributes: + label: Description + description: A clear description of what needs to be done. + validations: + required: true + - type: input + id: version + attributes: + label: Version + description: Enter product/component version. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/type_bug.md b/.github/ISSUE_TEMPLATE/type_bug.md deleted file mode 100644 index b14deabc..00000000 --- a/.github/ISSUE_TEMPLATE/type_bug.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: "Bug Report" -about: "Report a bug if something is not working as expected" -labels: 'Type/Bug' - ---- - -**Description:** - - -**Steps to reproduce:** - -**Affected Versions:** - -**OS, DB, other environment details and versions:** - -**Related Issues (optional):** - - -**Suggested Labels (optional):** - - -**Suggested Assignees (optional):** - diff --git a/.github/ISSUE_TEMPLATE/type_improvement.md b/.github/ISSUE_TEMPLATE/type_improvement.md deleted file mode 100644 index c7af3704..00000000 --- a/.github/ISSUE_TEMPLATE/type_improvement.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: "Improvement Request" -about: "Create an improvement request for an existing feature" -labels: 'Type/Improvement' - ---- - -**Description:** - - -**Describe your problem(s)** - -**Describe your solution(s)** - -**Related Issues (optional):** - - -**Suggested Labels (optional):** - - -**Suggested Assignees (optional):** - diff --git a/.github/ISSUE_TEMPLATE/type_new_feature.md b/.github/ISSUE_TEMPLATE/type_new_feature.md deleted file mode 100644 index 72c00dfc..00000000 --- a/.github/ISSUE_TEMPLATE/type_new_feature.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: "New Feature Request" -about: "Create a new feature request" -labels: 'Type/NewFeature' - ---- - -**Description:** - - -**Describe your problem(s)** - -**Describe your solution(s)** - -**Related Issues (optional):** - - -**Suggested Labels (optional):** - - -**Suggested Assignees (optional):** - diff --git a/.github/ISSUE_TEMPLATE/type_task.md b/.github/ISSUE_TEMPLATE/type_task.md deleted file mode 100644 index 2cc8fbed..00000000 --- a/.github/ISSUE_TEMPLATE/type_task.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: "Task" -about: "Create a task which you want to keep track" -labels: 'Type/Task' - ---- - -**Description:** - - -**Describe your task(s)** - -**Related Issues (optional):** - - -**Suggested Labels (optional):** - - -**Suggested Assignees (optional):** -