From 4ecddb820a30d9c8b338d96bb1403b5b84a36035 Mon Sep 17 00:00:00 2001 From: Priscila Oliveira Date: Wed, 28 Aug 2024 09:35:36 +0200 Subject: [PATCH] ref(grouping-title-ui): Remove remaining three label code (#76652) --- static/app/types/event.tsx | 18 ------------------ tests/js/sentry-test/performance/utils.ts | 4 ---- 2 files changed, 22 deletions(-) diff --git a/static/app/types/event.tsx b/static/app/types/event.tsx index 36be2bc7c85fda..11b00906b7bb47 100644 --- a/static/app/types/event.tsx +++ b/static/app/types/event.tsx @@ -233,29 +233,11 @@ export type ExceptionType = { values?: Array; }; -export type TreeLabelPart = - | string - | { - classbase?: string; - datapath?: (string | number)[]; - filebase?: string; - function?: string; - is_prefix?: boolean; - // is_sentinel is no longer being used, - // but we will still assess whether we will use this property in the near future. - is_sentinel?: boolean; - package?: string; - type?: string; - }; - // This type is incomplete export type EventMetadata = { current_level?: number; - current_tree_label?: TreeLabelPart[]; directive?: string; - display_title_with_tree_label?: boolean; filename?: string; - finest_tree_label?: TreeLabelPart[]; function?: string; message?: string; origin?: string; diff --git a/tests/js/sentry-test/performance/utils.ts b/tests/js/sentry-test/performance/utils.ts index a920c9ddad1119..f49364fb0731b2 100644 --- a/tests/js/sentry-test/performance/utils.ts +++ b/tests/js/sentry-test/performance/utils.ts @@ -87,11 +87,7 @@ export class TransactionEventBuilder { perfProblem: undefined, metadata: { current_level: undefined, - current_tree_label: undefined, - directive: undefined, - display_title_with_tree_label: undefined, filename: undefined, - finest_tree_label: undefined, function: undefined, message: undefined, origin: undefined,