Adding filtering dialog and action to OE (#22937) (#23036)

* Adding init change

* Adding filter cache in OE

* Adding more filtering changes

* Fixed stuff with dialog

* Fixing filter

* Adding support for connecitons

* Fixed stuff

* filtering

* Fixing  date

* Filters

* Removing is filtering supported

* Removing contracts

* Fixing filters

* Fixing cache

* Adding some accessibility changes

* Reverting some more changes to pull in changes from the main

* Adding comments

* Fixing boolean operators

* Fixing stuff

* Fixing stuff

* Fixing error handling and making dialog generic

* Fixing more stuff

* Making filter a generic dialog

* adding erase icon

* removing floating promises

* Fixing compile issue

* Adding support for choice filter with different and actual value.

* Adding null checks

* Adding durability type fix

* Fixing filtering for providers that do not play well with empty filter properties
This commit is contained in:
Aasim Khan
2023-05-09 11:07:03 -07:00
committed by GitHub
parent 8e38295691
commit 706ba6c974
12 changed files with 964 additions and 13 deletions

View File

@@ -1818,14 +1818,27 @@ declare module 'azdata' {
/**
* The list of choices for the filter property if the type is choice
*/
choices: string[];
choices: NodeFilterChoicePropertyValue[];
}
export interface NodeFilterChoicePropertyValue {
/**
* The value of the choice
*/
value: string;
/**
* The display name of the choice
* If not specified, the value will be used as the display name
* If specified, the display name will be used in the dropdown
*/
displayName?: string;
}
export interface NodeFilter {
/**
* The name of the filter property
*/
name: string;
displayName: string;
/**
* The operator of the filter property
*/
@@ -1833,7 +1846,7 @@ declare module 'azdata' {
/**
* The applied values of the filter property
*/
value: string | string[] | number | boolean | undefined;
value: string | string[] | number | number[] | boolean | undefined;
}
export enum NodeFilterPropertyDataType {