Resource viewer cleanup (#13168)

* Resource viewer cleanup

* uneeded

* Only show in insiders
This commit is contained in:
Charles Gagnon
2020-10-30 16:48:50 -07:00
committed by GitHub
parent c6f72e6504
commit d7767c7d91
9 changed files with 37 additions and 56 deletions

View File

@@ -22,7 +22,7 @@
"resourceViewResources": [
{
"id": "azure-resources",
"name": "Azure",
"name": "%azure.resource.view.title%",
"icon": "./resources/azure.svg"
}
],

View File

@@ -13,6 +13,7 @@
"azure.resource.startterminal.title": "Start Cloud Shell",
"azure.resource.connectsqlserver.title": "Connect",
"azure.resource.connectsqldb.title": "Add to Servers",
"azure.resource.view.title": "Azure (Preview)",
"azure.tenant.config.filter.description": "The list of tenant IDs to ignore when querying azure resources. Each element is a tenant id.",
"accounts.clearTokenCache": "Clear Azure Account Token Cache",

View File

@@ -48,7 +48,6 @@ export class AzureDataGridProvider implements azdata.DataGridProvider {
return <azdata.DataGridItem>{
id: item.id,
// Property values
nameLink: <azdata.DataGridHyperlinkInfo>{ displayText: item.name, linkOrCommand: 'https://microsoft.com' },
name: item.name,
resourceGroup: item.resourceGroup,
subscriptionId: item.subscriptionId,
@@ -75,7 +74,7 @@ export class AzureDataGridProvider implements azdata.DataGridProvider {
public async getDataGridColumns(): Promise<azdata.DataGridColumn[]> {
return [
{ id: 'icon', type: 'image', field: 'iconPath', name: '', width: 25, sortable: false, filterable: false, resizable: false, tooltip: loc.typeIcon },
{ id: 'name', type: 'hyperlink', field: 'nameLink', name: loc.name, width: 150 },
{ id: 'name', type: 'text', field: 'name', name: loc.name, width: 150 },
{ id: 'type', type: 'text', field: 'typeDisplayName', name: loc.resourceType, width: 150 },
{ id: 'type', type: 'text', field: 'resourceGroup', name: loc.resourceGroup, width: 150 },
{ id: 'location', type: 'text', field: 'locationDisplayName', name: loc.location, width: 150 },

View File

@@ -73,4 +73,4 @@ export const sqlServerArc = localize('azurecore.sqlServerArc', "SQL Server - Azu
export const azureArcPostgresServer = localize('azurecore.azureArcPostgres', "Azure Arc enabled PostgreSQL Hyperscale");
export const unableToOpenAzureLink = localize('azure.unableToOpenAzureLink', "Unable to open link, missing required values");
export const azureResourcesGridTitle = localize('azure.azureResourcesGridTitle', "Azure Resources");
export const azureResourcesGridTitle = localize('azure.azureResourcesGridTitle', "Azure Resources (Preview)");