mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Log: Added panel support for filtering callbacks (#88980)
* chore: update stale comment * Logs Panel: add props for interactive callbacks * LogsPanel: type guard unknown props * chore: add comments * chore: rename popover filtering callbacks prop names * chore: format panelcfg * Formatting * LogsPanel: add default label filter handlers using panel context * Formatting * chore: add tests for new props
This commit is contained in:
@@ -15,6 +15,14 @@ export const pluginVersion = "11.1.0-pre";
|
||||
export interface Options {
|
||||
dedupStrategy: common.LogsDedupStrategy;
|
||||
enableLogDetails: boolean;
|
||||
isFilterLabelActive?: unknown;
|
||||
/**
|
||||
* TODO: figure out how to define callbacks
|
||||
*/
|
||||
onClickFilterLabel?: unknown;
|
||||
onClickFilterOutLabel?: unknown;
|
||||
onClickFilterOutString?: unknown;
|
||||
onClickFilterString?: unknown;
|
||||
prettifyLogMessage: boolean;
|
||||
showCommonLabels: boolean;
|
||||
showLabels: boolean;
|
||||
|
||||
Reference in New Issue
Block a user