Skip to content

Commit 88d83a5

Browse files
committed
PANA-5615: Add mobile ui element identifier
1 parent 32918d9 commit 88d83a5

5 files changed

Lines changed: 21 additions & 0 deletions

File tree

lib/cjs/generated/mobileSessionReplay.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,10 @@ export interface CommonWireframe {
541541
*/
542542
readonly height: number;
543543
clip?: WireframeClip;
544+
/**
545+
* A globally unique and stable identifier for this UI element, computed as the MD5 hash of the element's canonical path (32 lowercase hex characters).
546+
*/
547+
readonly componentId?: string;
544548
}
545549
/**
546550
* Schema of clipping information for a Wireframe.

lib/cjs/generated/sessionReplay.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,10 @@ export interface CommonWireframe {
13471347
*/
13481348
readonly height: number;
13491349
clip?: WireframeClip;
1350+
/**
1351+
* A globally unique and stable identifier for this UI element, computed as the MD5 hash of the element's canonical path (32 lowercase hex characters).
1352+
*/
1353+
readonly componentId?: string;
13501354
}
13511355
/**
13521356
* Schema of clipping information for a Wireframe.

lib/esm/generated/mobileSessionReplay.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,10 @@ export interface CommonWireframe {
541541
*/
542542
readonly height: number;
543543
clip?: WireframeClip;
544+
/**
545+
* A globally unique and stable identifier for this UI element, computed as the MD5 hash of the element's canonical path (32 lowercase hex characters).
546+
*/
547+
readonly componentId?: string;
544548
}
545549
/**
546550
* Schema of clipping information for a Wireframe.

lib/esm/generated/sessionReplay.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,10 @@ export interface CommonWireframe {
13471347
*/
13481348
readonly height: number;
13491349
clip?: WireframeClip;
1350+
/**
1351+
* A globally unique and stable identifier for this UI element, computed as the MD5 hash of the element's canonical path (32 lowercase hex characters).
1352+
*/
1353+
readonly componentId?: string;
13501354
}
13511355
/**
13521356
* Schema of clipping information for a Wireframe.

schemas/session-replay/mobile/_common-wireframe-schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
},
3434
"clip": {
3535
"$ref": "wireframe-clip-schema.json"
36+
},
37+
"componentId": {
38+
"type": "string",
39+
"description": "A globally unique and stable identifier for this UI element, computed as the MD5 hash of the element's canonical path (32 lowercase hex characters).",
40+
"readOnly": true
3641
}
3742
}
3843
}

0 commit comments

Comments
 (0)