@@ -68,7 +68,7 @@ import {
6868} from './helpers' ;
6969import { asError , assertNever , getErrorMessage } from './pure/helpers-pure' ;
7070import { spawnIdeServer } from './ide-server' ;
71- import { InterfaceManager } from './interface' ;
71+ import { ResultsView } from './interface' ;
7272import { WebviewReveal } from './interface-utils' ;
7373import { ideServerLogger , logger , queryServerLogger } from './logging' ;
7474import { QueryHistoryManager } from './query-history' ;
@@ -78,7 +78,7 @@ import { displayQuickQuery } from './quick-query';
7878import { compileAndRunQueryAgainstDatabase , createInitialQueryInfo } from './run-queries' ;
7979import { QLTestAdapterFactory } from './test-adapter' ;
8080import { TestUIService } from './test-ui' ;
81- import { CompareInterfaceManager } from './compare/compare-interface ' ;
81+ import { CompareView } from './compare/compare-view ' ;
8282import { gatherQlFiles } from './pure/files' ;
8383import { initializeTelemetry } from './telemetry' ;
8484import {
@@ -102,7 +102,7 @@ import { EvalLogViewer } from './eval-log-viewer';
102102import { SummaryLanguageSupport } from './log-insights/summary-language-support' ;
103103import { JoinOrderScannerProvider } from './log-insights/join-order' ;
104104import { LogScannerService } from './log-insights/log-scanner-service' ;
105- import { VariantAnalysisInterfaceManager } from './remote-queries/variant-analysis-interface ' ;
105+ import { VariantAnalysisView } from './remote-queries/variant-analysis-view ' ;
106106
107107/**
108108 * extension.ts
@@ -461,8 +461,8 @@ async function activateWithInstalledDistribution(
461461 const labelProvider = new HistoryItemLabelProvider ( queryHistoryConfigurationListener ) ;
462462
463463 void logger . log ( 'Initializing results panel interface.' ) ;
464- const intm = new InterfaceManager ( ctx , dbm , cliServer , queryServerLogger , labelProvider ) ;
465- ctx . subscriptions . push ( intm ) ;
464+ const localQueryResultsView = new ResultsView ( ctx , dbm , cliServer , queryServerLogger , labelProvider ) ;
465+ ctx . subscriptions . push ( localQueryResultsView ) ;
466466
467467 void logger . log ( 'Initializing variant analysis manager.' ) ;
468468 const rqm = new RemoteQueriesManager ( ctx , cliServer , queryStorageDir , logger ) ;
@@ -472,7 +472,7 @@ async function activateWithInstalledDistribution(
472472 const qhm = new QueryHistoryManager (
473473 qs ,
474474 dbm ,
475- intm ,
475+ localQueryResultsView ,
476476 rqm ,
477477 evalLogViewer ,
478478 queryStorageDir ,
@@ -494,16 +494,16 @@ async function activateWithInstalledDistribution(
494494 void logger . log ( 'Reading query history' ) ;
495495 await qhm . readQueryHistory ( ) ;
496496
497- void logger . log ( 'Initializing compare panel interface .' ) ;
498- const cmpm = new CompareInterfaceManager (
497+ void logger . log ( 'Initializing compare view .' ) ;
498+ const compareView = new CompareView (
499499 ctx ,
500500 dbm ,
501501 cliServer ,
502502 queryServerLogger ,
503503 labelProvider ,
504504 showResults
505505 ) ;
506- ctx . subscriptions . push ( cmpm ) ;
506+ ctx . subscriptions . push ( compareView ) ;
507507
508508 void logger . log ( 'Initializing source archive filesystem provider.' ) ;
509509 archiveFilesystemProvider . activate ( ctx ) ;
@@ -513,7 +513,7 @@ async function activateWithInstalledDistribution(
513513 to : CompletedLocalQueryInfo
514514 ) : Promise < void > {
515515 try {
516- await cmpm . showResults ( from , to ) ;
516+ await compareView . showResults ( from , to ) ;
517517 } catch ( e ) {
518518 void showAndLogErrorMessage ( getErrorMessage ( e ) ) ;
519519 }
@@ -523,7 +523,7 @@ async function activateWithInstalledDistribution(
523523 query : CompletedLocalQueryInfo ,
524524 forceReveal : WebviewReveal
525525 ) : Promise < void > {
526- await intm . showResults ( query , forceReveal , false ) ;
526+ await localQueryResultsView . showResults ( query , forceReveal , false ) ;
527527 }
528528
529529 async function compileAndRunQuery (
@@ -922,7 +922,7 @@ async function activateWithInstalledDistribution(
922922
923923 ctx . subscriptions . push (
924924 commandRunner ( 'codeQL.mockVariantAnalysisView' , async ( ) => {
925- const variantAnalysisView = new VariantAnalysisInterfaceManager ( ctx ) ;
925+ const variantAnalysisView = new VariantAnalysisView ( ctx ) ;
926926 variantAnalysisView . openView ( ) ;
927927 } )
928928 ) ;
0 commit comments