Skip to content

Commit 8424303

Browse files
BlakeLazarineblakelaz-amazonmanodnyablaileni-aws
authored
fix(amazonq): handle displayFindings output properly, remove /review language (#6049)
* fix(amazonq): handle displayFindings output properly, remove /review language * Update .changes/next-release/bugfix-f071cf54-2c8d-4504-9326-6bce9619cee6.json Co-authored-by: manodnyab <[email protected]> * Delete .changes/next-release/bugfix-629f7494-5072-401f-bb18-b16e7a79ddac.json * fix(amazonq): improve changelog message --------- Co-authored-by: Blake Lazarine <[email protected]> Co-authored-by: manodnyab <[email protected]> Co-authored-by: Laxman Reddy <[email protected]>
1 parent e4ce124 commit 8424303

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "DisplayFindings tool findings were not being populated in the display panel, instead sending json to chat"
4+
}

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/FlareAdditionalFindings.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ data class FlareCodeScanIssue(
4949
val language: String,
5050
val autoDetected: Boolean,
5151
val filePath: String,
52-
val findingContext: String,
52+
val findingContext: String?,
5353
)
5454

5555
data class AggregatedCodeScanIssue(

plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ codewhisperer.codescan.regenerate_fix_button_label=Regenerate Fix
910910
codewhisperer.codescan.run_scan_complete=<html><body> Code Review completed for {0, choice, 1#1 file|2#{0,number} files}. {1, choice, 0#No issues|1#1 issue|2#{1,number} issues} found in {2}. <font color="{3}"> Last Run {4} </font></body></html>
911911
codewhisperer.codescan.run_scan_error=Amazon Q encountered an error while reviewing for code issues. Please try again later.
912912
codewhisperer.codescan.run_scan_error_telemetry=Code Review failed.
913-
codewhisperer.codescan.run_scan_info=Enter /review in Amazon Q Chat Panel to run code reviews.
913+
codewhisperer.codescan.run_scan_info=Ask the agent in Amazon Q Chat Panel to run code reviews.
914914
codewhisperer.codescan.scan_complete_count=- {0}: `{1, choice, 1#{1,number} issue|2#{1,number} issues}`
915915
codewhisperer.codescan.scan_complete_file=Reviewing your File is complete. Here's what I found:
916916
codewhisperer.codescan.scan_complete_project=Reviewing your Project is complete. Here's what I found:

0 commit comments

Comments
 (0)