@@ -4,7 +4,6 @@ import * as Rdom from 'react-dom';
44import { ThemeProvider } from '@primer/react' ;
55import { ToRemoteQueriesMessage } from '../../pure/interface-types' ;
66import { AnalysisSummary , RemoteQueryResult } from '../shared/remote-query-result' ;
7- import * as octicons from '../../view/octicons' ;
87
98import { vscode } from '../../view/vscode-api' ;
109
@@ -17,7 +16,7 @@ import DownloadButton from './DownloadButton';
1716import { AnalysisResults } from '../shared/analysis-result' ;
1817import DownloadSpinner from './DownloadSpinner' ;
1918import CollapsibleItem from './CollapsibleItem' ;
20- import { FileSymlinkFileIcon } from '@primer/octicons-react' ;
19+ import { CodeSquareIcon , FileIcon , FileSymlinkFileIcon , RepoIcon } from '@primer/octicons-react' ;
2120
2221const numOfReposInContractedMode = 10 ;
2322
@@ -78,12 +77,14 @@ const QueryInfo = (queryResult: RemoteQueryResult) => (
7877 { queryResult . totalResultCount } results from running against { queryResult . totalRepositoryCount } repositories
7978 ({ queryResult . executionDuration } ), { queryResult . executionTimestamp }
8079 < VerticalSpace size = { 1 } />
81- < span className = "vscode-codeql__query-file" > { octicons . file }
80+ < span className = "vscode-codeql__query-file" >
81+ < FileIcon size = { 16 } />
8282 < a className = "vscode-codeql__query-file-link" href = "#" onClick = { ( ) => openQueryFile ( queryResult ) } >
8383 { queryResult . queryFileName }
8484 </ a >
8585 </ span >
86- < span > { octicons . codeSquare }
86+ < span >
87+ < CodeSquareIcon size = { 16 } />
8788 < a className = "vscode-codeql__query-file-link" href = "#" onClick = { ( ) => openQueryTextVirtualFile ( queryResult ) } >
8889 query
8990 </ a >
@@ -155,7 +156,7 @@ const SummaryItem = ({
155156 analysisResults : AnalysisResults | undefined
156157} ) => (
157158 < span >
158- < span className = "vscode-codeql__analysis-item" > { octicons . repo } </ span >
159+ < span className = "vscode-codeql__analysis-item" > < RepoIcon size = { 16 } /> </ span >
159160 < span className = "vscode-codeql__analysis-item" > { analysisSummary . nwo } </ span >
160161 < span className = "vscode-codeql__analysis-item" > < Badge text = { analysisSummary . resultCount . toString ( ) } /> </ span >
161162 < span className = "vscode-codeql__analysis-item" >
0 commit comments