mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-17 17:33:32 +01:00
defaults web issue report false and disable in Firefox (#213752)
* turn off in release and in ff * update
This commit is contained in:
@@ -40,7 +40,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
|
||||
properties: {
|
||||
'issueReporter.experimental.webReporter': {
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
default: false,
|
||||
description: 'Enable experimental issue reporter for web.',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as dom from 'vs/base/browser/dom';
|
||||
import { userAgent } from 'vs/base/common/platform';
|
||||
import { isFirefox, userAgent } from 'vs/base/common/platform';
|
||||
import { IExtensionDescription, ExtensionType } from 'vs/platform/extensions/common/extensions';
|
||||
import { normalizeGitHubUrl } from 'vs/platform/issue/common/issueReporterUtil';
|
||||
import { getZoomLevel } from 'vs/base/browser/browser';
|
||||
@@ -49,7 +49,8 @@ export class BrowserIssueService implements IWorkbenchIssueService {
|
||||
}
|
||||
|
||||
async openReporter(options: Partial<IssueReporterData>): Promise<void> {
|
||||
if (!this.configurationService.getValue<boolean>('issueReporter.experimental.webReporter')) {
|
||||
// If web reporter setting is false, or if we are in Firefox, open the old GitHub issue reporter
|
||||
if (!this.configurationService.getValue<boolean>('issueReporter.experimental.webReporter') || isFirefox) {
|
||||
const extensionId = options.extensionId;
|
||||
// If we don't have a extensionId, treat this as a Core issue
|
||||
if (!extensionId) {
|
||||
|
||||
Reference in New Issue
Block a user