Commit Graph

980 Commits

Author SHA1 Message Date
Yanzhen Yu
95713f1ea7 apply viewport resize and input event changes 2018-10-12 16:04:07 +08:00
Yanzhen Yu
ffc2b01796 add data attribute to element when rebuild 2018-10-12 15:57:39 +08:00
Yanzhen Yu
f4bf94aa2d use raf to impl a more accurate timer and replay events async 2018-10-12 14:30:44 +08:00
Yanzhen Yu
e93fd177be import snapshot rebuilder into replayer 2018-10-12 13:33:53 +08:00
Yanzhen Yu
85a56d2047 fix scroll value and record viewport when loaded 2018-10-12 13:08:03 +08:00
Yanzhen Yu
1ddb0a3343 return id node map when rebuild 2018-10-12 12:43:16 +08:00
Yanzhen Yu
c07cce74bf improve record method and bump 0.2.0 2018-10-11 17:30:54 +08:00
Yanzhen Yu
215b2b319b update bundle configs 2018-10-11 16:46:34 +08:00
Yanzhen Yu
b3fdc44fc7 update the bundle config 2018-10-11 16:44:38 +08:00
Yanzhen Yu
40f29e5353 add input event observer and hook the value setter 2018-10-11 16:12:32 +08:00
Yanzhen Yu
46ab1d6e80 serialize newly added nodes and update id node map when childList changed 2018-10-09 10:52:20 +08:00
Yanzhen Yu
d59ba817cb export serializeNodeWithId so rrweb could serialize newly added nodes 2018-10-09 10:51:30 +08:00
Yanzhen Yu
1f10b70d30 add scroll and viewport resize observers 2018-10-09 10:33:24 +08:00
Yanzhen Yu
64d4c541ee add mouse interactions observer 2018-10-08 18:37:40 +08:00
Yanzhen Yu
a33b24a676 add mouse movement observer 2018-10-08 17:46:15 +08:00
Yanzhen Yu
427acff3d6 change observed mutations into serializable records 2018-10-08 15:47:21 +08:00
Yanzhen Yu
f143eee54a return id node map when snapshot 2018-10-08 15:35:03 +08:00
Yanzhen Yu
978e12b089 add strict null check and fix codes 2018-10-08 11:20:48 +08:00
Yanzhen Yu
4a1137748c bump 0.2.0 2018-10-08 10:29:29 +08:00
Yanzhen Yu
f8079fbea7 init the repo and integrate rrweb-snapshot 2018-10-06 23:26:52 +08:00
Yanzhen Yu
b536f12064 update declaration file 2018-10-06 22:27:49 +08:00
Yanzhen Yu
bfe431e99a add iframe tests and update urls in test file 2018-10-06 10:13:33 +08:00
Yanzhen Yu
8b82981b62 try to inline linked stylesheet when in same origin 2018-10-05 23:06:51 +08:00
Yanzhen Yu
c24e0c6a2f refactor the test infra: use puppeteer instead of jsdom to get rid of some hack implementations 2018-10-05 22:26:18 +08:00
Yanzhen Yu
bd325870e7 refactor test infra so most test cases could be implemented by pure HTML 2018-10-03 22:48:42 +08:00
Yanzhen Yu
05e4103f7a replace script tag with noscript and inline the states of form field components 2018-09-30 17:38:44 +08:00
Yanzhen Yu
7d1cf13266 setup tests 2018-09-30 16:20:53 +08:00
Yanzhen Yu
3edd364c3b basic rebuild implementation 2018-09-30 15:26:00 +08:00
Yanzhen Yu
819cf3062e basic snapshot implementation 2018-09-30 13:44:13 +08:00
Yanzhen Yu
3c6e07117a init the repo 2018-09-30 10:32:44 +08:00