Fix Release Notes link to refer to correct location (#1665)

* Fix Release Notes link to refer to correct location

* Fix typo
This commit is contained in:
Karl Burtram
2018-06-18 20:18:24 -04:00
committed by GitHub
parent e1a36a356c
commit 676d35090f
4 changed files with 7 additions and 5 deletions

View File

@@ -27,7 +27,8 @@
"reportIssueUrl": "https://github.com/Microsoft/sqlopsstudio/issues/new?labels=customer%20reported%20issue", "reportIssueUrl": "https://github.com/Microsoft/sqlopsstudio/issues/new?labels=customer%20reported%20issue",
"requestFeatureUrl": "https://github.com/Microsoft/sqlopsstudio/issues/new?labels=feature-request" "requestFeatureUrl": "https://github.com/Microsoft/sqlopsstudio/issues/new?labels=feature-request"
}, },
"releaseNotesUrl": "https://go.microsoft.com/fwlink/?linkid=862039", "gettingStartedUrl": "https://go.microsoft.com/fwlink/?linkid=862039",
"releaseNotesUrl": "https://go.microsoft.com/fwlink/?linkid=875578",
"documentationUrl": "https://go.microsoft.com/fwlink/?linkid=862277", "documentationUrl": "https://go.microsoft.com/fwlink/?linkid=862277",
"commit": "9ca6200018fc206d67a47229f991901a8a453781", "commit": "9ca6200018fc206d67a47229f991901a8a453781",
"date": "2017-12-15T12:00:00.000Z", "date": "2017-12-15T12:00:00.000Z",

View File

@@ -29,14 +29,14 @@ export class OpenGettingStartedInBrowserAction extends Action {
} }
run(): TPromise<any> { run(): TPromise<any> {
const uri = URI.parse(product.releaseNotesUrl); const uri = URI.parse(product.gettingStartedUrl);
return this.openerService.open(uri); return this.openerService.open(uri);
} }
} }
export class ShowCurrentReleaseNotesAction extends AbstractShowReleaseNotesAction { export class ShowCurrentReleaseNotesAction extends AbstractShowReleaseNotesAction {
static ID = 'update.showCurrentCarbonReleaseNotes'; static ID = 'update.showGettingStarted';
static LABEL = nls.localize('showReleaseNotes', "Show Getting Started"); static LABEL = nls.localize('showReleaseNotes', "Show Getting Started");
constructor( constructor(

View File

@@ -999,8 +999,8 @@ export class CodeMenu {
arrays.coalesce([ arrays.coalesce([
// new MenuItem({ label: mnemonicLabel(nls.localize({ key: 'miWelcome', comment: ['&& denotes a mnemonic'] }, "&&Welcome")), click: () => this.windowsService.sendToFocused('vscode:runAction', 'workbench.action.showWelcomePage') }), // new MenuItem({ label: mnemonicLabel(nls.localize({ key: 'miWelcome', comment: ['&& denotes a mnemonic'] }, "&&Welcome")), click: () => this.windowsService.sendToFocused('vscode:runAction', 'workbench.action.showWelcomePage') }),
// {{SQL CARBON EDIT}} // {{SQL CARBON EDIT}}
product.releaseNotesUrl ? product.gettingStartedUrl ?
this.createMenuItem(nls.localize({ key: 'miReleaseNotes', comment: ['&& denotes a mnemonic'] }, "Getting &&Started"), 'update.showCurrentCarbonReleaseNotes') this.createMenuItem(nls.localize({ key: 'miGettingStarted', comment: ['&& denotes a mnemonic'] }, "Getting &&Started"), 'update.showGettingStarted')
: null, : null,
product.documentationUrl ? product.documentationUrl ?
this.createMenuItem(nls.localize({ key: 'miDocumentation', comment: ['&& denotes a mnemonic'] }, "&&Documentation"), 'workbench.action.openDocumentationUrl') this.createMenuItem(nls.localize({ key: 'miDocumentation', comment: ['&& denotes a mnemonic'] }, "&&Documentation"), 'workbench.action.openDocumentationUrl')

View File

@@ -52,6 +52,7 @@ export interface IProductConfiguration {
}; };
documentationUrl: string; documentationUrl: string;
releaseNotesUrl: string; releaseNotesUrl: string;
gettingStartedUrl: string;
keyboardShortcutsUrlMac: string; keyboardShortcutsUrlMac: string;
keyboardShortcutsUrlLinux: string; keyboardShortcutsUrlLinux: string;
keyboardShortcutsUrlWin: string; keyboardShortcutsUrlWin: string;