Commit Graph

180 Commits

Author SHA1 Message Date
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
Yanzhen Yu
107296eee3 add the inline stylesheet option when recording 2019-05-12 21:10:34 +08:00
Yanzhen Yu
adaeed0227 fix #66 update npm files and dependencies 2019-05-12 16:06:43 +08:00
Yanzhen Yu
5ccd6d374f Release 0.7.12 2019-04-14 16:12:41 +08:00
Yanzhen Yu
2d8d4b0c19 fix #62 accept RegExp type block class config 2019-04-14 16:11:54 +08:00
Yanzhen Yu
faed623986 resume with time offset when after wait stylesheet load 2019-04-09 17:00:02 +08:00
Yanzhen Yu
dcc7b925fe fix character data test snapshot with latest puppeteer 2019-04-05 14:20:01 +08:00
Yanzhen Yu
faebeb08eb update typescript and fix test cases 2019-04-02 21:38:52 +08:00
Yanzhen Yu
059cbe4fd8 move browser related APIs into runtime 2019-04-02 21:29:14 +08:00
Yanzhen Yu
8e90801daf Release 0.7.10 2019-04-02 13:38:38 +08:00
Yanzhen Yu
c04e4bf0a5 impl #23 add custom privacy selectors 2019-04-02 00:25:08 +08:00
Yanzhen Yu
c7fc6900d4 update dependency rrweb-snapshot 2019-04-01 11:52:51 +08:00
Yanzhen Yu
d9ffe4c736 check attribute is null instead of any falsy value 2019-02-17 15:54:14 +08:00
Yanzhen Yu
65fd31487c Release 0.7.9 2019-02-08 09:09:23 +08:00
Yanzhen Yu
406e7a8d39 update mutation observer handler
1. deep delete from adds set when node was dropped
2. remove node from dropped set when node was added again
2019-02-03 23:07:35 +08:00
Yanzhen Yu
a69bf87f7f check whether the removed node's ancestors has been removed 2019-02-01 23:13:00 +08:00
Yanzhen Yu
ebd1457ce2 turn some warning message into debug message 2019-01-30 00:47:41 +08:00
Yanzhen Yu
5cc25b0ac1 add company info 2019-01-26 20:16:02 +08:00
Yanzhen Yu
d60246964e update auto play option in the guide 2019-01-25 18:29:57 +08:00
Yanzhen Yu
3ce4c76e60 Release 0.7.8 2019-01-25 18:26:16 +08:00
yz-yu
22330207eb 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.
2019-01-25 18:25:35 +08:00
Yanzhen Yu
6abf4fd4a0 move all events to an enum and update guide 2019-01-25 17:18:51 +08:00
Yanzhen Yu
079880be1e Release 0.7.7 2019-01-24 18:44:58 +08:00
Yanzhen Yu
264c04b3d6 resolve #47 update dependency 2019-01-24 18:44:37 +08:00
Yanzhen Yu
f03202fcec resolve #48 check focus and blur before call since the target can be HTMLDocument in firefox 2019-01-23 15:02:13 +08:00
Yanzhen Yu
bd5dc7e077 Release 0.7.6 2019-01-21 19:54:52 +08:00
yz-yu
128deca040 update dependencies and generate typings (#44) 2019-01-21 19:54:21 +08:00
yz-yu
3daedfa284 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
2019-01-21 19:18:51 +08:00