Skip to content

Commit 591e590

Browse files
CHANGE (Issue Templates) @W-15794148@ Another update to issue templates after further review (#1474)
1 parent 7174dcf commit 591e590

File tree

4 files changed

+37
-6
lines changed

4 files changed

+37
-6
lines changed

.github/ISSUE_TEMPLATE/0-scanner_run_bug.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ body:
3535
attributes:
3636
label: Output / Logs
3737
description: Attach any output or logs here
38-
render: shell
38+
placeholder: |
39+
Add log output here or drag files here.
3940
- type: textarea
4041
attributes:
4142
label: Steps To Reproduce
@@ -50,6 +51,8 @@ body:
5051
attributes:
5152
label: Expected Behavior
5253
description: Provide a clear and concise description of what you expected to happen.
54+
validations:
55+
required: true
5356
- type: input
5457
attributes:
5558
label: Operating System

.github/ISSUE_TEMPLATE/1-scanner_run_dfa_bug.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ body:
3939
attributes:
4040
label: Output / Logs
4141
description: Attach any output or logs here. The log for the Salesforce Graph Engine can be found in `~/.sfdx-scanner/sfge.log`. If the error message mentions a specific graph vertex, check its DefiningType and BeginLine properties and include the code at that line.
42-
render: shell
42+
placeholder: |
43+
Add log output here or drag files here.
4344
- type: textarea
4445
attributes:
4546
label: Steps To Reproduce
@@ -54,6 +55,8 @@ body:
5455
attributes:
5556
label: Expected Behavior
5657
description: Provide a clear and concise description of what you expected to happen.
58+
validations:
59+
required: true
5760
- type: input
5861
attributes:
5962
label: Operating System

.github/ISSUE_TEMPLATE/2-scanner_run_false_result.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@ description: Report false results in scanner run scan reports. If you're submitt
33
title: "[False Result] <YOUR_TITLE_HERE>"
44
labels: []
55
body:
6+
- type: dropdown
7+
attributes:
8+
label: Have you verified this is Salesforce Code Analyzer specific?
9+
description: |
10+
Oftentimes, a rule is not directly owned by Salesforce Code Analyzer but instead owned by the underlying tool associated with the rule (like PMD or eslint for example). Before reporting this issue, please check to see if running the corresponding tool separate from Salesforce Code Analyzer also gives you a false positive. If so, then please create an issue with that corresponding tool instead of here. Otherwise, create your issue here.
11+
12+
**I have verified that the issue is only reproducible when running through Salesforce Code Analyzer.**
13+
<sup>(You must select "Yes" to create an issue.)</sup>
14+
options:
15+
- ''
16+
- "Yes"
17+
validations:
18+
required: true
619
- type: textarea
720
attributes:
821
label: Description
@@ -13,7 +26,8 @@ body:
1326
attributes:
1427
label: Output / Logs
1528
description: Attach any output or logs here
16-
render: shell
29+
placeholder: |
30+
Add log output here or drag files here.
1731
- type: textarea
1832
attributes:
1933
label: Steps To Reproduce
@@ -27,7 +41,12 @@ body:
2741
- type: textarea
2842
attributes:
2943
label: Expected Behavior
30-
description: Provide a clear and concise description of what you expected to happen.
44+
description: Provide a clear and concise description of why you believe this is a false result.
45+
placeholder: |
46+
I expected the result to be ...
47+
I believe the provide result is wrong because ...
48+
validations:
49+
required: true
3150
- type: input
3251
attributes:
3352
label: Operating System

.github/ISSUE_TEMPLATE/3-scanner_run_dfa_false_result.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ body:
1313
attributes:
1414
label: Output / Logs
1515
description: Attach any output or logs here. The log for the Salesforce Graph Engine can be found in `~/.sfdx-scanner/sfge.log`. If the error message mentions a specific graph vertex, check its DefiningType and BeginLine properties and include the code at that line.
16-
render: shell
16+
placeholder: |
17+
Add log output here or drag files here.
1718
- type: textarea
1819
attributes:
1920
label: Steps To Reproduce
@@ -27,7 +28,12 @@ body:
2728
- type: textarea
2829
attributes:
2930
label: Expected Behavior
30-
description: Provide a clear and concise description of what you expected to happen.
31+
description: Provide a clear and concise description of why you believe this is a false result.
32+
placeholder: |
33+
I expected the result to be ...
34+
I believe the provide result is wrong because ...
35+
validations:
36+
required: true
3137
- type: input
3238
attributes:
3339
label: Operating System

0 commit comments

Comments
 (0)