Commit Graph

1267 Commits

Author SHA1 Message Date
Yanzhen Yu
c9bb0e6557 update id map when DOM changed and handle element scroll event 2026-04-01 12:00:00 +08:00
Yanzhen Yu
a90198ee46 update rollup config so we can benefit from tree shaking 2026-04-01 12:00:00 +08:00
Yanzhen Yu
5bbc29ef1a add test infra and a basic record integration test 2026-04-01 12:00:00 +08:00
Yanzhen Yu
f4ded6b6d1 impl replay the mutations and mouse interactions 2026-04-01 12:00:00 +08:00
Yanzhen Yu
f7e4a90751 apply viewport resize and input event changes 2026-04-01 12:00:00 +08:00
Yanzhen Yu
499d84fc70 use raf to impl a more accurate timer and replay events async 2026-04-01 12:00:00 +08:00
Yanzhen Yu
9fda4c0809 import snapshot rebuilder into replayer 2026-04-01 12:00:00 +08:00
Yanzhen Yu
4446e27899 fix scroll value and record viewport when loaded 2026-04-01 12:00:00 +08:00
Yanzhen Yu
41b9861fbf improve record method and bump 0.2.0 2026-04-01 12:00:00 +08:00
Yanzhen Yu
789cae98a1 update bundle configs 2026-04-01 12:00:00 +08:00
Yanzhen Yu
c96052d8a4 add input event observer and hook the value setter 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ad2ac811a3 serialize newly added nodes and update id node map when childList changed 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ee4fc3ce7e add scroll and viewport resize observers 2026-04-01 12:00:00 +08:00
Yanzhen Yu
7078ce2f2a add mouse interactions observer 2026-04-01 12:00:00 +08:00
Yanzhen Yu
61312a0ad0 add mouse movement observer 2026-04-01 12:00:00 +08:00
Yanzhen Yu
d2175eae87 change observed mutations into serializable records 2026-04-01 12:00:00 +08:00
Yanzhen Yu
e2fbecea96 init the repo and integrate rrweb-snapshot 2026-04-01 12:00:00 +08:00