Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add preview title to BDC/HDFS components #8268

Merged
merged 3 commits into from
Nov 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class AddControllerDialog {
}

private createDialog(): void {
this.dialog = azdata.window.createModelViewDialog(localize('textAddNewController', "Add New Controller"));
this.dialog = azdata.window.createModelViewDialog(localize('textAddNewController', "Add New Controller (preview)"));
this.dialog.registerContent(async view => {
this.uiModelBuilder = view.modelBuilder;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class BdcDashboard extends BdcDashboardPage {

// Overview nav item - this will be the initial page
const overviewNavItemDiv = modelView.modelBuilder.divContainer().withLayout({ width: navWidth, height: '30px' }).withProperties({ clickable: true }).component();
const overviewNavItemText = modelView.modelBuilder.text().withProperties({ value: localize('bdc.dashboard.overviewNavTitle', "Big data cluster overview") }).component();
const overviewNavItemText = modelView.modelBuilder.text().withProperties({ value: localize('bdc.dashboard.overviewNavTitle', "Big Data Cluster overview") }).component();
overviewNavItemText.updateCssStyles(selectedTabCss);
overviewNavItemDiv.addItem(overviewNavItemText, { CSSStyles: { 'user-select': 'text' } });
this.overviewPage = new BdcDashboardOverviewPage(this, this.model);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const localize = nls.loadMessageBundle();

export class ConnectControllerDialog extends HdfsDialogBase<HdfsDialogProperties, ClusterController> {
constructor(model: ConnectControllerModel) {
super(localize('connectController.dialog.title', "Connect to Controller"), model);
super(localize('connectController.dialog.title', "Connect to Controller (preview)"), model);
}

protected getMainSectionComponents(): (azdata.FormComponentGroup | azdata.FormComponent)[] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class MountHdfsDialog extends HdfsDialogBase<MountHdfsProperties, void> {
private credentialsInputBox: azdata.InputBoxComponent;

constructor(model: MountHdfsDialogModel) {
super(localize('mount.dialog.title', "Mount HDFS Folder"), model);
super(localize('mount.dialog.title', "Mount HDFS Folder (preview)"), model);
}

protected getMainSectionComponents(): (azdata.FormComponentGroup | azdata.FormComponent)[] {
Expand Down
2 changes: 1 addition & 1 deletion extensions/big-data-cluster/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function registerCommands(context: vscode.ExtensionContext, treeDataProvider: Co
});

vscode.commands.registerCommand(ManageControllerCommand, async (info: ControllerNode | BdcDashboardOptions, addOrUpdateController: boolean = false) => {
const title: string = `${localize('bdc.dashboard.title', "Big Data Cluster Dashboard -")} ${ControllerNode.toIpAndPort(info.url)}`;
const title: string = `${localize('bdc.dashboard.title', "Big Data Cluster Dashboard (preview) -")} ${ControllerNode.toIpAndPort(info.url)}`;
if (addOrUpdateController) {
// The info may be wrong, but if it is then we'll prompt to reconnect when the dashboard is opened
// and update with the correct info then
Expand Down
2 changes: 1 addition & 1 deletion extensions/mssql/src/localizedConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const msgMissingNodeContext = localize('msgMissingNodeContext', "Node Com

// HDFS Manage Access Dialog Constants ////////////////////////////////////

export const manageAccessTitle = localize('mssql.manageAccessTitle', "Manage Access");
export const manageAccessTitle = localize('mssql.manageAccessTitle', "Manage Access (preview)");
export const locationTitle = localize('mssql.locationTitle', "Location : ");
export const permissionsHeader = localize('mssql.permissionsTitle', "Permissions");
export const ownerPostfix = localize('mssql.ownerPostfix', " - Owner");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class SparkJobSubmissionDialog {
}

public async openDialog(path?: string): Promise<void> {
this._dialog = this.apiWrapper.createDialog(localize('sparkJobSubmission.DialogTitleNewJob', "New Job"));
this._dialog = this.apiWrapper.createDialog(localize('sparkJobSubmission.DialogTitleNewJob', "New Job (preview)"));

this._dataModel = new SparkJobSubmissionModel(this.sqlClusterConnection, this._dialog, this.appContext);

Expand Down