Skip to content

Commit

Permalink
Remove survey code (#381)
Browse files Browse the repository at this point in the history
* remove survey code
  • Loading branch information
DonJayamanne authored Dec 11, 2017
1 parent 25805cb commit 2aa9427
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 181 deletions.
3 changes: 0 additions & 3 deletions src/client/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { registerTypes as commonRegisterTypes } from './common/serviceRegistry';
import { GLOBAL_MEMENTO, IDiposableRegistry, IMemento, IOutputChannel, IPersistentStateFactory, WORKSPACE_MEMENTO } from './common/types';
import { registerTypes as variableRegisterTypes } from './common/variables/serviceRegistry';
import { SimpleConfigurationProvider } from './debugger';
import { FeedbackService } from './feedback';
import { InterpreterManager } from './interpreter';
import { SetInterpreterProvider } from './interpreter/configuration/setInterpreterProvider';
import { ShebangCodeLensProvider } from './interpreter/display/shebangCodeLensProvider';
Expand Down Expand Up @@ -169,8 +168,6 @@ export async function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(vscode.debug.registerDebugConfigurationProvider('python', new SimpleConfigurationProvider()));
activationDeferred.resolve();

const feedbackService = new FeedbackService(persistentStateFactory);
context.subscriptions.push(feedbackService);
// tslint:disable-next-line:no-unused-expression
new BannerService(persistentStateFactory);

Expand Down
52 changes: 0 additions & 52 deletions src/client/feedback/counters.ts

This file was deleted.

115 changes: 0 additions & 115 deletions src/client/feedback/feedbackService.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/client/feedback/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/client/telemetry/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ export const UNITTEST_STOP = 'UNITTEST.STOP';
export const UNITTEST_RUN = 'UNITTEST.RUN';
export const UNITTEST_DISCOVER = 'UNITTEST.DISCOVER';
export const UNITTEST_VIEW_OUTPUT = 'UNITTEST.VIEW_OUTPUT';
export const FEEDBACK = 'FEEDBACK';
4 changes: 0 additions & 4 deletions src/client/telemetry/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

'use strict';

import { commands } from 'vscode';
import { StopWatch } from './stopWatch';
import { getTelemetryReporter } from './telemetry';
import { TelemetryProperties } from './types';
Expand All @@ -22,7 +19,6 @@ export function sendTelemetryEvent(eventName: string, durationMs?: number, prope
(customProperties as any)[prop] = typeof data[prop] === 'string' ? data[prop] : data[prop].toString();
});
}
commands.executeCommand('python.updateFeedbackCounter', eventName);
reporter.sendTelemetryEvent(eventName, properties ? customProperties : undefined, measures);
}

Expand Down

0 comments on commit 2aa9427

Please sign in to comment.