Skip to content

Commit 96263f2

Browse files
committed
Do not add componentName as data in replay payload
1 parent 6db53ea commit 96263f2

File tree

5 files changed

+0
-8
lines changed

5 files changed

+0
-8
lines changed

packages/browser-integration-tests/suites/replay/keyboardEvents/test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ sentryTest('captures keyboard events', async ({ forceFlushReplay, getLocalTestPa
7575
ctrlKey: true,
7676
altKey: false,
7777
key: 'Control',
78-
componentName: 'body',
7978
},
8079
},
8180
{
@@ -91,7 +90,6 @@ sentryTest('captures keyboard events', async ({ forceFlushReplay, getLocalTestPa
9190
ctrlKey: true,
9291
altKey: false,
9392
key: 'A',
94-
componentName: 'body',
9593
},
9694
},
9795
{
@@ -107,7 +105,6 @@ sentryTest('captures keyboard events', async ({ forceFlushReplay, getLocalTestPa
107105
tagName: 'input',
108106
textContent: '',
109107
},
110-
componentName: 'body > input#input',
111108
},
112109
},
113110
]);

packages/browser-integration-tests/utils/replayEventTemplates.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ export const expectedClickBreadcrumb = {
212212
tagName: expect.any(String),
213213
textContent: expect.any(String),
214214
},
215-
componentName: expect.any(String),
216215
},
217216
};
218217

packages/replay/src/coreHandlers/handleDom.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ export function getBaseDomBreadcrumb(target: Node | null, message: string): Brea
7070
.map(text => (text as string).trim())
7171
.join(''),
7272
attributes: getAttributesToRecord(element.attributes),
73-
componentName: getElementIdentifier(target),
7473
},
7574
}
7675
: {},

packages/replay/src/coreHandlers/handleKeyboardEvent.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export function getKeyboardBreadcrumb(event: KeyboardEvent): Breadcrumb | null {
5858
ctrlKey,
5959
altKey,
6060
key,
61-
componentName: getElementIdentifier(target),
6261
},
6362
});
6463
}

packages/replay/test/unit/coreHandlers/handleKeyboardEvent.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ describe('Unit | coreHandlers | handleKeyboardEvent', () => {
3939
key: 'Escape',
4040
metaKey: false,
4141
shiftKey: false,
42-
componentName: 'body',
4342
},
4443
message: 'body',
4544
timestamp: expect.any(Number),
@@ -70,7 +69,6 @@ describe('Unit | coreHandlers | handleKeyboardEvent', () => {
7069
key,
7170
metaKey: false,
7271
shiftKey: false,
73-
componentName: 'body',
7472
},
7573
message: 'body',
7674
timestamp: expect.any(Number),

0 commit comments

Comments
 (0)