diff --git a/public/app/features/explore/TraceView/TraceView.tsx b/public/app/features/explore/TraceView/TraceView.tsx index 8b6f5e07247..4f93f022dce 100644 --- a/public/app/features/explore/TraceView/TraceView.tsx +++ b/public/app/features/explore/TraceView/TraceView.tsx @@ -121,7 +121,6 @@ export function TraceView(props: Props) { childrenHiddenIDs, detailStates, hoverIndentGuideIds, - shouldScrollToFirstUiFindMatch: false, spanNameColumnWidth, traceID: props.traceProp?.traceID, }), @@ -191,7 +190,6 @@ export function TraceView(props: Props) { )} | TNil; - scrollToFirstVisibleSpan: () => void; registerAccessors: (accesors: Accessors) => void; trace: Trace; spanBarOptions: SpanBarOptions | undefined; linksGetter: (span: TraceSpan, items: TraceKeyValuePair[], itemIndex: number) => TraceLink[]; childrenToggle: (spanID: string) => void; - clearShouldScrollToFirstUiFindMatch: () => void; detailLogItemToggle: (spanID: string, log: TraceLog) => void; detailLogsToggle: (spanID: string) => void; detailWarningsToggle: (spanID: string) => void; @@ -224,14 +222,7 @@ export class UnthemedVirtualizedTraceView extends React.Component) { const { registerAccessors, trace, headerHeight } = prevProps; const { - shouldScrollToFirstUiFindMatch, - clearShouldScrollToFirstUiFindMatch, - scrollToFirstVisibleSpan, registerAccessors: nextRegisterAccessors, setTrace, trace: nextTrace, @@ -259,11 +247,6 @@ export class UnthemedVirtualizedTraceView extends React.Component { export type TProps = TExtractUiFindFromStateReturn & { registerAccessors: (accessors: Accessors) => void; findMatchesIDs: Set | TNil; - scrollToFirstVisibleSpan: () => void; traceTimeline: TTraceTimeline; trace: Trace; datasourceType: string; @@ -91,7 +90,6 @@ export type TProps = TExtractUiFindFromStateReturn & { expandOne: (spans: TraceSpan[]) => void; childrenToggle: (spanID: string) => void; - clearShouldScrollToFirstUiFindMatch: () => void; detailLogItemToggle: (spanID: string, log: TraceLog) => void; detailLogsToggle: (spanID: string) => void; detailWarningsToggle: (spanID: string) => void; diff --git a/public/app/features/explore/TraceView/components/types/TTraceTimeline.tsx b/public/app/features/explore/TraceView/components/types/TTraceTimeline.tsx index 2441cc05af5..38c6900b674 100644 --- a/public/app/features/explore/TraceView/components/types/TTraceTimeline.tsx +++ b/public/app/features/explore/TraceView/components/types/TTraceTimeline.tsx @@ -20,7 +20,6 @@ type TTraceTimeline = { childrenHiddenIDs: Set; detailStates: Map; hoverIndentGuideIds: Set; - shouldScrollToFirstUiFindMatch: boolean; spanNameColumnWidth: number; traceID: string | TNil; };