forked from rrweb-io/rrweb
-
Notifications
You must be signed in to change notification settings - Fork 0
changes in rrweb based on ue-sdk #7
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
Open
kanishq1
wants to merge
2
commits into
master
Choose a base branch
from
chore/session-changes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Empty file.
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@rrweb/rrweb-plugin-canvas-webrtc-replay": patch | ||
"@rrweb/rrweb-plugin-sequential-id-replay": patch | ||
"@rrweb/rrweb-plugin-console-replay": patch | ||
"rrweb": patch | ||
--- | ||
|
||
Export `ReplayPlugin` from rrweb directly. Previously we had to do `import type { ReplayPlugin } from 'rrweb/dist/types';` now we can do `import type { ReplayPlugin } from 'rrweb';` |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"rrweb": patch | ||
--- | ||
|
||
Optimize performance of isParentRemoved by converting it to an iterative procedure |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"rrweb-snapshot": patch | ||
"rrweb": patch | ||
--- | ||
|
||
Replay: Replace negative lookbehind in regexes from css parser as it causes issues with Safari 16 |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"rrweb-snapshot": patch | ||
--- | ||
|
||
(when `recordCanvas: true`): ensure we use doc.createElement instead of document.createElement to allow use in non-browser e.g. jsdom environments |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"rrweb": patch | ||
--- | ||
|
||
Refactor to preclude the need for a continuous raf loop running in the background which is related to shadowDom |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
'rrweb': patch | ||
"rrweb": patch | ||
--- | ||
|
||
Return early for child same origin frames |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/dist | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Ignore files for PNPM, NPM and YARN | ||
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const { join } = require('path'); | ||
|
||
/** | ||
* @type {import("puppeteer").Configuration} | ||
*/ | ||
module.exports = { | ||
// Changes the cache location for Puppeteer. | ||
cacheDirectory: join(__dirname, '.cache', 'puppeteer'), | ||
browserRevision: '115.0.5763.0', | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Changelog | ||
|
||
This objective of this document is to track the changes being made in the rrweb package files | ||
|
||
## v0.3.0 | ||
|
||
### Features | ||
|
||
- Added image masking capability on img tags using class selector 'ue-mask' | ||
- Added masking capability on input tags using class selector 'ue-input-mask' | ||
|
||
### Changes | ||
|
||
/packages/rrweb-snapshot/src/snapshot.ts | ||
|
||
- added img masking logic in function serializeElementNode(n, options) on line 793 | ||
|
||
/packages/rrweb/src/record/mutation.ts | ||
|
||
- added mutation logic for masking img in function processMutation on line 670 | ||
|
||
/packages/rrweb/src/record/observer.ts | ||
|
||
- added masking logic for input tags in function eventHandler on line 470 | ||
|
||
/packages/rrweb/src/record/index.ts | ||
|
||
- added property 'maskInputClass' on line number 76 and 530 inside record and observe functions. | ||
|
||
/packages/rrweb/src/types.ts | ||
|
||
- updated types recordOptions and observeParam, added maskTextClass property in both. | ||
|
||
## v0.3.4 | ||
|
||
### Fix | ||
|
||
- Memory leak issues on IframeManager and observers | ||
|
||
### Changes | ||
|
||
/packages/rrweb/src/record/observer.ts | ||
|
||
- flushMutationBuffers() added to clear mutationBuffers | ||
|
||
/packages/rrweb/src/record/iframe-manager.ts | ||
|
||
- function to cleanup handleMessage() in eventListener | ||
|
||
/packages/rrweb/src/record/index.ts | ||
|
||
- calling flushMutationBuffers & IframeManger cleanup() in record() |
This file contains hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,8 @@ | |
|
||
[](https://join.slack.com/t/rrweb/shared_invite/zt-siwoc6hx-uWay3s2wyG8t5GpZVb8rWg) | ||
[](https://twitter.com/rrweb_io) | ||
 | ||
 | ||
 | ||
 | ||
[](https://www.jsdelivr.com/package/npm/rrweb) | ||
|
||
[中文文档](./README.zh_CN.md) | ||
|
@@ -39,9 +39,7 @@ rrweb is mainly composed of 3 parts: | |
|
||
## Roadmap | ||
|
||
- rrdom: an ad-hoc DOM for rrweb session data [#419](https://github.com/rrweb-io/rrweb/issues/419) | ||
- storage engine: do deduplication on a large number of rrweb sessions | ||
- more end-to-end tests | ||
- compact mutation data in common patterns | ||
- provide plugins via the new plugin API, including: | ||
- XHR plugin | ||
|
@@ -166,7 +164,7 @@ In addition to adding integration tests and unit tests, rrweb also provides a RE | |
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/Juice10"> | ||
<a href="https://github.com/juice10"> | ||
<img | ||
src="https://avatars.githubusercontent.com/u/4106?s=100" | ||
width="100px;" | ||
|
@@ -199,15 +197,15 @@ In addition to adding integration tests and unit tests, rrweb also provides a RE | |
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://cux.io" target="_blank"> | ||
<img style="padding: 8px" alt="The first ever UX automation tool" width="195px" src="https://cux.io/cux-logo.svg"> | ||
<a href="https://recordonce.com/" target="_blank"> | ||
<img width="195px" alt="Smart screen recording for SaaS" src="https://uploads-ssl.webflow.com/5f3d133183156245630d4446/5f3d1940abe8db8612c23521_Record-Once-logo-554x80px.svg"> | ||
</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td align="center"> | ||
<a href="https://recordonce.com/" target="_blank"> | ||
<img width="195px" alt="Smart screen recording for SaaS" src="https://uploads-ssl.webflow.com/5f3d133183156245630d4446/5f3d1940abe8db8612c23521_Record-Once-logo-554x80px.svg"> | ||
<a href="https://cux.io" target="_blank"> | ||
<img style="padding: 8px" alt="The first ever UX automation tool" width="195px" src="https://cux.io/cux-logo.svg"> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
why .vscode changes? don't they correspond to editor config?