table based explorer widget (#10279)

* bump sts

* extend widget container

* remove title

* wip

* refactoring

* Revert "extend widget container"

* showTitle option

* fix properties widget error

* icon column

* icon and button columns

* use textwithicon column

* icon

* refactor and filter

* context menu

* refactor

* tests

* fix hygiene

* tests

* comments
This commit is contained in:
Alan Ren
2020-05-06 13:52:20 -07:00
committed by GitHub
parent df5df38a55
commit 0ace033a6f
26 changed files with 935 additions and 520 deletions

View File

@@ -366,6 +366,28 @@
"displayName": "%onprem.serverProperties.osVersion%",
"value": "osVersion"
}
],
"databasesListProperties": [
{
"displayName": "%databasesListProperties.name%",
"value": "name",
"widthWeight": 60
},
{
"displayName": "%databasesListProperties.status%",
"value": "state",
"widthWeight": 10
},
{
"displayName": "%databasesListProperties.size%",
"value": "sizeInMB",
"widthWeight": 10
},
{
"displayName": "%databasesListProperties.lastBackup%",
"value": "lastBackup",
"widthWeight": 20
}
]
},
{
@@ -404,6 +426,23 @@
"displayName": "%cloud.serverProperties.serverEdition%",
"value": "serverEdition"
}
],
"databasesListProperties": [
{
"displayName": "%databasesListProperties.name%",
"value": "name",
"widthWeight": 60
},
{
"displayName": "%databasesListProperties.status%",
"value": "state",
"widthWeight": 20
},
{
"displayName": "%databasesListProperties.size%",
"value": "sizeInMB",
"widthWeight": 20
}
]
},
{
@@ -434,6 +473,23 @@
"displayName": "%cloud.serverProperties.serverEdition%",
"value": "serverEdition"
}
],
"databasesListProperties": [
{
"displayName": "%databasesListProperties.name%",
"value": "name",
"widthWeight": 60
},
{
"displayName": "%databasesListProperties.status%",
"value": "state",
"widthWeight": 20
},
{
"displayName": "%databasesListProperties.size%",
"value": "sizeInMB",
"widthWeight": 20
}
]
}
]

View File

@@ -140,5 +140,10 @@
"mssql.connectionOptions.packetSize.displayName": "Packet size",
"mssql.connectionOptions.packetSize.description": "Size in bytes of the network packets used to communicate with an instance of SQL Server",
"mssql.connectionOptions.typeSystemVersion.displayName": "Type system version",
"mssql.connectionOptions.typeSystemVersion.description": "Indicates which server type system the provider will expose through the DataReader"
"mssql.connectionOptions.typeSystemVersion.description": "Indicates which server type system the provider will expose through the DataReader",
"databasesListProperties.name": "Name",
"databasesListProperties.status": "Status",
"databasesListProperties.size": "Size (MB)",
"databasesListProperties.lastBackup": "Last backup",
"objectsListProperties.name": "Name"
}