mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Admin: Enable extending filters (#39825)
* Setup extensible filters * Fix test * Handle filter as array * Add className * Abstract getFilters * Make docs link external * Use underline for links in tooltips instead of link color Co-authored-by: Selene <selenepinillos@gmail.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { OrgRole } from '.';
|
||||
import { SelectableValue } from '@grafana/data';
|
||||
|
||||
export interface OrgUser {
|
||||
avatarUrl: string;
|
||||
@@ -106,6 +107,7 @@ export interface UserAdminError {
|
||||
body: string;
|
||||
}
|
||||
|
||||
export type UserFilter = Record<string, string | boolean | SelectableValue[]>;
|
||||
export interface UserListAdminState {
|
||||
users: UserDTO[];
|
||||
query: string;
|
||||
@@ -113,6 +115,6 @@ export interface UserListAdminState {
|
||||
page: number;
|
||||
totalPages: number;
|
||||
showPaging: boolean;
|
||||
filter: string;
|
||||
filters: UserFilter[];
|
||||
isLoading: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user