@@ -4,6 +4,7 @@ import { VSCodeBadge } from "@vscode/webview-ui-toolkit/react"
44
55import { ContextCondense } from "@roo/schemas"
66import { Markdown } from "./Markdown"
7+ import { ProgressIndicator } from "./ProgressIndicator"
78
89export const ContextCondenseRow = ( { cost, prevContextTokens, newContextTokens, summary } : ContextCondense ) => {
910 const { t } = useTranslation ( )
@@ -14,6 +15,19 @@ export const ContextCondenseRow = ({ cost, prevContextTokens, newContextTokens,
1415 < div
1516 className = "flex items-center justify-between cursor-pointer select-none"
1617 onClick = { ( ) => setIsExpanded ( ! isExpanded ) } >
18+ < div
19+ style = { {
20+ width : 16 ,
21+ height : 16 ,
22+ display : "flex" ,
23+ alignItems : "center" ,
24+ justifyContent : "center" ,
25+ } } >
26+ < span
27+ className = { `codicon codicon-check` }
28+ style = { { color : "var(--vscode-charts-green)" , fontSize : 16 , marginBottom : "-1.5px" } }
29+ />
30+ </ div >
1731 < div className = "flex items-center gap-2 flex-grow" >
1832 < span className = "codicon codicon-compress text-blue-400" />
1933 < span className = "font-bold text-vscode-foreground" > { t ( "chat:contextCondense.title" ) } </ span >
@@ -33,3 +47,14 @@ export const ContextCondenseRow = ({ cost, prevContextTokens, newContextTokens,
3347 </ div >
3448 )
3549}
50+
51+ export const CondensingContextRow = ( ) => {
52+ const { t } = useTranslation ( )
53+ return (
54+ < div className = "flex items-center gap-2" >
55+ < ProgressIndicator />
56+ < span className = "codicon codicon-compress text-blue-400" />
57+ < span className = "font-bold text-vscode-foreground" > { t ( "chat:contextCondense.condensing" ) } </ span >
58+ </ div >
59+ )
60+ }
0 commit comments