From e800b9b5fac58418294035a1d7fbab267891bb62 Mon Sep 17 00:00:00 2001 From: Naveen MC <8493007+mcnaveen@users.noreply.github.com> Date: Thu, 3 Oct 2024 09:50:02 +0530 Subject: [PATCH 1/2] chore(github): :wrench: add PR, and issue template Resolves #4 --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 22 ++++++++++++ .github/ISSUE_TEMPLATE/2.feature_request.yml | 9 +++++ .github/PULL_REQUEST_TEMPLATE.md | 36 ++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1.bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/2.feature_request.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml new file mode 100644 index 0000000..b02ff86 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -0,0 +1,22 @@ +name: "🐛 Bug Report" +description: Create a bug report for React Pill. +body: + - type: textarea + attributes: + label: Describe the Bug + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + attributes: + label: Console log output (if relevant) + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell + - type: input + attributes: + label: Which React Pill version are you using? (if relevant) + description: "For example: 1.0.0, 1.1.0, etc" + - type: input + attributes: + label: Which browser are you using? (if relevant) + description: "For example: Chrome, Edge, Firefox, etc" \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/2.feature_request.yml b/.github/ISSUE_TEMPLATE/2.feature_request.yml new file mode 100644 index 0000000..99e7156 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2.feature_request.yml @@ -0,0 +1,9 @@ +name: "✨ Feature Request" +description: Create a feature or enhancement request for React Pill. +body: + - type: textarea + attributes: + label: Describe the feature or enhancement + description: A clear and concise description of what the feature or enhancement is. + validations: + required: true \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..a3a2449 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,36 @@ +# Description + + + + + +Fixes # (issue) + +## Type of change + +Please delete options that are not relevant. + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to + not work as expected) +- [ ] This change requires a documentation update + +## How has this been tested? + +Please describe the tests that you ran to verify your changes. Provide +instructions so we can reproduce. + +- [ ] Linting Passed +- [ ] Others + +## Checklist: + +- [ ] My code follows the style guidelines of this project +- [ ] I have performed a self-review of my code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding changes to the documentation +- [ ] My changes generate no new warnings +- [ ] I have added tests that prove my fix is effective or that my feature works +- [ ] New and existing unit tests pass locally with my changes \ No newline at end of file From 956e80d61f58d7e8261be3c7c3c832b3c4c40b5f Mon Sep 17 00:00:00 2001 From: Naveen MC <8493007+mcnaveen@users.noreply.github.com> Date: Tue, 5 Nov 2024 13:45:17 +0530 Subject: [PATCH 2/2] =?UTF-8?q?chore(github):=20=F0=9F=94=A7=20add=20PR,?= =?UTF-8?q?=20and=20issue=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/1.bug_report.yml | 12 +++++++++++- .github/PULL_REQUEST_TEMPLATE.md | 5 +++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index b02ff86..06a2808 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -19,4 +19,14 @@ body: - type: input attributes: label: Which browser are you using? (if relevant) - description: "For example: Chrome, Edge, Firefox, etc" \ No newline at end of file + description: "For example: Chrome, Edge, Firefox, etc" + - type: markdown + attributes: + value: | + ### Screenshots + If applicable, add screenshots to help explain your problem. + - type: textarea + attributes: + label: Screenshots + description: You can attach images by clicking this area to highlight it and then dragging files in. + placeholder: Drag and drop screenshots here. \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a3a2449..3cfea68 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -25,6 +25,11 @@ instructions so we can reproduce. - [ ] Linting Passed - [ ] Others +## Have you self tested the UI and functionality? + +- [ ] Yes +- [ ] No + ## Checklist: - [ ] My code follows the style guidelines of this project