Yanzhen Yu
7850a75c83
Release 1.1.2
2021-04-22 15:38:27 +08:00
re-fort
a0d82589b7
Enable to mask texts ( #73 )
...
* chore: reorder options
* feat: enable to mask texts
* feat: add the default mask function
* refactor: rename options to identify the difference between mask text and mask input
* test: add tests about masking
2021-04-22 15:34:36 +08:00
Justin Halsall
3c2d7c1eea
Speed up addHoverClass on large stylesheets ( #72 )
...
* speed up addHoverClass on large style sheets
* longer strings first to prevent accidental partial matches
* can add hover class when there is a multi selector with the same prefix
* tweak performance
2021-04-22 15:32:50 +08:00
Yanzhen Yu
df455c483a
fix #535 add play-back event to reset mirror and replayer
2021-04-18 21:31:29 +08:00
Yanzhen Yu
cf860278a2
call sort after unpack
2021-04-18 21:10:29 +08:00
Eoghan Murray
af0c0d95bd
Sort events upon creation, and keep ordered ( #411 )
...
* Sort events at start, as otherwise we risk misidentifying the last event
* Keep inserted events in the correct order, ensuring we don't misidentify the last event
- e.g. network conditions mean that 'live' events come in non-sequentially
- or so that adding custom events to an existing event works
* Ensure we maintain original ordering while inserting a new event which has an identical timestamp to an existing event. This came up with a series of mutations which had the same timestamp but needed to be applied in the correct order
* Fast track the common case of a new event being added which occurs after all prior events
2021-04-18 14:21:47 +08:00
Eoghan Murray
7c5e15d607
Don't perform newly added actions if player is paused ( #539 )
2021-04-18 14:15:57 +08:00
Yanzhen Yu
fbfb96297d
fix first play check
2021-04-17 16:34:06 +08:00
Yanzhen Yu
32b68aca64
update storyteller link
2021-04-15 09:40:15 +08:00
Yanzhen Yu
fdd59b5368
add storyteller link
2021-04-11 16:28:07 +08:00
Yanzhen Yu
693a8faf5e
impl #530 , observe drag event and replay as mousemove
2021-04-11 12:18:14 +08:00
John Pham
e8925337d9
Don't rebuildFullSnapshot if it's the first run ( #532 )
...
* Don't rebuildFullSnapshot if it's the first run
* Fix typo
2021-04-09 13:23:36 +08:00
Yanzhen Yu
80e0efa1da
fix #531 use getRootNode with precheck
2021-04-07 12:10:47 +08:00
Justin Halsall
1783213846
Fix docs to point to correct event format ( #523 )
...
* Fix docs to point to correct event attribute
* Update customize-replayer.zh_CN.md
* correct event object in guide
* Update guide.zh_CN.md
2021-03-30 11:26:18 +08:00
Yanzhen Yu
df7537b01d
impl shadow DOM manager
...
part of #38
1. observe DOM mutations in shadow DOM
2. rebuild DOM mutations in shadow DOM
2021-03-28 18:16:54 +08:00
Yanzhen Yu
9dfbd522bf
Release 1.1.1
2021-03-28 17:51:26 +08:00
Yanzhen Yu
9d6696befd
add isShadow flag if a node is under shadow root
2021-03-28 17:49:41 +08:00
Lucky Feng
e3f9a4d205
fix: inaccurate mouse position ( #522 )
...
1. Position of mouse was inaccurate when replaying and this PR will fix it.
2. Fix the bug that if one nested iframe has a scale transform and the position of mouse was inaccurate as well.
2021-03-25 10:29:49 +08:00
Yanzhen Yu
ac60676321
rename node_modules in es bundle to ext
2021-03-21 14:53:51 +08:00
Yanzhen Yu
5f96f775e8
update typings
2021-03-21 14:50:35 +08:00
Yanzhen Yu
1192735af4
Release 1.1.0
2021-03-21 14:50:01 +08:00
Lucky Feng
2260806ff3
fix: errors of replaying iframe records ( #520 )
...
* fix: errors of replaying iframe records
error1:
HierarchyRequestError: Failed to execute 'appendChild' on 'Node': Nodes of type '#document' may not be inserted inside nodes of type '#document-fragment'.
code: parent.appendChild(target)
error2:
Uncaught DOMException: Failed to execute 'appendChild' on 'Node': Only one element on document allowed.
code: parent.appendChild(target);
* improve the comment for bugfix
2021-03-19 11:48:12 +08:00
Yanzhen Yu
88f348a57b
snapshot and rebuild shadow DOM
...
https://github.com/rrweb-io/rrweb/issues/38
2021-03-13 20:46:18 +08:00
Yakko Majuri
fe6341eefc
Handle event undefined in initMoveObserver ( #515 )
2021-03-09 21:25:55 +08:00
Yanzhen Yu
f3e118ef39
add an experiment config to set max speed in fast forward
2021-03-08 14:11:56 +08:00
Yanzhen Yu
34588c451b
Release 0.7.1
2021-03-08 13:59:40 +08:00
Yanzhen Yu
ddc164e2b3
upgrade rrweb
2021-03-08 13:56:54 +08:00
Yanzhen Yu
6272f0f797
update rollup config to fix breaking change in css.write
...
fix #58
fix https://github.com/rrweb-io/rrweb/issues/496
2021-03-08 13:53:57 +08:00
arshabh-copods
a33eb867f3
Update observer.md ( #504 )
...
Fixed some grammatical errors
2021-03-08 13:33:21 +08:00
Yanzhen Yu
2e723a2010
impl #507 export takeFullSnapshot as a public API
2021-03-08 13:30:54 +08:00
Yanzhen Yu
fc4dc95714
add hiring link
2021-03-05 14:54:05 +08:00
Yanzhen Yu
34651c40fe
fix lint errors
2021-02-27 18:21:54 +08:00
Yanzhen Yu
cf5c34592e
add typings script to prepack
2021-02-27 18:00:56 +08:00
Eoghan Murray
4bf3073d80
Found an example in the wild of the deprecated pre-css way of adding a background image to table cells ( #69 )
2021-02-27 17:59:42 +08:00
Yanzhen Yu
2214e4fcfb
update test snapshot
2021-02-27 13:49:12 +08:00
Yanzhen Yu
2c6be72f35
close #491 check whether link node is head
2021-02-27 13:46:29 +08:00
Yanzhen Yu
860ff38e90
close #501 do not count attach iframe event in checkout
2021-02-27 13:32:21 +08:00
Yanzhen Yu
8307c87ced
using for loop instead of forEach in element classlists
...
pick #64 and close #68
2021-02-25 21:15:14 +08:00
Province Innovation
dbdf58a29d
Valid tag names can include any digit [0-9] ( #66 )
2021-02-25 09:49:47 +08:00
Season
e5587435a0
update guide
2021-02-20 18:26:50 +08:00
Justin Halsall
aee3c1605c
allow goto to specify if it should play or pause
2021-02-19 12:50:22 +01:00
Justin Halsall
2ad7be639b
Adding prepare & prepack npm statement ( #67 )
...
* Add prepare & prepack
* Create .npmignore
* remove node_modules, they might be needed
2021-02-19 12:02:13 +08:00
Justin Halsall
918f7f36fe
Add yarn support for installing unreleased rrweb as a dependency ( #497 )
...
* Use prepack instead of prepare for yarn support
* add prepare and prepack
for yarn v1 & v2 compatibility
* Create .npmignore
2021-02-19 11:57:01 +08:00
Province Innovation
75e4a0c1ff
Added mousemoveCallback threshold option to sampling config. ( #492 )
...
* Added mousemoveCallback threshold option to sampling config.
* Added mousemoveCallback to definitions file.
2021-02-19 11:56:12 +08:00
Filip Slatinac
7bf1b450f6
Adding prepare npm statement ( #490 )
...
* added prepare statement
* using master rrweb snapshot
Co-authored-by: filip slatinac <filipslatinac@MacBook-Pro-2.local >
2021-02-18 21:15:01 +08:00
Yanzhen Yu
1dd393a2de
upgrade rrweb-snapshot to 1.0.7
2021-02-18 12:05:31 +08:00
Yanzhen Yu
2a9057d4f2
Release 1.0.7
2021-02-18 12:00:16 +08:00
Yanzhen Yu
a591a53195
safe access iframe document
2021-02-18 11:59:41 +08:00
Yanzhen Yu
2a3f40669b
start impl rrdom
2021-02-13 21:52:06 +08:00
Moji Izadmehr
924a4c8986
Add prettier as a dependency ( #487 )
2021-02-13 21:50:03 +08:00