From 30426e0ccfff1af8a2f248b53d8f10b3ef1b51b1 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Wed, 22 Oct 2025 13:49:20 +0100 Subject: [PATCH] remove TracePageHeader barrel file --- eslint-suppressions.json | 5 ----- .../app/features/explore/TraceView/TraceView.tsx | 2 +- .../components/TracePageHeader/index.tsx | 15 --------------- 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 public/app/features/explore/TraceView/components/TracePageHeader/index.tsx diff --git a/eslint-suppressions.json b/eslint-suppressions.json index 017af78d52f..5969f507211 100644 --- a/eslint-suppressions.json +++ b/eslint-suppressions.json @@ -2967,11 +2967,6 @@ "count": 1 } }, - "public/app/features/explore/TraceView/components/TracePageHeader/index.tsx": { - "no-barrel-files/no-barrel-files": { - "count": 1 - } - }, "public/app/features/explore/TraceView/components/TraceTimelineViewer/ListView/index.tsx": { "react-prefer-function-component/react-prefer-function-component": { "count": 1 diff --git a/public/app/features/explore/TraceView/TraceView.tsx b/public/app/features/explore/TraceView/TraceView.tsx index b9d185aab75..d9fe8698444 100644 --- a/public/app/features/explore/TraceView/TraceView.tsx +++ b/public/app/features/explore/TraceView/TraceView.tsx @@ -30,8 +30,8 @@ import { useDispatch, useSelector } from 'app/types/store'; import { changePanelState } from '../state/explorePane'; import memoizedTraceCriticalPath from './components/CriticalPath'; -import { TracePageHeader } from './components/TracePageHeader'; import SpanGraph from './components/TracePageHeader/SpanGraph'; +import { TracePageHeader } from './components/TracePageHeader/TracePageHeader'; import TraceTimelineViewer from './components/TraceTimelineViewer'; import { TraceFlameGraphs } from './components/TraceTimelineViewer/SpanDetail'; import { SpanBarOptionsData } from './components/settings/SpanBarSettings'; diff --git a/public/app/features/explore/TraceView/components/TracePageHeader/index.tsx b/public/app/features/explore/TraceView/components/TracePageHeader/index.tsx deleted file mode 100644 index 4f828881708..00000000000 --- a/public/app/features/explore/TraceView/components/TracePageHeader/index.tsx +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) 2017 Uber Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -export { TracePageHeader } from './TracePageHeader';