PanelContext: Remove deprecated onSplitOpen (#80087)

Remove deprecated onSplitOpen
pull/81034/head
Haris Rozajac 1 year ago committed by GitHub
parent 8435e16215
commit e4a0a6a4ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      packages/grafana-ui/src/components/PanelChrome/PanelContext.ts

@ -6,7 +6,6 @@ import {
DashboardCursorSync,
AnnotationEventUIModel,
ThresholdsConfig,
SplitOpen,
CoreApp,
DataFrame,
DataLinkPostProcessor,
@ -70,13 +69,6 @@ export interface PanelContext {
*/
onThresholdsChange?: (thresholds: ThresholdsConfig) => void;
/**
* onSplitOpen is used in Explore to open the split view. It can be used in panels which has intercations and used in Explore as well.
* For example TimeSeries panel.
* @deprecated will be removed in the future. It's not needed as visualization can just field.getLinks now
*/
onSplitOpen?: SplitOpen;
/** For instance state that can be shared between panel & options UI */
instanceState?: any;

Loading…
Cancel
Save