Update button texts for Create New project and Open existing project UIs (#14900)

This commit is contained in:
Sakshi Sharma
2021-03-29 16:45:08 -07:00
committed by GitHub
parent 896d0b0ea1
commit 69361b5c97
4 changed files with 6 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ export class NewProjectDialog extends DialogBase {
public model: NewProjectDialogModel = new NewProjectDialogModel();
constructor(private workspaceService: IWorkspaceService) {
super(constants.NewProjectDialogTitle, 'NewProject');
super(constants.NewProjectDialogTitle, 'NewProject', constants.CreateButtonText);
// dialog launched from Welcome message button (only visible when no current workspace) vs. "add project" button
TelemetryReporter.createActionEvent(TelemetryViews.NewProjectDialog, TelemetryActions.NewProjectDialogLaunched)