File tree Expand file tree Collapse file tree
apps/editor/src/commands/apply-chat-response-command/utils/preview
packages/ui/src/components/editor/panel
ResponsePreview/components/FileItem Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ const update_response_history = (
5656 }
5757 const file_in_history_index = item_to_update . files . findIndex (
5858 ( f ) =>
59- f . file_path === updated_file . file_path &&
60- f . workspace_name === updated_file . workspace_name
59+ f . file_path == updated_file . file_path &&
60+ f . workspace_name == updated_file . workspace_name
6161 )
6262
6363 if ( file_in_history_index !== - 1 ) {
@@ -694,8 +694,7 @@ export const setup_workspace_listeners = (
694694 const item_to_update = history . find ( ( i ) => i . created_at === created_at )
695695 if ( item_to_update && item_to_update . files ) {
696696 const file_in_history = item_to_update . files . find (
697- ( f ) =>
698- f . file_path === file_path && f . workspace_name === workspace_name
697+ ( f ) => f . file_path == file_path && f . workspace_name == workspace_name
699698 )
700699 if ( file_in_history ) {
701700 file_in_history . is_checked = is_checked
Original file line number Diff line number Diff line change 149149
150150 & --loading {
151151 color : var (--cwc-text-color );
152- background-color : var (--cwc-bg-tertiary );
152+ background-color : var (--cwc-bg-secondary );
153153
154154 .message__actions__item :hover {
155155 background-color : var (--cwc-bg-secondary );
167167 > span :first-child {
168168 font-size : 14px !important ;
169169 margin-right : 4px ;
170- vertical-align : middle ;
170+ vertical-align : sub ;
171171 }
172172 }
173173
Original file line number Diff line number Diff line change 131131 line-height : 1.2 ;
132132
133133 > span :nth-child (2 ) {
134- color : var (--vscode-editorWidget-foreground );
135- opacity : 0.7 ;
134+ color : var (--cwc-text-color-dimmed );
136135 margin-left : 0.5em ;
137136 font-size : 0.9em ;
138137 }
145144 justify-content : space-between ;
146145 padding : 0 12px 0 8px ;
147146 height : 18px ;
148- font-size : 11px ;
149- color : var (--vscode-editorWidget-foreground );
150- opacity : 0.7 ;
147+ font-size : 0.9em ;
148+ color : var (--cwc-text-color-dimmed );
151149
152150 & __status {
153151 overflow : hidden ;
You can’t perform that action at this time.
0 commit comments