Browse Source

ref(grouping-title-ui): Remove remaining three label code (#76652)

Priscila Oliveira 6 months ago
parent
commit
4ecddb820a
2 changed files with 0 additions and 22 deletions
  1. 0 18
      static/app/types/event.tsx
  2. 0 4
      tests/js/sentry-test/performance/utils.ts

+ 0 - 18
static/app/types/event.tsx

@@ -233,29 +233,11 @@ export type ExceptionType = {
   values?: Array<ExceptionValue>;
 };
 
-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;

+ 0 - 4
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,