-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: switch playback to our own rrweb #28148
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR switches from using the original rrweb packages to PostHog's own published versions, aiming to incorporate features from v13 through v18+/HEAD.
- Replaces
[email protected]
and related packages with@posthog/[email protected]
and its corresponding packages inpackage.json
- Updates all imports from
@rrweb/*
to@posthog/rrweb*
across multiple files while maintaining existing type definitions - Enhances
rr-web-schema.json
with more detailed type definitions and node serialization support - Adds decompression logic and improved error handling in
sessionRecordingDataLogic.ts
- Potential concern: Version downgrade from 2.0.0-alpha to 0.0.4 could introduce compatibility issues
24 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
"attributes": { | ||
"additionalProperties": { | ||
"type": ["string", "number", "boolean", "null"] | ||
}, | ||
"properties": { | ||
"_cssText": { | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: New attributes definition allows for CSS text but doesn't restrict other attribute types - could potentially allow invalid attribute values through
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
Size Change: -5 B (0%) Total Size: 1.16 MB ℹ️ View Unchanged
|
we're publishing
@posthog/rrweb*
nowusing it in the player should be safe, and get us all the missing things between v13 and v18+/HEAD