Add info message for copy (#8416)

* Couple of a11y fixes for BDC Dashboard

* Moving ariaRole into separate PR

* Remove missed ariaRole tag

* Switch to just using notification dialog

* add back in blank line
This commit is contained in:
Charles Gagnon
2019-11-20 15:49:21 -08:00
committed by GitHub
parent 8655044dfb
commit e6ffb97a7b

View File

@@ -373,6 +373,7 @@ function createServiceEndpointRow(modelBuilder: azdata.ModelBuilder, container:
copyValueCell.iconPath = IconPathHelper.copy;
copyValueCell.onDidClick(() => {
vscode.env.clipboard.writeText(endpoint.endpoint);
vscode.window.showInformationMessage(localize('copiedEndpoint', "Endpoint '{0}' copied to clipboard", getEndpointDisplayText(endpoint.name, endpoint.description)));
});
copyValueCell.iconHeight = '14px';
copyValueCell.iconWidth = '14px';