mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add accessibility information to query history items (#20958)
* Add accessibility information to query history items * bump version
This commit is contained in:
@@ -242,6 +242,9 @@ export class QueryHistoryProvider implements vscode.TreeDataProvider<QueryHistor
|
||||
treeItem.tooltip = item.queryText;
|
||||
treeItem.description = item.connectionProfile ? `${item.connectionProfile.serverName}|${item.connectionProfile.databaseName} ${item.timestamp}` : item.timestamp;
|
||||
treeItem.command = { title: '', command: ITEM_SELECTED_COMMAND_ID, arguments: [item] };
|
||||
treeItem.accessibilityInformation = {
|
||||
label: `${item.isSuccess ? loc.succeeded : loc.failed} ${treeItem.description} ${item.queryText}`
|
||||
}
|
||||
return treeItem;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user