Skip to content

Commit

Permalink
Disable survey prompt (#3464)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft authored Mar 15, 2022
1 parent f76ef67 commit 688199e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { ext } from './extensionVariables';
import { registerTaskProviders } from './tasks/TaskHelper';
import { ActivityMeasurementService } from './telemetry/ActivityMeasurementService';
import { registerListeners } from './telemetry/registerListeners';
import { SurveyManager } from './telemetry/surveys/SurveyManager';
import { registerTrees } from './tree/registerTrees';
import { AzureAccountExtensionListener } from './utils/AzureAccountExtensionListener';
import { cryptoUtils } from './utils/cryptoUtils';
Expand Down Expand Up @@ -68,7 +67,8 @@ export async function activateInternal(ctx: vscode.ExtensionContext, perfStats:
process.env.VSCODE_DOCKER_TEAM === '1' ? tas.TargetPopulation.Team : undefined // If VSCODE_DOCKER_TEAM isn't set, let @microsoft/vscode-azext-utils decide target population
);

(new SurveyManager()).activate();
// Disabled for now
// (new SurveyManager()).activate();

// Remove the "Report Issue" button from all error messages in favor of the command
// TODO: use built-in issue reporter if/when support is added to include arbitrary info in addition to repro steps (which we would leave blank to force the user to type *something*)
Expand Down
2 changes: 0 additions & 2 deletions src/telemetry/surveys/SurveyManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
import * as vscode from 'vscode';
import { IActionContext, callWithTelemetryAndErrorHandling } from '@microsoft/vscode-azext-utils';
import { ext } from '../../extensionVariables';
import { survey3 } from './survey3';

// Currently-active surveys should be registered here
const currentSurveys: Survey[] = [
survey3,
];

const surveyRespondedKeyPrefix = 'vscode-docker.surveys.response';
Expand Down

0 comments on commit 688199e

Please sign in to comment.