Skip to content

Commit bca10ce

Browse files
authored
chore(replay): Cleanup unused replayRecord.clicks field from types (#97592)
1 parent f795149 commit bca10ce

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

static/app/views/replays/types.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@ export type HydratedReplayRecord = {
2020
name: null | string;
2121
version: null | string;
2222
};
23-
clicks: Array<{
24-
['click.alt']: string | null;
25-
['click.class']: string | null;
26-
['click.component_name']: string | null;
27-
['click.id']: string | null;
28-
['click.label']: string | null;
29-
['click.role']: string | null;
30-
['click.tag']: string | null;
31-
['click.testid']: string | null;
32-
['click.text']: string | null;
33-
['click.title']: string | null;
34-
}>;
3523
/**
3624
* The number of dead clicks associated with the replay.
3725
*/
@@ -138,7 +126,6 @@ type ArchivedReplayRecord = {
138126
name: null;
139127
version: null;
140128
};
141-
clicks: never[];
142129
count_dead_clicks: null;
143130
count_errors: null;
144131
count_infos: null;
@@ -266,7 +253,6 @@ export type ReplayListRecord = Pick<
266253
ReplayRecord,
267254
| 'activity'
268255
| 'browser'
269-
| 'clicks'
270256
| 'count_dead_clicks'
271257
| 'count_errors'
272258
| 'count_infos'

tests/js/fixtures/replayList.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export function ReplayListFixture(
1515
name: 'Firefox',
1616
version: '111.0',
1717
},
18-
clicks: [],
1918
count_dead_clicks: 0,
2019
count_errors: 0,
2120
count_infos: 0,

tests/js/fixtures/replayRecord.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export function ReplayRecordFixture(
77
): HydratedReplayRecord {
88
return {
99
activity: 0,
10-
clicks: [],
1110
browser: {
1211
name: 'Other',
1312
version: '',

0 commit comments

Comments
 (0)