@@ -16,7 +16,7 @@ import { findMatchingResourceOrTemplate } from "@src/utils/mcp"
1616import { vscode } from "@src/utils/vscode"
1717import { removeLeadingNonAlphanumeric } from "@src/utils/removeLeadingNonAlphanumeric"
1818import { getLanguageFromPath } from "@src/utils/getLanguageFromPath"
19- import { Button , StandardTooltip } from "@src/components/ui"
19+ import { Button } from "@src/components/ui"
2020
2121import { ToolUseBlock , ToolUseBlockHeader } from "../common/ToolUseBlock"
2222import UpdateTodoListToolBlock from "./UpdateTodoListToolBlock"
@@ -129,7 +129,6 @@ export const ChatRowContent = ({
129129 onBatchFileResponse,
130130 isFollowUpAnswered,
131131 editable,
132- hasCheckpoint,
133132} : ChatRowContentProps ) => {
134133 const { t } = useTranslation ( )
135134
@@ -971,25 +970,6 @@ export const ChatRowContent = ({
971970 }
972971 }
973972
974- const viewFullDiffBtn =
975- hasCheckpoint && isLast && ! isStreaming ? (
976- < div style = { { marginTop : 16 , display : "flex" , justifyContent : "flex-start" } } >
977- < StandardTooltip content = { t ( "chat:checkpoint.menu.viewDiffFromInit" ) } >
978- < VSCodeButton
979- appearance = "primary"
980- className = "flex-1 mr-[6px]"
981- onClick = { ( ) =>
982- vscode . postMessage ( {
983- type : "checkpointDiff" ,
984- payload : { mode : "full" , commitHash : "" } ,
985- } )
986- } >
987- { t ( "chat:checkpoint.menu.viewDiffFromInit" ) }
988- </ VSCodeButton >
989- </ StandardTooltip >
990- </ div >
991- ) : null
992-
993973 switch ( message . type ) {
994974 case "say" :
995975 switch ( message . say ) {
@@ -1223,7 +1203,6 @@ export const ChatRowContent = ({
12231203 </ div >
12241204 < div className = "border-l border-green-600/30 ml-2 pl-4 pb-1" >
12251205 < Markdown markdown = { message . text } />
1226- { viewFullDiffBtn }
12271206 </ div >
12281207 </ >
12291208 )
@@ -1464,7 +1443,6 @@ export const ChatRowContent = ({
14641443 </ div >
14651444 < div style = { { color : "var(--vscode-charts-green)" , paddingTop : 10 } } >
14661445 < Markdown markdown = { message . text } partial = { message . partial } />
1467- { viewFullDiffBtn }
14681446 </ div >
14691447 </ div >
14701448 )
0 commit comments