Skip to content

Commit dc4d7ff

Browse files
#336 Add GitHub Templates (#338)
1 parent 3d33ea0 commit dc4d7ff

File tree

3 files changed

+120
-0
lines changed

3 files changed

+120
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Bug Report Form
2+
description: Report a bug to help us improve
3+
title: "[Bug]: "
4+
labels: "bug"
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
> _Thanks for filing a bug ticket. We appreciate your time and effort. Please answer a few questions._
10+
- type: dropdown
11+
id: checked-for-duplicates
12+
attributes:
13+
label: Checked for duplicates
14+
description: Have you checked for duplicate issue tickets?
15+
multiple: false
16+
options:
17+
- "Yes - I've already checked"
18+
- "No - I haven't checked"
19+
validations:
20+
required: yes
21+
- type: textarea
22+
id: description
23+
attributes:
24+
label: Describe the bug
25+
description: A clear and concise description of what the bug is. Plain-text snippets preferred but screenshots welcome.
26+
placeholder: Tell us what you saw
27+
value: "When I did [...] action, I noticed [...]"
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: expected-behavior
32+
attributes:
33+
label: What did you expect?
34+
description: A clear and concise description of what you expect to happen
35+
placeholder: Tell us what you expected
36+
value: "I expected [...]"
37+
validations:
38+
required: true
39+
- type: textarea
40+
id: reproduction
41+
attributes:
42+
label: Reproducible steps
43+
description: "How would we reproduce this bug? Please walk us through it step by step. Plain-text snippets preferred but screenshots welcome."
44+
value: |
45+
1.
46+
2.
47+
3.
48+
...
49+
render: bash
50+
- type: textarea
51+
id: environment
52+
attributes:
53+
label: Environment
54+
description: "What is your environment? Include any computer hardware, operating system, framework, browser, time-of-day or other contextual information related to your issue"
55+
value: |
56+
- Version of this software [e.g. vX.Y.Z]
57+
- Operating System: [e.g. MacOSX with Docker Desktop vX.Y]
58+
...
59+
render: bash
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: New Feature Form
2+
description: Suggest a new feature for us to implement
3+
title: "[New Feature]: "
4+
labels: "enhancement"
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
> _Thanks for filing a new feature request. We appreciate your time and effort. Please answer a few questions._
10+
- type: dropdown
11+
id: checked-for-duplicates
12+
attributes:
13+
label: Checked for duplicates
14+
description: Have you checked for duplicate issue tickets?
15+
multiple: false
16+
options:
17+
- "Yes - I've already checked"
18+
- "No - I haven't checked"
19+
validations:
20+
required: yes
21+
- type: dropdown
22+
id: checked-alternatives
23+
attributes:
24+
label: Alternatives considered
25+
description: Have you considered alternative solutions to your feature request?
26+
options:
27+
- "Yes - and alternatives don't suffice"
28+
- "No - I haven't considered"
29+
validations:
30+
required: yes
31+
- type: textarea
32+
id: related-problems
33+
attributes:
34+
label: Related problems
35+
description: Is your feature request related to any problems? Please help us understand if so, including linking to any other issue tickets.
36+
placeholder: Tell us the problems
37+
value: "I'm frustrated when [...] happens as documented in issue-XYZ"
38+
validations:
39+
required: false
40+
- type: textarea
41+
id: description
42+
attributes:
43+
label: Describe the feature request
44+
description: A clear and concise description of your request.
45+
placeholder: Tell us what you want
46+
value: "I need or want [...]"
47+
validations:
48+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Purpose
2+
- Clear, easy-to-understand sentences outlining the purpose of the PR
3+
## Proposed Changes
4+
- [ADD] ...
5+
- [CHANGE] ...
6+
- [FIX] ...
7+
## Issues
8+
- Links to relevant issues
9+
- Example: issue-XYZ
10+
## Testing
11+
- Provide some proof you've tested your changes
12+
- Example: test results available at ...
13+
- Example: tested on operating system ...

0 commit comments

Comments
 (0)