-
Notifications
You must be signed in to change notification settings - Fork 143
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
chore: add posthog built rrweb #1770
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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
Added PostHog's custom-built rrweb packages as development dependencies and created a new entry point for session recording functionality.
- Added
@posthog/rrweb-plugin-console-record
,@posthog/rrweb-record
, and@posthog/rrweb-types
at version0.0.9
inpackage.json
- Created new entry point in
/src/entrypoints/posthog-recorder.ts
that imports from PostHog's custom rrweb packages - Implemented extensive network recording functionality in the new file with observers for performance entries, XHR, and fetch requests
- Added backward compatibility by attaching functions to both
window.__PosthogExtensions__
and directly towindow
- Included temporary network recording implementation that will eventually be replaced by official rrweb code
2 file(s) reviewed, 4 comment(s)
Edit PR Review Bot Settings | Greptile
Size Change: 0 B Total Size: 3.54 MB ℹ️ View Unchanged
|
Adds the option of loading the posthog built rrweb instead of rrweb one
Doesn't use it anywhere. But will make it available for testing