Commit Graph

138 Commits

Author SHA1 Message Date
yz-yu
4a2c733583 improve mouse record and replay (#49)
Increase the throttle value of collecting mouse move and add a
transition time to the replayer's mouse. This may decrease the
size of mouse move data and make the replay movement more smooth.
Another change is to move and hover when click event is replayed.
This is to improve the replay of some programmatic click, such as
E2E tests.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
e2bc867b2e move all events to an enum and update guide 2026-04-01 12:00:00 +08:00
Yanzhen Yu
3c51f79229 Release 0.7.7 2026-04-01 12:00:00 +08:00
Yanzhen Yu
34571ad708 resolve #47 update dependency 2026-04-01 12:00:00 +08:00
Yanzhen Yu
384227d0df resolve #48 check focus and blur before call since the target can be HTMLDocument in firefox 2026-04-01 12:00:00 +08:00
Yanzhen Yu
fdda3c7e99 Release 0.7.6 2026-04-01 12:00:00 +08:00
yz-yu
329de4e9f7 update dependencies and generate typings (#44) 2026-04-01 12:00:00 +08:00
yz-yu
ca61d6b19e fix remove node observer and check on the result of getNode (#43)
* check removed node and its parent before collect

* add more more checks on the result of getNode
2026-04-01 12:00:00 +08:00
Yanzhen Yu
7e337d4f4e Release 0.7.5 2026-04-01 12:00:00 +08:00
Mike MacCana
2a4c40ff0b Small fixes to English around rrwebRecord / rrweb.record (#41)
* Small fixes to English around rrwebRecord / rrweb.record

* Fix missing word
2026-04-01 12:00:00 +08:00
Yanzhen Yu
eb29b74281 repl: reset events when start and add types to inquirer prompt 2026-04-01 12:00:00 +08:00
Rongjian Zhang
09117796bd REPL tool enhancement (#21)
* exit after record saved

* refactor: use inquirer instead of low level readline

* feat: ask user if record another one, instead of exit
2026-04-01 12:00:00 +08:00
yz-yu
081781d1ca add checkout config to recorder (#36)
* add checkout config to recorder

* add test cases for checkout feature and extract assertSnapshot method
2026-04-01 12:00:00 +08:00
Yanzhen Yu
d72a15fd1b expose iframe as public property 2026-04-01 12:00:00 +08:00
Yanzhen Yu
1dd69c7662 add gitter badge to Chinese README 2026-04-01 12:00:00 +08:00
The Gitter Badger
924ce4b082 Add Gitter badge (#35) 2026-04-01 12:00:00 +08:00
Yanzhen Yu
21465e785f resolve #13 add warning messages when target is not found 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ac6c1fc360 Release 0.7.4 2026-04-01 12:00:00 +08:00
Yanzhen Yu
21ba657653 resolve #28, init replayer config in the constructor 2026-04-01 12:00:00 +08:00
Yanzhen Yu
fc941aa89e update Chinese guide doc 2026-04-01 12:00:00 +08:00
Charlie Jonas
fac101f3c7 demonstrating how to stop recording (#20)
* demonstrating how to stop recording

* made record stop example seperate
2026-04-01 12:00:00 +08:00
Daniël van de Giessen
1a1f6d69a3 Translated design docs to English (#19)
* Renamed original documentation files

* Add translated English design docs
2026-04-01 12:00:00 +08:00
Yanzhen Yu
8b25f74cc5 Release 0.7.3 2026-04-01 12:00:00 +08:00
Yanzhen Yu
d6a77c440e update rrweb-snapshot 2026-04-01 12:00:00 +08:00
Yanzhen Yu
e4cb91e1e6 fix block strategy
If an element was blocked, its child nodes should also be blocked.
The interactions and mutations on the element and its child nodes
also need to be blocked.
2026-04-01 12:00:00 +08:00
Daniël van de Giessen
c603ff3b1e Use cross-env for cross-platform scripts, fixes #12. (#17) 2026-04-01 12:00:00 +08:00
Timo M. Staudinger
34916dc674 Add LICENSE file (#11)
* Add LICENSE file

* Update LICENSE
2026-04-01 12:00:00 +08:00
Daniël van de Giessen
8ee8bc24d5 Corrected value for scrollTo behaviour parameter (#18) 2026-04-01 12:00:00 +08:00
Bozhidar Kirev
817d191560 Fixed typo in guide.md (#8)
supoorted -> supported
2026-04-01 12:00:00 +08:00
Yanzhen Yu
ee41434a70 update docs and add compatibility note 2026-04-01 12:00:00 +08:00
Yanzhen Yu
403cd275fc Release 0.7.2 2026-04-01 12:00:00 +08:00
Yanzhen Yu
203122630c fix skip event logic when finding next active event 2026-04-01 12:00:00 +08:00
Yanzhen Yu
de3392be09 Release 0.7.1 2026-04-01 12:00:00 +08:00
Yanzhen Yu
07cf74ca78 restore speed when finished 2026-04-01 12:00:00 +08:00
Yanzhen Yu
a5f6cb92c7 update docs 2026-04-01 12:00:00 +08:00
Yanzhen Yu
941ecab0c7 Release 0.7.0 2026-04-01 12:00:00 +08:00
Yanzhen Yu
c99cea605c update rrweb-snapshot minor version and set max skip speed 2026-04-01 12:00:00 +08:00
Yanzhen Yu
e8fea1f93b export timer to public API 2026-04-01 12:00:00 +08:00
Yanzhen Yu
68abd28c0a emit speed with skip event 2026-04-01 12:00:00 +08:00
Yanzhen Yu
46f211e579 Release 0.6.12 2026-04-01 12:00:00 +08:00
Yanzhen Yu
73983e7e78 add skipInactive option
Skip inactive time is an important and useful feature. We consider
user interaction events as active, and check next user interaction
event after apply incremental snapshot.
If next user interaction event has a time gap larger than the
threshold, we will set a dynamic speed value which will skip the
inactive time interval in about 5 seconds.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
366360c995 Release 0.6.11 2026-04-01 12:00:00 +08:00
Yanzhen Yu
3e2bf7fdc5 add rollup commonjs plugin 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ec7bc50574 Release 0.6.10 2026-04-01 12:00:00 +08:00
Yanzhen Yu
b093fa6015 fix some safari's scroll related issue 2026-04-01 12:00:00 +08:00
Yanzhen Yu
1fa40d751c improve README grammer 2026-04-01 12:00:00 +08:00
Yanzhen Yu
70a4cd59f0 Release 0.6.9 2026-04-01 12:00:00 +08:00
Yanzhen Yu
5794aa9481 update rrweb-snapshot 2026-04-01 12:00:00 +08:00
Yanzhen Yu
722f24941b Release 0.6.8 2026-04-01 12:00:00 +08:00
Yanzhen Yu
60dcaadd63 safely scroll element since its last event may fired after being removed 2026-04-01 12:00:00 +08:00