Commit Graph

122 Commits

Author SHA1 Message Date
Yanzhen Yu
6973ce2c8d resolve #13 add warning messages when target is not found 2019-01-05 14:18:07 +08:00
Yanzhen Yu
727009177b Release 0.7.4 2019-01-01 13:22:26 +08:00
Yanzhen Yu
0d000b55b1 resolve #28, init replayer config in the constructor 2019-01-01 13:21:33 +08:00
Yanzhen Yu
96bb177e84 update Chinese guide doc 2018-12-31 18:12:25 +08:00
Charlie Jonas
d25a96ec63 demonstrating how to stop recording (#20)
* demonstrating how to stop recording

* made record stop example seperate
2018-12-31 17:13:33 +08:00
Daniël van de Giessen
0f227492dc Translated design docs to English (#19)
* Renamed original documentation files

* Add translated English design docs
2018-12-31 17:02:19 +08:00
Yanzhen Yu
576980d7db Release 0.7.3 2018-12-30 21:52:24 +08:00
Yanzhen Yu
d5d051602a update rrweb-snapshot 2018-12-30 21:52:11 +08:00
Yanzhen Yu
8f24cb78b3 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.
2018-12-30 21:46:23 +08:00
Daniël van de Giessen
e563dc1638 Use cross-env for cross-platform scripts, fixes #12. (#17) 2018-12-29 22:31:01 +08:00
Timo M. Staudinger
e2b68e3edb Add LICENSE file (#11)
* Add LICENSE file

* Update LICENSE
2018-12-29 14:55:00 +08:00
Daniël van de Giessen
e6ad2bc1d3 Corrected value for scrollTo behaviour parameter (#18) 2018-12-29 11:19:36 +08:00
Bozhidar Kirev
1ef16d2a54 Fixed typo in guide.md (#8)
supoorted -> supported
2018-12-29 10:13:30 +08:00
Yanzhen Yu
71ea6455c3 update docs and add compatibility note 2018-12-28 11:03:30 +08:00
Yanzhen Yu
f1824fb46f Release 0.7.2 2018-12-27 18:15:24 +08:00
Yanzhen Yu
8221b427a3 fix skip event logic when finding next active event 2018-12-27 18:14:49 +08:00
Yanzhen Yu
a519d00683 Release 0.7.1 2018-12-27 17:44:32 +08:00
Yanzhen Yu
848dab8967 restore speed when finished 2018-12-27 17:44:03 +08:00
Yanzhen Yu
c818b9de3b update docs 2018-12-27 17:13:39 +08:00
Yanzhen Yu
cf11556929 Release 0.7.0 2018-12-27 13:00:38 +08:00
Yanzhen Yu
6d77c502bb update rrweb-snapshot minor version and set max skip speed 2018-12-27 13:00:23 +08:00
Yanzhen Yu
533885a707 export timer to public API 2018-12-26 20:58:14 +08:00
Yanzhen Yu
05b42322d7 emit speed with skip event 2018-12-26 18:14:47 +08:00
Yanzhen Yu
24c5e13fba Release 0.6.12 2018-12-26 18:08:59 +08:00
Yanzhen Yu
aaa8bb9e94 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.
2018-12-26 18:05:55 +08:00
Yanzhen Yu
063f226918 Release 0.6.11 2018-12-25 16:51:10 +08:00
Yanzhen Yu
8bafbe1ec1 add rollup commonjs plugin 2018-12-25 16:50:56 +08:00
Yanzhen Yu
b5b2fafb11 Release 0.6.10 2018-12-25 16:31:04 +08:00
Yanzhen Yu
db86ca13fa fix some safari's scroll related issue 2018-12-25 16:30:36 +08:00
Yanzhen Yu
5a073209e9 improve README grammer 2018-12-22 21:43:51 +08:00
Yanzhen Yu
d03164e8d5 Release 0.6.9 2018-12-21 22:33:50 +08:00
Yanzhen Yu
b7cf1548a3 update rrweb-snapshot 2018-12-21 22:33:38 +08:00
Yanzhen Yu
9cfad3c5a4 Release 0.6.8 2018-12-21 14:31:32 +08:00
Yanzhen Yu
f1fbb9d07e safely scroll element since its last event may fired after being removed 2018-12-21 14:31:19 +08:00
Yanzhen Yu
b3412b1d46 fix resolve missing node when target has both previous and next missing node 2018-12-20 17:29:03 +08:00
Yanzhen Yu
097321619c check is dropped and is removed by ancestors instead of only check parent 2018-12-20 15:29:02 +08:00
Yanzhen Yu
661fa6c7eb Add missingNodeRetryMap
Use a global missing node retry map to handle missing node that
has not been resolved in the same round.
2018-12-20 14:46:58 +08:00
Yanzhen Yu
8aa7702940 init chinese guide 2018-12-19 18:36:53 +08:00
Yanzhen Yu
fc4e5164a2 rename record only bundle iife name 2018-12-18 17:52:17 +08:00
Yanzhen Yu
ebe3dc8f94 add README in English 2018-12-17 16:17:16 +08:00
Yanzhen Yu
bd0e6c98d3 Release 0.6.7 2018-12-14 14:12:07 +08:00
Yanzhen Yu
df1b3d50b7 fix resume to move baseline time by time offset 2018-12-14 14:11:49 +08:00
Yanzhen Yu
a5d0eaa451 only add click animation when cast is not sync 2018-12-14 13:52:47 +08:00
Yanzhen Yu
0892df5512 Release 0.6.6 2018-12-14 13:43:37 +08:00
Yanzhen Yu
b9e4117810 fix timer requestAnimationFrame call may not stop after clear
Before this patch, the checker in the timer will stop only when
actions array is empty.
When we call play more than once, it will clear the timer first,
then  push filtered new actions and start the timer again. If
all of this happened in a frame, the checker which should be
cleared may found actions array is not empty and keep check.
So this patch we use timer.raf to hold raf's handle and cancel
it when clear was called.
2018-12-14 13:37:00 +08:00
Yanzhen Yu
6e41bc3bfa add some unit tests to replayer 2018-12-14 13:35:10 +08:00
Yanzhen Yu
2946e11d90 Release 0.6.5 2018-12-07 17:16:24 +08:00
Yanzhen Yu
c5998d70a3 prevent scroll when dispatch focus 2018-12-07 17:16:01 +08:00
Yanzhen Yu
fda6d1c873 emit pause and resume events 2018-12-06 18:04:40 +08:00
Yanzhen Yu
9d627d1912 fix mouse move time offset may be mutated multiple times 2018-12-06 17:29:19 +08:00