mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
update source option in issue reporter from vscode to Azure Data Studio (#23616)
This commit is contained in:
@@ -20,6 +20,7 @@ import { normalizeGitHubUrl } from 'vs/platform/issue/common/issueReporterUtil';
|
|||||||
import { INativeHostService } from 'vs/platform/native/common/native';
|
import { INativeHostService } from 'vs/platform/native/common/native';
|
||||||
import { applyZoom, zoomIn, zoomOut } from 'vs/platform/window/electron-sandbox/window';
|
import { applyZoom, zoomIn, zoomOut } from 'vs/platform/window/electron-sandbox/window';
|
||||||
import { CancellationError } from 'vs/base/common/errors';
|
import { CancellationError } from 'vs/base/common/errors';
|
||||||
|
import { issueReporterMainAzuredatastudio } from 'sql/base/common/locConstants'; // {{SQL CARBON EDIT}}
|
||||||
|
|
||||||
// GitHub has let us know that we could up our limit here to 8k. We chose 7500 to play it safe.
|
// GitHub has let us know that we could up our limit here to 8k. We chose 7500 to play it safe.
|
||||||
// ref https://github.com/microsoft/vscode/issues/159191
|
// ref https://github.com/microsoft/vscode/issues/159191
|
||||||
@@ -665,7 +666,7 @@ export class IssueReporter extends Disposable {
|
|||||||
|
|
||||||
sourceSelect.innerText = '';
|
sourceSelect.innerText = '';
|
||||||
sourceSelect.append(this.makeOption('', localize('selectSource', "Select source"), true));
|
sourceSelect.append(this.makeOption('', localize('selectSource', "Select source"), true));
|
||||||
sourceSelect.append(this.makeOption('vscode', localize('vscode', "Visual Studio Code"), false));
|
sourceSelect.append(this.makeOption('azuredatastudio', issueReporterMainAzuredatastudio, false)); // {{SQL CARBON EDIT}} Update name
|
||||||
sourceSelect.append(this.makeOption('extension', localize('extension', "An extension"), false));
|
sourceSelect.append(this.makeOption('extension', localize('extension', "An extension"), false));
|
||||||
if (this.configuration.product.reportMarketplaceIssueUrl) {
|
if (this.configuration.product.reportMarketplaceIssueUrl) {
|
||||||
sourceSelect.append(this.makeOption('marketplace', localize('marketplace', "Extensions marketplace"), false));
|
sourceSelect.append(this.makeOption('marketplace', localize('marketplace', "Extensions marketplace"), false));
|
||||||
|
|||||||
Reference in New Issue
Block a user