File tree Expand file tree Collapse file tree
packages/ui/src/components/editor/panel/ResponsePreview Expand file tree Collapse file tree Original file line number Diff line number Diff line change 110110 flex-direction : column ;
111111 gap : 8px ;
112112 margin : 0 12px ;
113- padding : 10 px 12 px ;
113+ padding : 6 px 8 px 8 px 8 px ;
114114 border-radius : 6px ;
115115 background : var (--cwc-bg-tertiary );
116116
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export const ResponsePreview: FC<Props> = (props) => {
131131 const progress = file . apply_progress ?? 0
132132 const tps = file . apply_tokens_per_second
133133 let text = `${ progress } %`
134- if ( tps ) text += ` (${ tps } t /s)`
134+ if ( tps ) text += ` (${ tps } tokens /s)`
135135 return text
136136 }
137137 if ( file . apply_status == 'done' ) return 'Done'
Original file line number Diff line number Diff line change @@ -68,14 +68,13 @@ export const FileItem: FC<Props> = (props) => {
6868 const progress = props . file . apply_progress ?? 0
6969 const tps = props . file . apply_tokens_per_second
7070 status_text = `${ progress } %`
71- if ( tps ) status_text += ` (${ tps } t /s)`
71+ if ( tps ) status_text += ` (${ tps } tokens /s)`
7272 } else if ( props . file . apply_status == 'done' ) status_text = 'Done'
7373
7474 return (
7575 < div className = { styles . progress } >
7676 < span > { status_text } </ span >
77- < span className = "codicon codicon-loading codicon-modifier-spin" />
78- { props . file . apply_status !== 'done' && (
77+ { props . file . apply_status != 'done' && (
7978 < div
8079 className = { styles . progress__cancel }
8180 onClick = { ( e ) => {
@@ -137,7 +136,7 @@ export const FileItem: FC<Props> = (props) => {
137136 < div className = { styles [ 'file__actions' ] } >
138137 { props . file . content !== undefined &&
139138 props . file . proposed_content !== undefined &&
140- props . file . content !== props . file . proposed_content && (
139+ props . file . content != props . file . proposed_content && (
141140 < IconButton
142141 codicon_icon = "discard"
143142 title = "Discard user changes"
You can’t perform that action at this time.
0 commit comments