mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 01:25:37 -05:00
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:
33
src/sql/workbench/browser/modelComponents/media/listView.css
Normal file
33
src/sql/workbench/browser/modelComponents/media/listView.css
Normal file
@@ -0,0 +1,33 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
.modelview-listview-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
max-width: 150px;
|
||||
min-width: 120px;
|
||||
font-size: 100%;
|
||||
font-weight: inherit;
|
||||
overflow: auto;
|
||||
padding: 0 0 0 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.modelview-listview-container .modelview-listview-title {
|
||||
margin: 0 5px 5px 0;
|
||||
font-weight: bold;
|
||||
line-height: 16px;
|
||||
padding: 5px 0px 5px 5px;
|
||||
}
|
||||
|
||||
.modelview-listview-container .listview-option {
|
||||
line-height: 16px;
|
||||
width: 95%;
|
||||
padding: 5px 0px 5px 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user