PanelContext: Remove deprecated onSplitOpen (#80087)

Remove deprecated onSplitOpen
This commit is contained in:
Haris Rozajac 2024-01-23 07:13:17 -07:00 committed by GitHub
parent 8435e16215
commit e4a0a6a4ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;