@@ -1285,41 +1285,14 @@ export class CopilotRemoteAgentManager extends Disposable {
12851285 }
12861286
12871287 private getIconForSession ( status : vscode . ChatSessionStatus ) : vscode . Uri | vscode . ThemeIcon {
1288- // Use the same icons as webview components for consistency
1289- const themeData = this . repositoriesManager . folderManagers [ 0 ] ?. themeWatcher ?. themeData ;
1290- if ( ! themeData ) {
1291- // Fallback to theme icons if no theme data available
1292- switch ( status ) {
1293- case vscode . ChatSessionStatus . Completed :
1294- return new vscode . ThemeIcon ( 'pass-filled' , new vscode . ThemeColor ( 'testing.iconPassed' ) ) ;
1295- case vscode . ChatSessionStatus . Failed :
1296- return new vscode . ThemeIcon ( 'close' , new vscode . ThemeColor ( 'testing.iconFailed' ) ) ;
1297- default :
1298- return new vscode . ThemeIcon ( 'circle-filled' , new vscode . ThemeColor ( 'list.warningForeground' ) ) ;
1299- }
1300- }
1301-
1302- // Use the same SVG icons as webview components with theme-appropriate colors
1303- const isDark = vscode . window . activeColorTheme . kind === vscode . ColorThemeKind . Dark ||
1304- vscode . window . activeColorTheme . kind === vscode . ColorThemeKind . HighContrast ;
1305- const themeKind = isDark ? 'dark' : 'light' ;
1306-
1288+ // Fallback to theme icons if no theme data available
13071289 switch ( status ) {
13081290 case vscode . ChatSessionStatus . Completed :
1309- return DataUri . copilotSuccessAsImageDataURI (
1310- getIconForeground ( themeData , themeKind ) ,
1311- getNotebookStatusSuccessIconForeground ( themeData , themeKind )
1312- ) ;
1291+ return new vscode . ThemeIcon ( 'issues' , new vscode . ThemeColor ( 'testing.iconPassed' ) ) ;
13131292 case vscode . ChatSessionStatus . Failed :
1314- return DataUri . copilotErrorAsImageDataURI (
1315- getIconForeground ( themeData , themeKind ) ,
1316- getListErrorForeground ( themeData , themeKind )
1317- ) ;
1293+ return new vscode . ThemeIcon ( 'error' , new vscode . ThemeColor ( 'testing.iconFailed' ) ) ;
13181294 default :
1319- return DataUri . copilotInProgressAsImageDataURI (
1320- getIconForeground ( themeData , themeKind ) ,
1321- getListWarningForeground ( themeData , themeKind )
1322- ) ;
1295+ return new vscode . ThemeIcon ( 'issue-reopened' , new vscode . ThemeColor ( 'editorLink.activeForeground' ) ) ;
13231296 }
13241297 }
13251298
0 commit comments