Commit Graph

1202 Commits

Author SHA1 Message Date
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
Yanzhen Yu
df137a8f3b Release 0.7.11 2019-05-26 16:05:57 +08:00
Yanzhen Yu
40da9ffa2f format code 2019-05-26 16:05:47 +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
Razvan Sandu
9b0c92fd67 Allow rendering image tags inside svgs during replay (#13) 2019-05-23 18:18:10 +08:00
Benoît Zugmeyer
5697c689d9 reuse serialized nodes ids (#12)
* reuse serialized nodes ids

With this patch, each DOM node keeps its id during its existence. This
allows to apply RRWeb events to previous snapshots if needed.

`resetId` has been removed because it loses its meaning: calling it
would not reset the existing nodes ids anymore, only the new ones.

Since we don't reset the id anymore, we may exhaust the available ids
quicker, but Number.MAX_SAFE_INTEGER (2 ** 53 - 1) is pretty large, so I
doubt this'll cause any problem.

* improv TS typing

The `nAsINode` variable was not very elegant.  Simplify this by removing
the cast, and make the INode interface compatible with Node.

* update typings
2019-05-21 17:55:43 +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
bb1fdac86c Release 0.7.10 2019-05-12 21:06:49 +08:00
Yanzhen Yu
0f30dc288c pass inline stylesheet option to iteratly 2019-05-12 21:06:38 +08:00
Yanzhen Yu
adaeed0227 fix #66 update npm files and dependencies 2019-05-12 16:06:43 +08:00
Yanzhen Yu
543cad60e0 Release 0.7.9 2019-05-12 16:04:45 +08:00
Yanzhen Yu
724b67f166 add inline option which can bypass the inline stylesheet 2019-05-12 16:04:14 +08:00
Whalefreezer
78c8c11e6b add support for css @import rules (#11) 2019-05-06 21:56:33 +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
fe6627aed5 Release 0.7.8 2019-04-14 15:59:34 +08:00
Yanzhen Yu
6218745a75 update typings 2019-04-14 15:59:22 +08:00
Yanzhen Yu
ea59841415 Release 0.7.7 2019-04-14 15:55:51 +08:00
Yanzhen Yu
171d7b39b6 accept RegExp type block class config 2019-04-14 15:55:34 +08:00
Yanzhen Yu
7ca1e36fdd Release 0.3.11 2019-04-09 22:11:13 +08:00
Yanzhen Yu
11b39664b5 force box-sizing model for progress bar 2019-04-09 22:11:02 +08:00
yz-yu
818649abf7 Merge pull request #3 from xavier-heysch/master
Fix progress bar height
2019-04-09 22:08:50 +08:00
Xavier
94e1fbba0c Fix progress bar height 2019-04-09 14:21:18 +02:00
Yanzhen Yu
3ec07d7712 Release 0.3.10 2019-04-09 17:06:36 +08:00
Yanzhen Yu
b200f6b404 enable click to play and update rrweb 2019-04-09 17:06:22 +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
7b02f13a19 update typescript and fix test cases 2019-04-02 21:43:16 +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
aa5b2d38b1 Release 0.7.6 2019-04-01 22:37:21 +08:00
Yanzhen Yu
3dacd944cb add typings folder to npm files 2019-04-01 22:37:09 +08:00
Yanzhen Yu
c7fc6900d4 update dependency rrweb-snapshot 2019-04-01 11:52:51 +08:00
Yanzhen Yu
2442f73f5b Release 0.7.5 2019-04-01 11:48:05 +08:00
Yanzhen Yu
f4ebd6b731 add typings autogen command 2019-04-01 11:47:49 +08:00
Sam Mason
03c9fde822 Make block css class optional & fix test (#6)
* Make block class optional

* Fix test by removing unexpected space space
2019-04-01 10:30:52 +08:00
Yanzhen Yu
110511ce73 Release 0.7.4 2019-02-17 16:47:24 +08:00
Yanzhen Yu
687c710fe9 iterate style element to get css rules string 2019-02-17 16:34:28 +08:00
Yanzhen Yu
d9ffe4c736 check attribute is null instead of any falsy value 2019-02-17 15:54:14 +08:00
Yanzhen Yu
6f422c1afe Release 0.3.9 2019-02-08 09:12:11 +08:00
Yanzhen Yu
5121910590 update rrweb 2019-02-08 09:12:01 +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