Skip to content

Commit

Permalink
chore: add issue queue form templates
Browse files Browse the repository at this point in the history
Added a GitHub pull request template and GitHub forms for bug reports, feature
requests and questions.

Fixes #531
  • Loading branch information
JohnAlbin committed Oct 8, 2023
1 parent 1251912 commit e9bb96c
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 0 deletions.
68 changes: 68 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Useful docs:
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema

name: Bug Report
description: File a bug report
# title: "[Bug]: "
labels: ["bug", "triage"]
# projects: ["octo-org/1", "octo-org/44"]
#assignees:
# - octocat
body:
- type: dropdown
id: package
attributes:
label: Package containing the bug
description: What package in this monorepo has the bug?
options:
- I’m not sure
- next (Drupal module)
- next-drupal (NPM package)
- basic-starter
- graphql-starter
- example-auth
- example-blog
- example-client
- example-custom-auth
- example-custom-cache
- example-custom-fetcher
- example-custom-serializer
- example-graphql
- example-marketing
- example-query
- example-search-api
- example-umami
- example-webform
default: 0
validations:
required: true
- type: textarea
id: description
attributes:
label: Describe the bug
value: |
A clear and concise description of what the bug is.
If applicable, add screenshots to help explain your problem.
### Expected behavior
A clear and concise description of what you expected to happen.
### Steps to reproduce:
1. First '...'
2. Then '....'
3. 😢
### Additional context
Add any other context about the problem here.
validations:
required: true
- type: markdown
attributes:
value: |
<p align="right"><em><strong>Thanks</strong> for taking the time to fill out this bug report!</em></p>
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Feature Request
description: Suggest an idea for this project
# title: "[Feature]: "
labels: ["enhancement", "triage"]
# projects: ["octo-org/1", "octo-org/44"]
#assignees:
# - octocat
body:
- type: dropdown
id: package
attributes:
label: Package
description: The feature request is for what package in this monorepo?
options:
- I’m not sure
- next (Drupal module)
- next-drupal (NPM package)
- basic-starter
- graphql-starter
- example-auth
- example-blog
- example-client
- example-custom-auth
- example-custom-cache
- example-custom-fetcher
- example-custom-serializer
- example-graphql
- example-marketing
- example-query
- example-search-api
- example-umami
- example-webform
default: 0
validations:
required: true
- type: textarea
id: description
attributes:
label: Describe the feature request
value: |
A clear and concise description of what the request is. If your feature request is related to a problem, please describe it.
If applicable, add screenshots to help explain your issue.
### Describe the solution you'd like
### Describe alternatives you've considered
### Additional context
Add any other context about the problem here.
validations:
required: true
- type: markdown
attributes:
value: |
<p align="right"><em><strong>Thanks</strong> for taking the time to fill out this feature request!</em></p>
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Question
description: Ask a question or make a support request
# title: "[Support]: "
labels: ["question", "triage"]
# projects: ["octo-org/1", "octo-org/44"]
#assignees:
# - octocat
body:
- type: dropdown
id: package
attributes:
label: Package
description: The question is for what package in this monorepo?
options:
- Not applicable
- I’m not sure
- next (Drupal module)
- next-drupal (NPM package)
- basic-starter
- graphql-starter
- example-auth
- example-blog
- example-client
- example-custom-auth
- example-custom-cache
- example-custom-fetcher
- example-custom-serializer
- example-graphql
- example-marketing
- example-query
- example-search-api
- example-umami
- example-webform
default: 1
validations:
required: true
- type: textarea
id: description
attributes:
label: Ask the question
value: |
A clear and concise description of what the question is.
If applicable, add screenshots to help explain your issue.
### Additional context
Add any other context about the question here.
validations:
required: true
- type: markdown
attributes:
value: |
<p align="right"><em><strong>Thanks</strong> for taking the time to fill out this request form!</em></p>
23 changes: 23 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
This pull request is for: (mark with an "x")

- [ ] `examples/*`
- [ ] `modules/next`
- [ ] `packages/next-drupal`
- [ ] `starters/basic-starter`
- [ ] `starters/graphql-starter`
- [ ] Other

GitHub Issue: #
(Please add a link to the GitHub issue
where this problem is discussed.)

Mark with an "x" if applicable:

- [ ] This change is still a **Work-In-Progress**
- [ ] **Needs tests**. Code changes need test coverage. If you don't know how to make tests, check this box to ask for help.

### Describe your changes

A clear and concise description of what the request is.

If applicable, add screenshots to help explain your issue.

0 comments on commit e9bb96c

Please sign in to comment.