From e3c1e07e74503c444775c820b23d8784cc39cef8 Mon Sep 17 00:00:00 2001 From: Joshua Gawenda Date: Sun, 7 Apr 2024 20:00:32 +0200 Subject: [PATCH 1/5] chore: Add feature request template --- .github/ISSUE_TEMPLATE/feature_request.yml | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..ebd822b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,40 @@ +name: Feature Request +description: Suggest an idea for this project +title: "[Feature Request]" +labels: ["enhancement", "needs triage"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to suggest a feature for this project! + Please fill out the sections below to help us understand your request. + - type: textarea + id: summary + attributes: + label: Summary + description: A clear and concise description of what the feature is. + placeholder: I'd like to see... + validations: + required: true + - type: textarea + id: details + attributes: + label: Details + description: Provide any additional details or context for the feature. + placeholder: I think this feature would be useful because... + validations: + required: false + - type: textarea + id: alternatives + attributes: + label: Alternatives + description: Describe any alternative solutions or features you've considered. + placeholder: I've also thought about... + validations: + required: false + - type: textarea + id: additional + attributes: + label: Additional Information + description: Add any other information or screenshots about the feature request here. + placeholder: Here's a screenshot... From 6ad1a4105e57053895c05f40d44ffef3ea00827e Mon Sep 17 00:00:00 2001 From: Joshua Gawenda Date: Sun, 7 Apr 2024 20:00:44 +0200 Subject: [PATCH 2/5] chore: Improve bug report template --- .github/ISSUE_TEMPLATE/bug_report.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index f130b57..aa862c5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -14,10 +14,7 @@ body: description: What steps did you take to encounter this bug? placeholder: Tell us what you see! value: | - 1. Go to '...' - 2. Click on '....' - 3. Scroll down to '....' - 4. See error + 1. validations: required: true - type: input @@ -31,7 +28,7 @@ body: description: What did you expect to happen? placeholder: Tell us what you expected to see! value: | - I expected to see... + I expected validations: required: true - type: input From 2bfd2ad3207940171000dce64113eff20c8448c0 Mon Sep 17 00:00:00 2001 From: Joshua Gawenda Date: Sun, 7 Apr 2024 20:01:07 +0200 Subject: [PATCH 3/5] chore: Move PR template out of folder to make it apply always --- .github/{PULL_REQUEST_TEMPLATE => }/pull_request_template.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{PULL_REQUEST_TEMPLATE => }/pull_request_template.md (100%) diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/pull_request_template.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE/pull_request_template.md rename to .github/pull_request_template.md From 997c2c6108ba257eeaff17a33b562783f1418b69 Mon Sep 17 00:00:00 2001 From: Joshua Gawenda Date: Sun, 7 Apr 2024 20:04:01 +0200 Subject: [PATCH 4/5] chore: Add changes section to PR template --- .github/pull_request_template.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 272cfab..029bb5f 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -15,3 +15,5 @@ - [ ] The code is well documented - [ ] The documentation website is up-to-date - [ ] Tests cover new code or fixes + +## Changes From 59feb59f90d3e571980d824ebef1f63c242a918c Mon Sep 17 00:00:00 2001 From: Joshua Gawenda Date: Sun, 7 Apr 2024 20:09:17 +0200 Subject: [PATCH 5/5] chore: Disallow empty issues + add link to discussions for help questions --- .github/ISSUE_TEMPLATE/config.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..6ecd379 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Q&A + url: https://github.com/gutentag2012/form-signals/discussions + about: Ask a question about this project