Commit Graph

109 Commits

Author SHA1 Message Date
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
Yanzhen Yu
af44982a79 update puppeteer to use setContent with wait and housekeeping the declaration files 2018-12-03 13:10:06 +08:00
Yanzhen Yu
8da0989710 Release 0.6.4 2018-12-02 23:24:16 +08:00
Yanzhen Yu
2c9db926c0 resolve #1 add ignore and block strategy for privacy purpose 2018-12-02 23:23:21 +08:00
Yanzhen Yu
78967192fc return stopper function as the result of record 2018-12-02 22:37:28 +08:00
Yanzhen Yu
b7e7f12d32 new sandbox strategy
In this commit we switched the sandbox strategy to use iframe's
sandbox attribute. Indeed we do not need delegate event anymore,
but need to add some styles into the iframe.
The details were documented in the sandbox part of internal design.
2018-11-27 17:04:30 +08:00
Yanzhen Yu
b3edcb30ad fix script tag in repl mode 2018-11-27 15:18:37 +08:00
Yanzhen Yu
f2e7f2b346 Release 0.6.3 2018-11-27 13:35:02 +08:00
Yanzhen Yu
be73853bff add release-it config 2018-11-27 13:34:50 +08:00
Yanzhen Yu
2c0a0edf36 basic impl of wait for stylesheet loaded 2018-11-26 18:19:07 +08:00
Yanzhen Yu
9228a8f04a Release 0.6.2 2018-11-23 23:18:11 +08:00
Yanzhen Yu
2ed5a41708 update dependency 2018-11-23 23:15:51 +08:00
Yanzhen Yu
5b61d98f8b check interaction target before apply 2018-11-23 20:02:18 +08:00
Yanzhen Yu
86286ddb94 check parentNode when calling insertBefore
When add new nodes, we may use insertBefore API to insert node before
its next sibling. But the sibling may not in the DOM tree at that
moment if it was in the missing node map.
2018-11-23 18:08:37 +08:00