File tree Expand file tree Collapse file tree 2 files changed +3
-18
lines changed
codewhispererChat/controllers/chat/messenger Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ export class Connector extends BaseConnector {
394394 if ( answer . header ) {
395395 answer . header . status = {
396396 icon : 'cancel' as MynahIconsType ,
397- text : 'Rejected ' ,
397+ text : 'Change discarded ' ,
398398 status : 'error' ,
399399 }
400400 answer . header . buttons = [ ]
Original file line number Diff line number Diff line change @@ -53,8 +53,6 @@ import {
5353 MynahIconsType ,
5454 DetailedList ,
5555 MynahUIDataModel ,
56- MynahIcons ,
57- Status ,
5856} from '@aws/mynah-ui'
5957import { Database } from '../../../../shared/db/chatDb/chatDb'
6058import { TabType } from '../../../../amazonq/webview/ui/storages/tabsStorage'
@@ -810,25 +808,12 @@ export class Messenger {
810808 {
811809 id : 'reject-code-diff' ,
812810 status : 'clear' ,
813- icon : 'cancel' as MynahIconsType ,
811+ icon : 'revert' as MynahIconsType ,
812+ text : 'Undo' ,
814813 } ,
815814 ]
816- const status : {
817- icon ?: MynahIcons | MynahIconsType
818- status ?: {
819- status ?: Status
820- icon ?: MynahIcons | MynahIconsType
821- text ?: string
822- }
823- } = {
824- status : {
825- text : 'Accepted' ,
826- status : 'success' ,
827- } ,
828- }
829815 header = {
830816 buttons,
831- ...status ,
832817 fileList,
833818 }
834819 } else if ( toolUse ?. name === ToolType . ListDirectory || toolUse ?. name === ToolType . FsRead ) {
You can’t perform that action at this time.
0 commit comments