diff --git a/src/vs/code/electron-sandbox/issue/issueReporterService.ts b/src/vs/code/electron-sandbox/issue/issueReporterService.ts index d0c4789..9e6bfc5 100644 --- a/src/vs/code/electron-sandbox/issue/issueReporterService.ts +++ b/src/vs/code/electron-sandbox/issue/issueReporterService.ts @@ -455,5 +455,5 @@ export class IssueReporter extends Disposable { - private searchVSCodeIssues(title: string, issueDescription?: string): void { + private searchVSCodeIssues(title: string, _issueDescription?: string): void { if (title) { - this.searchDuplicates(title, issueDescription); + this.searchGitHub('VSCodium/vscodium', title); } else { @@ -549,33 +549,2 @@ export class IssueReporter extends Disposable { - @debounce(300) - private searchDuplicates(title: string, body?: string): void { - const url = 'https://vscode-probot.westus.cloudapp.azure.com:7890/duplicate_candidates'; - const init = { - method: 'POST', - body: JSON.stringify({ - title, - body - }), - headers: new Headers({ - 'Content-Type': 'application/json' - }) - }; - - window.fetch(url, init).then((response) => { - response.json().then(result => { - this.clearSearchResults(); - - if (result && result.candidates) { - this.displaySearchResults(result.candidates); - } else { - throw new Error('Unexpected response, no candidates property'); - } - }).catch(_ => { - // Ignore - }); - }).catch(_ => { - // Ignore - }); - } - private displaySearchResults(results: SearchResult[]) { @@ -667,3 +636,3 @@ export class IssueReporter extends Disposable { sourceSelect.append(this.makeOption('', localize('selectSource', "Select source"), true)); - sourceSelect.append(this.makeOption('vscode', localize('vscode', "Visual Studio Code"), false)); + sourceSelect.append(this.makeOption('vscode', localize('vscode', "VSCodium"), false)); sourceSelect.append(this.makeOption('extension', localize('extension', "An extension"), false)); diff --git a/src/vs/code/electron-sandbox/issue/issueReporterModel.ts b/src/vs/code/electron-sandbox/issue/issueReporterModel.ts index 98338df..6d2f581 100644 --- a/src/vs/code/electron-sandbox/issue/issueReporterModel.ts +++ b/src/vs/code/electron-sandbox/issue/issueReporterModel.ts @@ -77,3 +77,3 @@ ${this._data.issueDescription} ${this.getExtensionVersion()} -VS Code version: ${this._data.versionInfo && this._data.versionInfo.vscodeVersion} +VSCodium version: ${this._data.versionInfo && this._data.versionInfo.vscodeVersion} OS version: ${this._data.versionInfo && this._data.versionInfo.os} diff --git a/src/vs/code/electron-sandbox/issue/issueReporterPage.ts b/src/vs/code/electron-sandbox/issue/issueReporterPage.ts index 0eedb21..c83e092 100644 --- a/src/vs/code/electron-sandbox/issue/issueReporterPage.ts +++ b/src/vs/code/electron-sandbox/issue/issueReporterPage.ts @@ -17,3 +17,3 @@ const reviewGuidanceLabel = localize( // intentionally not escaped because of it comment: [ - '{Locked=""}', + '{Locked=""}', '{Locked=""}' @@ -21,3 +21,3 @@ const reviewGuidanceLabel = localize( // intentionally not escaped because of it }, - 'Before you report an issue here please review the guidance we provide.' + 'Before you report an issue here please review the guidance we provide.' ); diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts index 87839a6..49727fc 100644 --- a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts +++ b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts @@ -153,3 +153,3 @@ class ReportExtensionSlowAction extends Action { - OS Version: \`${osVersion}\` -- VS Code version: \`${this._productService.version}\`\n\n${message}`); +- VSCodium version: \`${this._productService.version}\`\n\n${message}`);