mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35: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:
@@ -34,6 +34,8 @@ import TabbedPanelComponent from 'sql/workbench/browser/modelComponents/tabbedPa
|
||||
import SeparatorComponent from 'sql/workbench/browser/modelComponents/separator.component';
|
||||
import { ModelComponentTypes } from 'sql/platform/dashboard/browser/interfaces';
|
||||
import PropertiesContainerComponent from 'sql/workbench/browser/modelComponents/propertiesContainer.component';
|
||||
import ListViewComponent from 'sql/workbench/browser/modelComponents/listView.component';
|
||||
|
||||
export const DIV_CONTAINER = 'div-container';
|
||||
registerComponentType(DIV_CONTAINER, ModelComponentTypes.DivContainer, DivContainer);
|
||||
|
||||
@@ -113,6 +115,9 @@ registerComponentType(HYPERLINK_COMPONENT, ModelComponentTypes.Hyperlink, Hyperl
|
||||
export const RADIOCARDGROUP_COMPONENT = 'radiocardgroup-component';
|
||||
registerComponentType(RADIOCARDGROUP_COMPONENT, ModelComponentTypes.RadioCardGroup, RadioCardGroup);
|
||||
|
||||
export const LISTVIEW_COMPONENT = 'listView-component';
|
||||
registerComponentType(LISTVIEW_COMPONENT, ModelComponentTypes.ListView, ListViewComponent);
|
||||
|
||||
export const TABBEDPANEL_COMPONENT = 'tabbedpanel-component';
|
||||
registerComponentType(TABBEDPANEL_COMPONENT, ModelComponentTypes.TabbedPanel, TabbedPanelComponent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user