Commit Graph

1053 Commits

Author SHA1 Message Date
Yanzhen Yu
202a674636 use document object from params instead of the one in the current scope 2018-10-21 22:36:07 +08:00
Yanzhen Yu
416c1eec9a fix style content url normalizer and add some tests 2018-10-18 19:42:01 +08:00
Yanzhen Yu
6c8cf5c379 implemented the play any offset feature 2018-10-18 16:24:01 +08:00
Yanzhen Yu
43b2290f5f export reset id function 2018-10-18 16:13:59 +08:00
Yanzhen Yu
0f7fa67871 impl controller play, pause and speed 2018-10-18 15:21:51 +08:00
Yanzhen Yu
e99bd3245f add player controller 2018-10-17 19:10:45 +08:00
Yanzhen Yu
8186f05e1c export more props of replayer to the UI 2018-10-17 17:47:38 +08:00
Yanzhen Yu
f97c829a7d attach the scaled iframe into player 2018-10-17 15:45:02 +08:00
Yanzhen Yu
904cc493db add eslint 2018-10-17 14:14:44 +08:00
Yanzhen Yu
2eed038e6b init repo 2018-10-17 12:06:18 +08:00
Yanzhen Yu
72beb51110 fix npm package files and bump version 2018-10-16 18:09:51 +08:00
Yanzhen Yu
fade2df5d4 bump 0.4.0 2018-10-16 18:04:54 +08:00
Yanzhen Yu
71932ee530 update README and add travis 2018-10-16 17:57:11 +08:00
Yanzhen Yu
d827fdc947 impl dynamic config and pause. Bump 0.3.0 2018-10-16 15:31:56 +08:00
Yanzhen Yu
49cd7b4db3 align id map by skip extra added nodes 2018-10-16 15:29:52 +08:00
Yanzhen Yu
e461136f71 impl the extra child data attribute to align id map 2018-10-16 15:18:07 +08:00
Yanzhen Yu
0eedab53eb bump 0.3.1 2018-10-16 12:12:31 +08:00
Yanzhen Yu
eef6a6e389 change relative path into absolute path 2018-10-16 12:11:00 +08:00
Yanzhen Yu
a98df40c93 update id map when DOM changed and handle element scroll event 2018-10-15 19:28:36 +08:00
Yanzhen Yu
3e5c0adcdc use jest-snapshot to apply the snapshot testing 2018-10-15 19:25:52 +08:00
Yanzhen Yu
ee06fbcda4 update rollup config so we can benefit from tree shaking 2018-10-15 18:29:44 +08:00
Yanzhen Yu
4ae4222bc3 add test infra and a basic record integration test 2018-10-15 17:21:14 +08:00
Yanzhen Yu
2816726e23 impl replay the mutations and mouse interactions 2018-10-15 12:37:47 +08:00
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