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 {
394
394
if ( answer . header ) {
395
395
answer . header . status = {
396
396
icon : 'cancel' as MynahIconsType ,
397
- text : 'Rejected ' ,
397
+ text : 'Change discarded ' ,
398
398
status : 'error' ,
399
399
}
400
400
answer . header . buttons = [ ]
Original file line number Diff line number Diff line change @@ -53,8 +53,6 @@ import {
53
53
MynahIconsType ,
54
54
DetailedList ,
55
55
MynahUIDataModel ,
56
- MynahIcons ,
57
- Status ,
58
56
} from '@aws/mynah-ui'
59
57
import { Database } from '../../../../shared/db/chatDb/chatDb'
60
58
import { TabType } from '../../../../amazonq/webview/ui/storages/tabsStorage'
@@ -810,25 +808,12 @@ export class Messenger {
810
808
{
811
809
id : 'reject-code-diff' ,
812
810
status : 'clear' ,
813
- icon : 'cancel' as MynahIconsType ,
811
+ icon : 'revert' as MynahIconsType ,
812
+ text : 'Undo' ,
814
813
} ,
815
814
]
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
- }
829
815
header = {
830
816
buttons,
831
- ...status ,
832
817
fileList,
833
818
}
834
819
} else if ( toolUse ?. name === ToolType . ListDirectory || toolUse ?. name === ToolType . FsRead ) {
You can’t perform that action at this time.
0 commit comments