@@ -476,7 +476,7 @@ export const NO_CACHE_AST_VIEWER = new Setting(
476476) ;
477477
478478// Settings for variant analysis
479- const REMOTE_QUERIES_SETTING = new Setting ( "variantAnalysis" , ROOT_SETTING ) ;
479+ const VARIANT_ANALYSIS_SETTING = new Setting ( "variantAnalysis" , ROOT_SETTING ) ;
480480
481481/**
482482 * Lists of GitHub repositories that you want to query remotely via the "Run Variant Analysis" command.
@@ -487,7 +487,7 @@ const REMOTE_QUERIES_SETTING = new Setting("variantAnalysis", ROOT_SETTING);
487487 */
488488const REMOTE_REPO_LISTS = new Setting (
489489 "repositoryLists" ,
490- REMOTE_QUERIES_SETTING ,
490+ VARIANT_ANALYSIS_SETTING ,
491491) ;
492492
493493export function getRemoteRepositoryLists ( ) :
@@ -513,7 +513,7 @@ export async function setRemoteRepositoryLists(
513513 */
514514const REPO_LISTS_PATH = new Setting (
515515 "repositoryListsPath" ,
516- REMOTE_QUERIES_SETTING ,
516+ VARIANT_ANALYSIS_SETTING ,
517517) ;
518518
519519export function getRemoteRepositoryListsPath ( ) : string | undefined {
@@ -528,7 +528,7 @@ export function getRemoteRepositoryListsPath(): string | undefined {
528528 */
529529const REMOTE_CONTROLLER_REPO = new Setting (
530530 "controllerRepo" ,
531- REMOTE_QUERIES_SETTING ,
531+ VARIANT_ANALYSIS_SETTING ,
532532) ;
533533
534534export function getRemoteControllerRepo ( ) : string | undefined {
@@ -544,7 +544,7 @@ export async function setRemoteControllerRepo(repo: string | undefined) {
544544 * Default value is "main".
545545 * Note: This command is only available for internal users.
546546 */
547- const ACTION_BRANCH = new Setting ( "actionBranch" , REMOTE_QUERIES_SETTING ) ;
547+ const ACTION_BRANCH = new Setting ( "actionBranch" , VARIANT_ANALYSIS_SETTING ) ;
548548
549549export function getActionBranch ( ) : string {
550550 return ACTION_BRANCH . getValue < string > ( ) || "main" ;
@@ -559,16 +559,15 @@ export function isVariantAnalysisLiveResultsEnabled(): boolean {
559559}
560560
561561/**
562- * A flag indicating whether to use the new query run experience which involves
563- * using a new database panel.
562+ * A flag indicating whether to use the new "variant analysis repositories" panel.
564563 */
565- const NEW_QUERY_RUN_EXPERIENCE = new Setting (
566- "newQueryRunExperience " ,
567- ROOT_SETTING ,
564+ const VARIANT_ANALYSIS_REPOS_PANEL = new Setting (
565+ "repositoriesPanel " ,
566+ VARIANT_ANALYSIS_SETTING ,
568567) ;
569568
570- export function isNewQueryRunExperienceEnabled ( ) : boolean {
571- return ! ! NEW_QUERY_RUN_EXPERIENCE . getValue < boolean > ( ) ;
569+ export function isVariantAnalysisReposPanelEnabled ( ) : boolean {
570+ return ! ! VARIANT_ANALYSIS_REPOS_PANEL . getValue < boolean > ( ) ;
572571}
573572
574573// Settings for mocking the GitHub API.
0 commit comments