Skip to content

Commit 00f8a8e

Browse files
authored
Make existing issue templates specific to transform (#342)
1 parent 9a405ed commit 00f8a8e

File tree

2 files changed

+30
-20
lines changed

2 files changed

+30
-20
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml renamed to .github/ISSUE_TEMPLATE/bug_report_transform.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Bug Report
1+
name: Bug Report (transform)
22
description: Create a report to help us improve
33
title: "[Bug?]: "
44
labels: ["bug", "triage"]
@@ -12,16 +12,6 @@ body:
1212
options:
1313
- label: "I'd be willing to implement a fix"
1414

15-
- type: textarea
16-
attributes:
17-
label: Describe the bug
18-
description: |
19-
A clear and concise description of what the bug is. A bug is **unintended**. A feature not being implemented is **not a bug**.
20-
placeholder: |
21-
eg: Running transform "transformName" on the provided input causes it to crash.
22-
validations:
23-
required: true
24-
2515
- type: dropdown
2616
id: template-name
2717
attributes:
@@ -33,6 +23,16 @@ body:
3323
validations:
3424
required: true
3525

26+
- type: textarea
27+
attributes:
28+
label: Describe the bug
29+
description: |
30+
A clear and concise description of what the bug is. A bug is **unintended**. A feature not being implemented is **not a bug**.
31+
placeholder: |
32+
eg: Running transform "transformName" on the provided input causes it to crash.
33+
validations:
34+
required: true
35+
3636
- type: textarea
3737
attributes:
3838
label: Input code
@@ -62,7 +62,6 @@ body:
6262
label: Expected output
6363
description: Thw output file you expected to see.
6464
placeholder: |
65-
### Expected Output
6665
```ts
6766
import { DynamoDB } from "@aws-sdk/client-dynamodb";
6867
@@ -80,13 +79,13 @@ body:
8079
description: |
8180
Run `aws-sdk-js-codemod --version` and paste the result into the form
8281
placeholder: |
83-
aws-sdk-js-codemod: 0.1.0
82+
aws-sdk-js-codemod: 0.10.2
8483
85-
jscodeshift: 0.13.1
86-
- babel: 7.17.5
87-
- babylon: 7.17.3
88-
- flow: 0.172.0
89-
- recast: 0.20.5
84+
jscodeshift: 0.14.0
85+
- babel: 7.20.12
86+
- babylon: 7.20.7
87+
- flow: 0.196.3
88+
- recast: 0.21.5
9089
validations:
9190
required: true
9291

.github/ISSUE_TEMPLATE/feature_request.yml renamed to .github/ISSUE_TEMPLATE/feature_request_transform.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: Feature Request
1+
name: Feature Request (transform)
22
description: These issues are for **concrete and actionable proposals**. If you just have
3-
a general problem that you would like to brainstorm, open a Discussion instead.
3+
a general problem that you would like to brainstorm, open a generic feature request.
44
title: "[Feature]: "
55
labels: ["enhancement"]
66

@@ -13,6 +13,17 @@ body:
1313
options:
1414
- label: "I'd be willing to implement this feature"
1515

16+
- type: dropdown
17+
id: template-name
18+
attributes:
19+
label: Template name
20+
description: Which template are you adding this feature request for?
21+
options:
22+
- v2-to-v3
23+
- N/A (described above)
24+
validations:
25+
required: true
26+
1627
- type: textarea
1728
attributes:
1829
label: Input code

0 commit comments

Comments
 (0)