Commit Graph

30 Commits

Author SHA1 Message Date
Justin Halsall
e238462f30 Record canvas snapshots N times per second (#859)
* Only record canvas when recordCanvas is true

* All should be compiled first

Makes recompiling+debugging a lot faster

* Add support for compiling web workes

Replaces @rollup/plugin-typescript for rollup-plugin-typescript2 as the former is incompatible with rollup-plugin-web-worker-loader

* Update yarn.lock

* Upgrade to typescript 4.5.5

* add support for replay of ImageBitmap in 2d canvas

* Snapshot canvases in a web-worker on FPS basis

* Fix performance of canvas recording and playback

* Wait for all images to be preloaded before checking results

* flatten base64 strings, as encoding isn't consistent

* Cleanup

* Add serializing to 2d canvases as well

* Disable blob serialize test

We don't have any code for it yet

* Upgrade @rollup/plugin-commonjs to 21.0.2

Fixes
https://linguinecode.com/post/import-export-appear-at-the-top-level

* Move canvas recording options to `sampling`

Based on: https://github.com/rrweb-io/rrweb/pull/859#discussion_r846582146
2022-04-18 13:24:51 +08:00
Constance Caramanolis
94fa6b3e8a Update doc to use yarn to use REPL (#838) 2022-02-20 10:27:58 +08:00
Yanzhen Yu
fb8ea8e657 update plugin docs 2022-01-16 16:01:41 +08:00
Cristi Constantin
69a1b9ffe6 Save images offline, in the snapshot (#770)
* Implemented image restore from rr_dataURL

* Implement saving images in the snapshot

* Fixed image saving, added a test

* Rename data-src to data-rrweb-src

* Updated the guide

* Rename recordImages to inlineImages and try catch
2022-01-11 23:54:58 +08:00
Eoghan Murray
3301038869 Reference packages directly in docs (removing direct references to the old rrweb-snapshot and rrweb-player repositories) (#647) 2021-07-31 15:02:41 +08:00
Justin Halsall
7a0e04c574 Add userTriggered (#495)
* add `userTriggered`

* update snapshots to add userTriggered

* add `userTriggered`

* update snapshots to add userTriggered

* update snapshot to include userTrigger

* only set userTriggered on `userTriggeredOnInput: true`

* What is user triggered?

* correct snapshot

* add second radio to demonstrate userTriggered
2021-07-08 22:27:21 +08:00
Yanzhen Yu
b96e9e3632 improve https://github.com/rrweb-io/rrweb-player/issues/12 2021-06-29 17:41:57 +08:00
Justin Halsall
ec08be0241 Docs: update link to list of input values (#604)
* Update url to list of types

* Docs: Update list of inputs (zh_CN)
2021-06-29 16:37:16 +08:00
Yun Feng
1b62620e52 doc: update guide.zh_CN.md 2021-06-23 13:45:12 +08:00
Justin Halsall
fee48f084c Add ability to mask passwords (#494)
* add ability to mask passwords

* remove duplicate mask snapshot

* make sure only one click happens at a time
2021-06-22 19:47:30 +08:00
re-fort
18ad3dae1a Add options to mask texts (#540)
* feat: add options 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

* doc: add options about masking

* chore: bump up rrweb-snapshot version
2021-04-22 16:03:52 +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
Season
e5587435a0 update guide 2021-02-20 18:26:50 +08:00
zzq0826
cc15be1e88 update guide (#483) 2021-02-08 16:31:28 +08:00
Fanis Katsimpas
12ba53f19b Fix broken link to design docs 2020-12-22 10:06:21 +00:00
Aaditya S
cbeec54c03 docs: fix typo (#440) 2020-12-12 21:27:42 +08:00
Luck Feng
4b589b34c1 docs: add document for console recording and playback (#435)
* docs: add document for console recording and playback

* docs: adjust some sentences
2020-12-08 10:37:46 +08:00
Yanzhen Yu
6c4f10e4e7 update docs 2020-11-19 16:42:10 +08:00
Yanzhen Yu
006b709c00 remove the internal use of resume API 2020-08-09 13:03:12 +08:00
Yanzhen Yu
ebd1457ce2 turn some warning message into debug message 2019-01-30 00:47:41 +08:00
Yanzhen Yu
d60246964e update auto play option in the guide 2019-01-25 18:29:57 +08:00
Yanzhen Yu
6abf4fd4a0 move all events to an enum and update guide 2019-01-25 17:18:51 +08:00
Mike MacCana
8fde00adfe Small fixes to English around rrwebRecord / rrweb.record (#41)
* Small fixes to English around rrwebRecord / rrweb.record

* Fix missing word
2019-01-18 22:58:34 +08:00
yz-yu
cedc87c69e add checkout config to recorder (#36)
* add checkout config to recorder

* add test cases for checkout feature and extract assertSnapshot method
2019-01-11 10:52:04 +08:00
Yanzhen Yu
6973ce2c8d resolve #13 add warning messages when target is not found 2019-01-05 14:18:07 +08:00
Yanzhen Yu
96bb177e84 update Chinese guide doc 2018-12-31 18:12:25 +08:00
Charlie Jonas
d25a96ec63 demonstrating how to stop recording (#20)
* demonstrating how to stop recording

* made record stop example seperate
2018-12-31 17:13:33 +08:00
Bozhidar Kirev
1ef16d2a54 Fixed typo in guide.md (#8)
supoorted -> supported
2018-12-29 10:13:30 +08:00
Yanzhen Yu
71ea6455c3 update docs and add compatibility note 2018-12-28 11:03:30 +08:00
Yanzhen Yu
c818b9de3b update docs 2018-12-27 17:13:39 +08:00