Commit Graph

1047 Commits

Author SHA1 Message Date
Yanzhen Yu
c92978f4e8 update rollup terser plugin 2020-04-12 14:46:04 +08:00
Yanzhen Yu
445b3953f1 Release 0.7.33 2020-04-12 00:07:32 +08:00
Yanzhen Yu
f159d7711f upgrade TS 2020-04-12 00:06:57 +08:00
Eoghan Murray
1bb7ffd8fc Fix for certain websites which don't scroll on their document.documentElement (#193)
- document.documentElement.scrollTop may be zero, but document.body.scrollTop may have the actual scrolling amount
 - main fallback idea taken from https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollX
 - modified as `(document.documentElement || document.body).scrollTop` will incorrectly report zero.
 - version here supported by https://github.com/mochi/mochikit/blob/master/MochiKit/Position.js#L23
2020-04-11 23:15:10 +08:00
Yanzhen Yu
36ba02e709 use a fixed version of styled-components to make snapshot testing stable 2020-04-11 22:51:50 +08:00
Yanzhen Yu
675a8541b4 Release 0.4.6 2020-04-11 20:03:13 +08:00
Yanzhen Yu
c435c5f095 update player with built-in unpack function 2020-04-11 20:02:26 +08:00
Yanzhen Yu
4811589816 Release 0.7.32 2020-04-11 18:36:07 +08:00
Yanzhen Yu
685951d0c4 Revert "Create FUNDING.yml"
This reverts commit 2c438d1812.
2020-04-08 20:38:55 +08:00
yz-yu
2c438d1812 Create FUNDING.yml 2020-04-08 20:35:45 +08:00
Yanzhen Yu
8a1d74f6cb Update rollup
With rollup's preserveModules option and the sideEffects flag in
package.json, now we have the power of tree shaking.
2020-04-07 22:11:46 +08:00
yz-yu
4f36d0e57d Packer (#172)
* introduce pako and add general packer interface

* add tests for packer

* use function API instead of class API for better tree shaking support

* refcatoring the rollup bundle config
2020-04-07 18:03:47 +08:00
Yanzhen Yu
b0451fc257 Release 0.4.5 2020-04-05 22:33:12 +08:00
Yanzhen Yu
6933a3b807 use player dimension to calc scale when fullscreen 2020-04-05 22:31:47 +08:00
Yanzhen Yu
18063bee33 Release 0.4.4 2020-04-05 22:14:52 +08:00
Yanzhen Yu
08d21b41ba allow scale over 1 2020-04-05 22:14:28 +08:00
Yanzhen Yu
b1723e1716 update rrweb 2020-04-05 22:10:27 +08:00
Yanzhen Yu
18129bab70 Release 0.7.31 2020-04-05 22:04:46 +08:00
Eoghan Murray
e12d240064 Keep track of pause/play state so that player doesn't accidentally 'unpause' a user pause action (#189) 2020-03-31 22:15:17 +08:00
Yanzhen Yu
318ce9eb09 Release 0.7.30 2020-03-29 22:25:57 +08:00
Yanzhen Yu
3f30c47cfb remove useless console.log 2020-03-29 22:05:07 +08:00
Yanzhen Yu
380819ca70 tolerate insertRule error since browser may throw Error on wrong prefix 2020-03-29 21:18:39 +08:00
Yanzhen Yu
6e38ae4735 avoid style sheet rules index overflow 2020-03-29 21:14:45 +08:00
Eoghan Murray
c14242e932 Avoid more common causes of 'blocked script execution' console.error messages in Chrome which are not exceptions (but look like them): (#30)
'Blocked script execution in '<page>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set'
2020-03-26 23:15:41 +08:00
Yanzhen Yu
197526fbe8 ignore style sheet changes before the target DOM was serialized
The serialized DOM will contains all the styles, so this looks safe.
2020-03-22 00:36:20 +08:00
Yanzhen Yu
02a33faaf9 add an integration tests for react and styled components 2020-03-21 23:21:45 +08:00
Yanzhen Yu
5e549c4ee4 make the unit tests more stable 2020-03-21 22:18:08 +08:00
Yanzhen Yu
9f2f6757b3 update rrweb-snapshot 2020-03-14 15:20:18 +08:00
Yanzhen Yu
6245bee7bd Release 0.7.26 2020-03-14 14:48:41 +08:00
Yanzhen Yu
89445f3c50 close #29 add MIT license 2020-03-14 14:46:56 +08:00
James Bradley
86cf78822d H tags (#28)
* Failing test

* Allow numbers in el name tests

* Allow numbers in el names
2020-03-10 22:33:23 +08:00
Filip Slatinac
fc6c6c43d5 Checking node existence (#174)
* 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

* checking if nodes are in the parent before we try inserting them
2020-03-01 15:02:32 +08:00
Eoghan Murray
444570b7fc Was experiencing case when a TouchEnd event occurred on a text element i.e. (nodeType: 3 / nodeName: #text) (#180)
This was a recording taken with rrweb 0.7.27 (3afff63970) and rrweb-snapshot 0.7.21 (a0dc9481b2) so issue may have been fixed in the intervening commits
2020-03-01 15:00:32 +08:00
Yanzhen Yu
10f192d54b Release 0.4.3 2020-02-28 19:53:55 +08:00
Yanzhen Yu
6e4a7c3637 add rrweb options 2020-02-28 19:53:31 +08:00
Yanzhen Yu
69094081ea Release 0.7.29 2020-02-28 19:52:06 +08:00
Yanzhen Yu
29296b6877 add trigger focus option to replayer, which may helps integration into other apps 2020-02-28 19:48:36 +08:00
Yanzhen Yu
1b834b6fe6 Release 0.4.2 2020-02-28 16:42:55 +08:00
Yanzhen Yu
fd9095f654 fix logic operator 2020-02-28 16:41:50 +08:00
Yanzhen Yu
a4e49ba741 Release 0.4.1 2020-02-28 16:25:48 +08:00
Yanzhen Yu
4e7b038c7b fix controller height compute 2020-02-28 16:25:08 +08:00
Yanzhen Yu
fa4b4299e7 Release 0.7.28 2020-02-26 09:58:36 +08:00
Yanzhen Yu
91cc57d032 update rrweb-snapshot 2020-02-26 09:58:08 +08:00
Yanzhen Yu
4118d32601 Release 0.7.25 2020-02-26 09:56:49 +08:00
David Cramer
9b7f8d6027 Add support for replaying StyleSheetRule events (#178) 2020-02-25 21:07:17 +08:00
Fizer Khan (பைசர் கான்)
7da67ec182 fix null issue. (#27) 2020-02-25 15:52:38 +08:00
David Cramer
046936b3e8 Add observers for stylesheet mutations (#177)
* hack together stylesheet observer

* Add test coverage for insertRule/deleteRule on stylesheets

* Add new observers

* update patch based on changes to master

* Functioning event recording

* Remove print statements

* Fix ID usage and mark add vs remove

* Correct type

Co-authored-by: Jon Perl <perl.jonathan@gmail.com>
2020-02-22 12:59:55 +08:00
Yanzhen Yu
b5e9b40f4d close #24 css text can be null 2020-01-26 20:08:52 +08:00
Yanzhen Yu
efea82fc29 fix dependency path 2020-01-12 21:44:43 +08:00
Yanzhen Yu
abfb90a778 impl media interactions recording
close #159
close #72
listen to HTMLMediaElement's play/pause events, and replay them
by programmatically play and pause the target element.
2020-01-12 21:37:01 +08:00