From fe29b19034939a0f63d512e5d85778cc6634f08b Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Wed, 14 Sep 2022 17:32:39 +0530 Subject: [PATCH 1/6] issue & pull request template --- .github/ISSUE_TEMPLATE/issue_report.yml | 63 +++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/issue_report.yml diff --git a/.github/ISSUE_TEMPLATE/issue_report.yml b/.github/ISSUE_TEMPLATE/issue_report.yml new file mode 100644 index 00000000..aaab805f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue_report.yml @@ -0,0 +1,63 @@ +name: Issue report +description: Create a report to help us improve +labels: ["issue"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this issue report! + - type: textarea + id: what-happened + attributes: + label: Describe the Issue + description: A clear and concise description of what the issue is. + placeholder: Tell us what you see! + validations: + required: true + - type: textarea + id: repro-steps + attributes: + label: Steps to reproduce the behavior + description: + placeholder: | + 1. Fetch a '...' + 2. Update the '....' + 3. See error + validations: + required: true + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + id: code-snippets + attributes: + label: Code snippets + description: If applicable, add code snippets to help explain your problem. + render: Java + validations: + required: false + - type: input + id: language-version + attributes: + label: Java version + placeholder: Java v1.8 + validations: + required: true + - type: input + id: lib-version + attributes: + label: Library version + placeholder: razorpay-java v1.4.3 + validations: + required: true + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context about the problem here. + validations: + required: false From 756f4733ab68307897304fe6c5010219db18bde3 Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Wed, 14 Sep 2022 17:34:00 +0530 Subject: [PATCH 2/6] added pull request template --- .github/pull_request_template.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..f2e7e075 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,9 @@ +## Description +- Description of chang + +## Detailed Changes + +## Additional Info +- Type of PR (bugfix, feature) +- Fixes (issue link) +- Screenshots (if any) From a260c9284d559b0d0ac31df1f435a9aa9c49374a Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Wed, 14 Sep 2022 18:31:02 +0530 Subject: [PATCH 3/6] typo correction --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f2e7e075..799adaf3 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,5 +1,5 @@ ## Description -- Description of chang +- Description of change ## Detailed Changes From f98eae28a9a2607d2c8a5074c9274c5e67d122ab Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Tue, 27 Sep 2022 15:29:55 +0530 Subject: [PATCH 4/6] added feature template --- .github/ISSUE_TEMPLATE/feature.yml | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/feature.yml diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..96f94e98 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,41 @@ +name: feature.md +description: Submit a proposal for a new feature +title: '[Feature]: ' +labels: [':rocket: Feature Request'] +body: + - type: markdown + attributes: + value: | + ### Thank you for taking the time to suggest a new feature! + We kindly ask that you search to see if an issue [already exists](https://github.com/razorpay/razorpay-java/issues?q=is%3Aissue+sort%3Acreated-desc+) for your feature. + We are also happy to accept contributions from our users. + - type: textarea + id: description + attributes: + label: '🚀 Feature Proposal' + description: A clear and concise description of what the feature is. + validations: + required: true + - type: textarea + id: solution + attributes: + label: Suggested Solution + description: Describe the solution you'd like. A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives + description: Describe alternatives you've considered. + A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false + - type: textarea + id: extra + attributes: + label: Additional Context + description: | + Add any other context about the problem here. + validations: + required: true From 618aa1164472a3dadcf8d153094f2cb4034d8015 Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Mon, 3 Oct 2022 09:37:36 +0530 Subject: [PATCH 5/6] delete pull request template --- .github/pull_request_template.md | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 799adaf3..00000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,9 +0,0 @@ -## Description -- Description of change - -## Detailed Changes - -## Additional Info -- Type of PR (bugfix, feature) -- Fixes (issue link) -- Screenshots (if any) From 0bd3676eaf608c70f7e1d0df2bdadd7e7c01ec94 Mon Sep 17 00:00:00 2001 From: ankitdas13 <89454448+ankitdas13@users.noreply.github.com> Date: Mon, 3 Oct 2022 09:40:52 +0530 Subject: [PATCH 6/6] remove description --- .github/ISSUE_TEMPLATE/feature.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index 96f94e98..09b08917 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -13,29 +13,27 @@ body: id: description attributes: label: '🚀 Feature Proposal' - description: A clear and concise description of what the feature is. + description: validations: required: true - type: textarea id: solution attributes: label: Suggested Solution - description: Describe the solution you'd like. A clear and concise description of what you want to happen. + description: validations: required: true - type: textarea id: alternatives attributes: label: Alternatives - description: Describe alternatives you've considered. - A clear and concise description of any alternative solutions or features you've considered. + description: validations: required: false - type: textarea id: extra attributes: - label: Additional Context - description: | - Add any other context about the problem here. + label: Additional Information + description: validations: required: true