Skip to content

Commit 5825d42

Browse files
fix(chat): add the boarder for the file and line up the undo icon (aws#7068)
## Problem ## Solution ![image](https://github.com/user-attachments/assets/a7fde94a-153b-4ae4-aba0-fa9e062259f7) Add the boarder and background --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 68275cb commit 5825d42

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
"@aws-sdk/s3-request-presigner": "<3.731.0",
526526
"@aws-sdk/smithy-client": "<3.731.0",
527527
"@aws-sdk/util-arn-parser": "<3.731.0",
528-
"@aws/mynah-ui": "^4.31.0-beta.3",
528+
"@aws/mynah-ui": "^4.31.0-beta.5",
529529
"@gerhobbelt/gitignore-parser": "^0.2.0-9",
530530
"@iarna/toml": "^2.2.5",
531531
"@smithy/fetch-http-handler": "^5.0.1",

packages/core/src/codewhispererChat/controllers/chat/messenger/messenger.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ export class Messenger {
816816
{
817817
id: 'reject-code-diff',
818818
status: 'clear',
819-
icon: 'revert' as MynahIconsType,
819+
icon: 'undo' as MynahIconsType,
820820
text: 'Undo',
821821
},
822822
]
@@ -860,7 +860,7 @@ export class Messenger {
860860
new ChatMessage(
861861
{
862862
message: message,
863-
messageType: 'answer-part',
863+
messageType: toolUse?.name === ToolType.FsWrite ? 'answer' : 'answer-part',
864864
followUps: undefined,
865865
followUpsHeader: undefined,
866866
relatedSuggestions: undefined,

0 commit comments

Comments
 (0)