Added categories and search based filtering to the resource dialog. (#12658)

* added filtering to the resource type along with a new component.

* -Added caching of cards
-Removed unused component props
-localized tags
-limited the scope of list items

* Made some changes in the PR

* - Added Iot Category to SQL edge
- Moved category names to constants
- Moved localization strings to localized constants
- Made filtering logic more concise
- Changed how category list is generated
--Category list can now be ordered
-Added back event generation for selectedCard

* Fixed bugs, and some additional changes
-Fixed radiogroup height to avoid the movement of options below it
-Restoring the focus back to the search and listview components
- Added focus behaviour for listview
- Fixed a typo in comment

* Made categories an Enum

* Added localized string

* localized category string
converted categories to enum.

* made the filtering logic more concise.

* returning string if no localized string formed
removed unnecessary returns

* fixed the filtering tag logic
resetting search when category is changed

* removing the iot tag from sql edge deployment

* made filtering logic more concise
made enum const

* added vscode list

* some cleanup

* Some PR changes
- Made PR camelcase
- added comments to SQL
- removed unnecessary export

* -Some PR related changes
-Removing unsupported style property
-scoping down css and removing unused ones.

* Fixed a comment text

* Fixed typings for listview event
This commit is contained in:
Aasim Khan
2020-10-07 13:38:12 -07:00
committed by GitHub
parent 830cef06db
commit 280a9d20f9
18 changed files with 512 additions and 28 deletions

View File

@@ -74,6 +74,7 @@
"light": "./images/sql_server_container.svg",
"dark": "./images/sql_server_container_inverse.svg"
},
"tags": ["On-premises", "SQL Server"],
"options": [
{
"name": "version",
@@ -205,6 +206,7 @@
"light": "./images/sql_bdc.svg",
"dark": "./images/sql_bdc_inverse.svg"
},
"tags": ["On-premises", "SQL Server"],
"options": [
{
"name": "version",
@@ -363,6 +365,7 @@
"light": "./images/sql_server_on_windows.svg",
"dark": "./images/sql_server_on_windows_inverse.svg"
},
"tags": ["On-premises", "SQL Server"],
"options": [
{
"name": "version",
@@ -401,6 +404,7 @@
"light": "./images/azure-sql-db.svg",
"dark": "./images/azure-sql-db.svg"
},
"tags": ["SQL Server", "Cloud"],
"okButtonText": "%azure-sqldb-ok-button-text%",
"options": [
{
@@ -466,6 +470,7 @@
"light": "./images/azure-sql-vm.svg",
"dark": "./images/azure-sql-vm.svg"
},
"tags": ["SQL Server", "Cloud"],
"providers": [
{
"azureSQLVMWizard":{