mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Loki: Update log context UI (#66730)
* fix logrowcontext scrolling behavior * Loki: Update loki context ui menu * Update * Add test, update * Use escapeLabelValueInSelector when displaying labels * Update test for new appliedContextFilters --------- Co-authored-by: Sven Grossmann <svennergr@gmail.com>
This commit is contained in:
co-authored by
Sven Grossmann
parent
0741f47876
commit
f612a72f96
@@ -10,7 +10,6 @@ import {
|
||||
LogsSortOrder,
|
||||
CoreApp,
|
||||
DataFrame,
|
||||
DataSourceWithLogsContextSupport,
|
||||
DataQueryResponse,
|
||||
LogRowContextOptions,
|
||||
} from '@grafana/data';
|
||||
@@ -43,7 +42,7 @@ export interface Props extends Themeable2 {
|
||||
onClickFilterLabel?: (key: string, value: string) => void;
|
||||
onClickFilterOutLabel?: (key: string, value: string) => void;
|
||||
getRowContext?: (row: LogRowModel, options?: LogRowContextOptions) => Promise<DataQueryResponse>;
|
||||
getLogRowContextUi?: DataSourceWithLogsContextSupport['getLogRowContextUi'];
|
||||
getLogRowContextUi?: (row: LogRowModel, runContextQuery?: () => void) => React.ReactNode;
|
||||
getFieldLinks?: (field: Field, rowIndex: number, dataFrame: DataFrame) => Array<LinkModel<Field>>;
|
||||
onClickShowField?: (key: string) => void;
|
||||
onClickHideField?: (key: string) => void;
|
||||
|
||||
Reference in New Issue
Block a user