-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π fix frustration animation in session replay (#1999)
* π fix frustration animation in session replay Frustration records used to reference MouseInteraction/Click records. Since Click Actions are now generated based on mouseup events, we broke this reference. There is no MouseInteraction/PointerUp record that Frustration can reference. This commit is a quick fix. It changes how we are generating MouseInteraction/MouseUp records: instead of listening to mouseup DOM events, we now listen to pointerup events, allowing Frustration records to reference MouseInteraction/MouseUp records. This works on the player side without any modification. In the context of supporting Mobile Session Replay, we introduced `PointerInteraction` records used by the Mobile SDKs in place of `MouseInteraction`. In the future, it would be great to replace `MouseInteraction` by `PointerInteraction` in the Browser SDK so we have an uniform way to convey such interaction. This would cleanly solve the issue since we would have `PointerInteraction/Up` records that we could reference from `Frustration` records. * β adjust unit tests
- Loading branch information
1 parent
81296f9
commit 4fd5ebe
Showing
3 changed files
with
41 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters