Commit Graph

207 Commits

Author SHA1 Message Date
Yanzhen Yu
bf2142cb60 Release 0.7.27 2019-11-24 22:39:34 +08:00
Yanzhen Yu
f30328e40c close #143 tweak the code of iterating iterators
Originally we use Array.from to transform iterator into array.
But we found some framework may overwrite the Array.from with a
pollyfill which was not implement correctly.
2019-11-24 22:33:45 +08:00
Filip Slatinac
130e6b2c60 Changing Array.from to iterators. (#145)
* added our package

* reverted back to old rrweb snapshot

* Array.from does not capture all elements added in the set, we have to manually iterate through the iterator

* package lock
2019-11-24 18:22:13 +08:00
mpstv
6a5d0610b7 Try add configurable threshold for events throttling (#147) 2019-11-16 21:25:34 +08:00
Yanzhen Yu
b183379783 Release 0.7.26 2019-11-09 15:52:04 +08:00
Yanzhen Yu
07a46a5997 close #140 transform mutated attributes 2019-11-09 15:49:36 +08:00
Yanzhen Yu
4426881f1f fix types in replayer unit test 2019-10-12 17:03:22 +08:00
Yanzhen Yu
ff34fb069e fix unit test types 2019-10-12 16:58:35 +08:00
Yanzhen Yu
73fecd62a0 close #138 change source map into a single file 2019-10-04 23:17:45 +08:00
Yanzhen Yu
0399bb9595 Release 0.7.25 2019-09-19 10:23:40 +08:00
yz-yu
b64e1492ab add hooks API (#132) 2019-09-17 23:33:38 +08:00
Yanzhen Yu
a5152de531 Release 0.7.24 2019-08-31 16:18:35 +08:00
Yanzhen Yu
c1010c54f2 update rrweb-snapshot to fix #129 2019-08-31 16:16:06 +08:00
Yanzhen Yu
d716a8e41f Release 0.7.23 2019-08-12 21:56:11 +08:00
Yanzhen Yu
487165791a re-add addCustomEvent function via function property 2019-08-12 21:52:24 +08:00
Yanzhen Yu
3beb57273e Revert "temp revert #81"
This reverts commit 835161c737.
2019-08-12 21:26:35 +08:00
Yanzhen Yu
956afc7e80 Release 0.7.22 2019-08-12 21:25:05 +08:00
Yanzhen Yu
c00c4ad646 update mask option test snapshot 2019-08-12 21:24:47 +08:00
Yanzhen Yu
835161c737 temp revert #81
This patch introduce a breaking change in rrweb-record's API, so
we will revert it in 0.7.x and release it in 0.8.
2019-08-12 21:21:53 +08:00
Yanzhen Yu
7ddf1f8ddb Fix #93 update rrweb-snapshot 2019-08-11 20:45:18 +08:00
Yanzhen Yu
d90e1671c1 Release 0.7.21 2019-08-11 14:41:23 +08:00
Yanzhen Yu
a95759fc9c hotfix throttle function args 2019-08-11 14:41:06 +08:00
Yanzhen Yu
dbcf03e415 Release 0.7.20 2019-08-10 17:32:24 +08:00
Yanzhen Yu
af994ac8bb update rrweb-snapshot for css parse fault tolerance 2019-08-10 17:31:59 +08:00
dphuang2
f7a3c992f8 Fix timeOffset on multiple stylesheet loads (#115)
In the case that the replayer triggers multiple FullSnapshot events, it
will call waitForStylesheetLoad multiple times. When the replayer
resumes, it could already have a timeoffset set from a previous
resume in a previous waitForStylesheetLoad call. In this case our new
timeoffset should be the value of our current time in the replay
(timer.timeOffset + getTimeOffset()). To solve this, I created a public
getCurrentTime function which correctly returns the time in the replay
and used that as our new timeoffset when resuming from a stylesheet
load.
2019-08-10 17:29:23 +08:00
Yanzhen Yu
3269089e1f fix#110 add NodeList forEach polyfill 2019-08-07 23:51:40 +08:00
Yanzhen Yu
0efe23f04a update rrweb-snapshot to fix #112 2019-08-07 23:41:05 +08:00
Yanzhen Yu
56c025fde3 close #84 set mousemoveData's source by event source 2019-08-04 15:06:06 +08:00
Yanzhen Yu
7f32fbdd05 Release 0.7.19 2019-08-04 14:53:42 +08:00
yz-yu
bf68088f18 Css parser (#107)
* add gzip size badges

* update rrweb-snapshot which has a performance boost in CSS parsing
2019-08-04 14:52:24 +08:00
shenchenxh
61a3c9f8f6 fix 100 (#102) 2019-07-26 16:21:02 +08:00
Yanzhen Yu
f78070a824 impl #81 custom event
This is the record side impl of custom event, according to the
issue, we may also add first-class support for the custom event
tag like display color labels in the replayer-ui.
2019-07-24 22:32:11 +08:00
dphuang2
b0ee3f8279 added 'pointer-events: none' for Replayer iframe (#96)
'pointer-events: none' prevents the user from interacting with the DOM
inside of the iframe. This prevents accidental tampering by a user when
watching replays such as link clicks or DOM manipulation.

pointer-events supported by 97.15% usage: https://caniuse.com/#feat=pointer-events
2019-07-19 13:24:55 +08:00
Yanzhen Yu
f620f11cb5 Release 0.7.18 2019-07-10 12:35:55 +08:00
肉肉肉肉
b569b84794 new feature: add custom style in replayer (#87)
* new feature: add custom style in replayer

* concat style rules for loop
2019-07-10 12:33:54 +08:00
Yanzhen Yu
a255387230 Release 0.7.17 2019-06-22 23:03:49 +08:00
Yanzhen Yu
d43aa974f5 fix#71 fix touch event listener and throttle touch move callback 2019-06-17 18:07:30 +08:00
Yanzhen Yu
52ec5d435b pass mask input option to snapshot 2019-06-15 14:45:42 +08:00
Yanzhen Yu
a51313d973 tweak some code for mask input option 2019-06-15 14:38:03 +08:00
Sebastian Jakob
189df87b9d Option to mask inputs (#80)
* Option to mask inputs

Added option 'maskAllInputs' to replace all user inputs with an Asterisk.

* Update types.d.ts
2019-06-15 12:52:08 +08:00
Yanzhen Yu
3bd9bcfe73 Release 0.7.16 2019-06-05 17:33:44 +08:00
Yanzhen Yu
d32b31f3e3 remove mitt typings namesapce 2019-06-05 17:33:20 +08:00
Yanzhen Yu
6d3b9c2345 Upgrade the DOM mutation observer
This is an important patch contains some crtical bug fixes for
the DOM mutation observer.
Previously the observer did not handle complex DOM movement very
well. So in this patch we optimized this by distinguishing moved
node better and added a resolving queue to avoid the error caused
by ordering.
2019-06-05 16:39:29 +08:00
Marcos Passos
c1b8651c11 Export useful enums (#77)
Fixes #74
2019-05-31 23:25:44 +08:00
Yanzhen Yu
ac8ec4b24b Release 0.7.15 2019-05-31 15:29:04 +08:00
Yanzhen Yu
627ed9439b emit mouse interaction event during replay 2019-05-31 15:28:45 +08:00
Yanzhen Yu
7292f33767 Release 0.7.14 2019-05-26 16:07:06 +08:00
Yanzhen Yu
560fbea415 update rrweb-snapshot 2019-05-26 16:06:48 +08:00
yz-yu
2398f5c0b1 start to support live mode (#73)
1. add a liveMode flag to config, when liveMode is set, the timer
will keep running even though all the actions casted
2. add a public method addEvent, which will cast newly added event
in sync
3. move mouse in sync mode with the latest position info
2019-05-26 16:02:52 +08:00
Yanzhen Yu
e8de7435eb Release 0.7.13 2019-05-12 21:10:52 +08:00