Skip to content

Commit fc7a30c

Browse files
authored
Change learn more label for programming model step (#3609)
* Change learn more label for programming model step * PR Feedback
1 parent 8db3cec commit fc7a30c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/FuncVersion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { IActionContext, IAzureQuickPickItem, IAzureQuickPickOptions } from '@microsoft/vscode-azext-utils';
7-
import { learnMoreQp } from './constants';
87
import { localize } from './localize';
98
import { openUrl } from './utils/openUrl';
109

@@ -29,6 +28,7 @@ export async function promptForFuncVersion(context: IActionContext, message?: st
2928

3029
picks = picks.filter(p => osSupportsVersion(p.data));
3130

31+
const learnMoreQp = { label: localize('learnMore', '$(link-external) Learn more...'), description: '', data: undefined };
3232
picks.push(learnMoreQp);
3333

3434
const options: IAzureQuickPickOptions = { placeHolder: message || localize('selectVersion', 'Select a version'), stepName: 'funcVersion', suppressPersistence: true };

src/commands/createNewProject/ProgrammingModelStep.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { AzureWizardPromptStep, IAzureQuickPickItem, IAzureQuickPickOptions, nonNullValue, openUrl } from '@microsoft/vscode-azext-utils';
7-
import { learnMoreQp, nodeProgrammingModelSetting } from '../../constants';
7+
import { nodeProgrammingModelSetting } from '../../constants';
88
import { localize } from '../../localize';
99
import { getWorkspaceSetting } from '../../vsCodeConfig/settings';
1010
import { IProjectWizardContext } from './IProjectWizardContext';
@@ -29,6 +29,7 @@ export class ProgrammingModelStep extends AzureWizardPromptStep<IProjectWizardCo
2929
}
3030
});
3131

32+
const learnMoreQp = { label: localize('learnMore', '$(link-external) Learn more about Model V4...'), description: '', data: undefined };
3233
if (this._learnMoreLink) {
3334
modelsPick.push(learnMoreQp);
3435
}

src/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,3 @@ export const functionFilter = {
172172
};
173173

174174
export const sqlBindingTemplateRegex: RegExp = /Sql.*Binding/i;
175-
export const learnMoreQp = { label: localize('learnMore', '$(link-external) Learn more...'), description: '', data: undefined };

0 commit comments

Comments
 (0)