Skip to content

Commit 4c002e5

Browse files
authored
chore: revisited issue & PR templates (#1336)
1 parent 179fc27 commit 4c002e5

File tree

6 files changed

+47
-25
lines changed

6 files changed

+47
-25
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,31 @@ body:
2828
attributes:
2929
label: Code snippet
3030
description: Please share a code snippet to help us reproduce the issue
31-
render: JavaScript
31+
placeholder: |
32+
```typescript
33+
some code here
34+
```
3235
validations:
3336
required: true
34-
- type: textarea
35-
id: solution
36-
attributes:
37-
label: Possible Solution
38-
description: If known, please suggest a potential resolution
39-
validations:
40-
required: false
4137
- type: textarea
4238
id: steps
4339
attributes:
4440
label: Steps to Reproduce
4541
description: Please share how we might be able to reproduce this issue
42+
placeholder: |
43+
1. In this environment...
44+
2. With this config...
45+
3. Run '...'
46+
4. See error...
4647
validations:
4748
required: true
49+
- type: textarea
50+
id: solution
51+
attributes:
52+
label: Possible Solution
53+
description: If known, please suggest a potential resolution
54+
validations:
55+
required: false
4856
- type: input
4957
id: version
5058
attributes:
@@ -69,7 +77,7 @@ body:
6977
label: Packaging format used
7078
options:
7179
- Lambda Layers
72-
- Npm
80+
- npm
7381
multiple: true
7482
validations:
7583
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
44
url: https://github.com/awslabs/aws-lambda-powertools-typescript/discussions/new
5-
about: Ask a general question about Lambda Powertools
5+
about: Ask a general question about Lambda Powertools
6+
- name: Join Community Discord Server
7+
url: https://discord.gg/B8zZKbbyET
8+
about: "Check out the #typescript channel"

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ body:
77
attributes:
88
value: |
99
Thank you for taking the time to suggest an idea to the Lambda Powertools project.
10-
11-
*Future readers*: Please react with 👍 and your use case to help us understand customer demand.
1210
- type: textarea
1311
id: problem
1412
attributes:
@@ -38,11 +36,17 @@ body:
3836
options:
3937
- label: This feature request meets [Lambda Powertools Tenets](https://awslabs.github.io/aws-lambda-powertools-typescript/latest/#tenets)
4038
required: true
41-
- label: Should this be considered in other Lambda Powertools languages? i.e. [Python](https://github.com/awslabs/aws-lambda-powertools-python/), [Java](https://github.com/awslabs/aws-lambda-powertools-java/)
39+
- label: Should this be considered in other Lambda Powertools languages? i.e. [Python](https://github.com/awslabs/aws-lambda-powertools-python/), [Java](https://github.com/awslabs/aws-lambda-powertools-java/), and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet/)
4240
required: false
4341
- type: markdown
4442
attributes:
4543
value: |
4644
---
4745
48-
**Disclaimer**: After creating an issue, please wait until it is triaged and confirmed by a maintainer before implementing it. This will reduce amount of rework and the chance that a pull request gets rejected.
46+
**Disclaimer**: After creating an issue, please wait until it is triaged and confirmed by a maintainer before implementing it. This will reduce amount of rework and the chance that a pull request gets rejected.
47+
- type: input
48+
id: notes
49+
attributes:
50+
label: Future readers
51+
description: Please not edit this field
52+
value: "Please react with 👍 and your use case to help us understand customer demand."

.github/ISSUE_TEMPLATE/maintenance.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ body:
77
attributes:
88
value: |
99
Thank you for taking the time to help us improve this project.
10-
11-
*Future readers*: Please react with 👍 and your use case to help us understand customer demand.
1210
- type: textarea
1311
id: activity
1412
attributes:
@@ -52,11 +50,17 @@ body:
5250
options:
5351
- label: This request meets [Lambda Powertools Tenets](https://awslabs.github.io/aws-lambda-powertools-typescript/latest/#tenets)
5452
required: true
55-
- label: Should this be considered in other Lambda Powertools languages? i.e. [Python](https://github.com/awslabs/aws-lambda-powertools-python/), [Java](https://github.com/awslabs/aws-lambda-powertools-java/)
53+
- label: Should this be considered in other Lambda Powertools languages? i.e. [Python](https://github.com/awslabs/aws-lambda-powertools-python/), [Java](https://github.com/awslabs/aws-lambda-powertools-java/), and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet/)
5654
required: false
5755
- type: markdown
5856
attributes:
5957
value: |
6058
---
6159
62-
**Disclaimer**: After creating an issue, please wait until it is triaged and confirmed by a maintainer before implementing it. This will reduce amount of rework and the chance that a pull request gets rejected.
60+
**Disclaimer**: After creating an issue, please wait until it is triaged and confirmed by a maintainer before implementing it. This will reduce amount of rework and the chance that a pull request gets rejected.
61+
- type: input
62+
id: notes
63+
attributes:
64+
label: Future readers
65+
description: Please not edit this field
66+
value: "Please react with 👍 and your use case to help us understand customer demand."

.github/ISSUE_TEMPLATE/rfc.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ body:
8383
options:
8484
- label: This feature request meets [Lambda Powertools Tenets](https://awslabs.github.io/aws-lambda-powertools-typescript/latest/#tenets)
8585
required: true
86-
- label: Should this be considered in other Lambda Powertools languages? i.e. [Python](https://github.com/awslabs/aws-lambda-powertools-python/), [Java](https://github.com/awslabs/aws-lambda-powertools-java/)
86+
- label: Should this be considered in other Lambda Powertools languages? i.e. [Python](https://github.com/awslabs/aws-lambda-powertools-python/), [Java](https://github.com/awslabs/aws-lambda-powertools-java/), and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet/)
8787
required: false
8888
- type: markdown
8989
attributes:
@@ -96,4 +96,10 @@ body:
9696
9797
* RFC PR:
9898
* Approved by: ''
99-
* Reviewed by: ''
99+
* Reviewed by: ''
100+
- type: input
101+
id: notes
102+
attributes:
103+
label: Future readers
104+
description: Please not edit this field
105+
value: "Please react with 👍 and your use case to help us understand customer demand."

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@
2525
<!--- If no issue is present the PR might get blocked and not be reviewed. -->
2626
**Issue number:**
2727

28-
### PR status
29-
30-
***Is this ready for review?:*** NO
31-
***Is it a breaking change?:*** NO
32-
3328
## Checklist
3429

3530
- [ ] [My changes meet the tenets criteria](https://awslabs.github.io/aws-lambda-powertools-typescript/#tenets)
@@ -46,6 +41,8 @@
4641

4742
### Breaking change checklist
4843

44+
***Is it a breaking change?:*** NO
45+
4946
- [ ] I have documented the migration process
5047
- [ ] I have added, implemented necessary warnings (if it can live side by side)
5148

0 commit comments

Comments
 (0)