File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
webview-ui/src/components/chat Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -273,6 +273,12 @@ export type CheckpointDiffOptions = {
273273 ts ?: number
274274 previousCommitHash ?: string
275275 commitHash : string
276+ /**
277+ * from-init: Compare from the first checkpoint to the selected checkpoint.
278+ * checkpoint: Compare the selected checkpoint to the next checkpoint.
279+ * to-current: Compare the selected checkpoint to the current workspace.
280+ * full: Compare from the first checkpoint to the current workspace.
281+ */
276282 mode : "from-init" | "checkpoint" | "to-current" | "full"
277283}
278284
Original file line number Diff line number Diff line change @@ -974,7 +974,7 @@ export const ChatRowContent = ({
974974 const viewFullDiffBtn =
975975 hasCheckpoint && isLast && ! isStreaming ? (
976976 < div style = { { marginTop : 16 , display : "flex" , justifyContent : "flex-start" } } >
977- < StandardTooltip content = { t ( "chat:showChangesFromInit " ) } >
977+ < StandardTooltip content = { t ( "chat:checkpoint.menu.viewDiffFromInit " ) } >
978978 < VSCodeButton
979979 appearance = "primary"
980980 className = "flex-1 mr-[6px]"
You can’t perform that action at this time.
0 commit comments