mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
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:
@@ -373,6 +373,7 @@ function createServiceEndpointRow(modelBuilder: azdata.ModelBuilder, container:
|
|||||||
copyValueCell.iconPath = IconPathHelper.copy;
|
copyValueCell.iconPath = IconPathHelper.copy;
|
||||||
copyValueCell.onDidClick(() => {
|
copyValueCell.onDidClick(() => {
|
||||||
vscode.env.clipboard.writeText(endpoint.endpoint);
|
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.iconHeight = '14px';
|
||||||
copyValueCell.iconWidth = '14px';
|
copyValueCell.iconWidth = '14px';
|
||||||
|
|||||||
Reference in New Issue
Block a user