Uh oh!
There was an error while loading. Please reload this page.
feat(replay): Add ReplayCanvas integration - #10112
Conversation
size-limit report 📦
|
billyvg
commented
Jan 8, 2024
@mydea works if it's in a sep package, but still need to test that canvas recording still works (though the e2e test should confirm this) |
mydea
commented
Jan 9, 2024
hmm wtf, but well, good :D if that fixes it, amazing! |
billyvg
commented
Jan 9, 2024
@mydea a few questions:
|
This simplifies the code a bit by exporting the CanvasManager directly. With [ReplayCanvas](getsentry/sentry-javascript#10112), we can rely on it for complex setup, but keeps it simple for our users.
This simplifies the code a bit by exporting the CanvasManager directly. With [ReplayCanvas](getsentry/sentry-javascript#10112), we can rely on it for complex setup, but keeps it simple for our users.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This simplifies the code a bit by exporting the CanvasManager directly. With [ReplayCanvas](getsentry/sentry-javascript#10112), we can rely on it for complex setup, but keeps it simple for our users.
This simplifies the code a bit by exporting the CanvasManager directly. With [ReplayCanvas](getsentry/sentry-javascript#10112), we can rely on it for complex setup, but keeps it simple for our users.
| - name: npm | ||
| id: '@sentry-internal/feedback' | ||
| includeNames: /^sentry-internal-feedback-\d.*\.tgz$/ | ||
| ## 1.8 ReplayCanvas package (browser only) |
There was a problem hiding this comment.
Do we need to publish this? Or could we just inline this into browser/replay, same as we do with e.g. replay-worker? IMHO if we can avoid to publish it, we should!
There was a problem hiding this comment.
@mydea I added this back, it's been a pain trying to test this package without it being published. e.g. in my test app, I'll use yalc to add @sentry/browser @sentry/replay, but yarn will complain:
error Couldn't find package "@sentry-internal/replay-canvas@7.93.0" required by "@sentry/browser@file:.yalc/@sentry/browser" on the "npm" registry.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
3e11d66 to
86ce591Compare#153) This simplifies the code a bit by exporting the CanvasManager directly. With [ReplayCanvas](getsentry/sentry-javascript#10112), we can rely on it for complex setup, but keeps it simple for our users.
b39c5fe to
d001529Compare9dd8cfe to
b87f421Compare#153) This simplifies the code a bit by exporting the CanvasManager directly. With [ReplayCanvas](getsentry/sentry-javascript#10112), we can rely on it for complex setup, but keeps it simple for our users.
Adding this integration in addition to
Replaywill set up canvas recording.