Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amp 99342 splitting selectors #1548

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
934262f
perf: only call createHTMLDocument when it is needed
Oct 18, 2023
8eab3c2
Merge pull request #1 from amplitude/kwallach/perf-create-document
kwalker3690 Oct 18, 2023
9dae066
Create popular-spies-fetch.md
Oct 18, 2023
fae9ba5
Merge pull request #2 from amplitude/kwallach/perf-create-document
Oct 18, 2023
7e43b85
Apply formatting changes
kwalker3690 Oct 18, 2023
dbc22b9
feat: skip through inactive periods instead of fast forward
Oct 18, 2023
605a78d
Merge pull request #3 from amplitude/skip-inactive-periods
jxiwang Oct 18, 2023
78be9bb
Apply formatting changes
jxiwang Oct 18, 2023
3e5af93
Update package.json
Oct 20, 2023
b5be3a6
Updating references to repo and author
Oct 23, 2023
2de2b45
Update changeset config
Oct 23, 2023
8cecb09
Resetting changeset state
Oct 23, 2023
2dd990c
Add our changesets
Oct 23, 2023
7f0338a
Fix package name
Oct 23, 2023
a5a7fb7
Updating package references and tests
Oct 24, 2023
334ba23
Version Packages (alpha)
github-actions[bot] Oct 24, 2023
97f5d8d
Merge pull request #4 from amplitude/changeset-release/master
Oct 24, 2023
c803e02
fix(rrweb-snapshot): pass maskInputFn correctly
lewgordon-amplitude Jun 3, 2024
b202f5e
test: snapshot issue
lewgordon-amplitude Jun 3, 2024
bf02ff5
test: remove snapshot
lewgordon-amplitude Jun 5, 2024
8017f2a
Create short-masks-cross.md
lewgordon-amplitude Jun 5, 2024
bb4509d
Apply formatting changes
lewgordon-amplitude Jun 5, 2024
5844b67
build: no rollup cache
lewgordon-amplitude Jun 5, 2024
01c42a7
build: typescript rollup cache clean
lewgordon-amplitude Jun 5, 2024
33293b6
Merge pull request #5 from amplitude/AMP-100834-rrweb-fixes
lewgordon-amplitude Jun 5, 2024
b1ca8e3
Version Packages (alpha)
github-actions[bot] Jun 5, 2024
ba5958b
Merge pull request #6 from amplitude/changeset-release/master
lewgordon-amplitude Jun 5, 2024
510bd8f
fix(rrweb): exteranl function errors should be tagged
jackson-amplitude Jun 6, 2024
ec2e864
Apply formatting changes
jackson-amplitude Jun 6, 2024
3ed0f50
fix(rrweb): fix external function wrapper usage
jackson-amplitude Jun 6, 2024
0aefe5e
Apply formatting changes
jackson-amplitude Jun 6, 2024
3983a2f
Fix known issues
dengelke Jan 24, 2024
3a9af4a
Run format
dengelke Jan 24, 2024
e634c9b
Fix linting errors
dengelke Jan 24, 2024
41e0bf0
Add comment in code for source of match logic
dengelke Feb 3, 2024
9104dc0
Add changeset
dengelke Feb 3, 2024
b8f9cb2
Add ES6 compat
jxiwang Jun 6, 2024
e8d02c7
Create four-gifts-march.md
jackson-amplitude Jun 6, 2024
39adcd9
Apply formatting changes
jackson-amplitude Jun 6, 2024
d5a6553
Merge pull request #8 from amplitude/external-test-2
jackson-amplitude Jun 6, 2024
998ede5
Version Packages (alpha)
github-actions[bot] Jun 6, 2024
5d9cc01
Merge pull request #10 from amplitude/changeset-release/master
jackson-amplitude Jun 7, 2024
fa344e2
Merge pull request #9 from amplitude/pr-1401-upstream
jxiwang Jun 10, 2024
11f6177
Revert "Switch CSS parser to better handle AddHover"
jxiwang Jun 10, 2024
8109f8f
Merge pull request #11 from amplitude/revert-9-pr-1401-upstream
jxiwang Jun 10, 2024
a926dd8
Fix known issues
dengelke Jan 24, 2024
99d334a
Run format
dengelke Jan 24, 2024
593220d
Fix linting errors
dengelke Jan 24, 2024
6442004
Add comment in code for source of match logic
dengelke Feb 3, 2024
942c7ce
Add changeset
dengelke Feb 3, 2024
2cdd9d4
Add ES6 compat
jxiwang Jun 6, 2024
76d70af
fix(rrweb): change changeset package to amplitude
jxiwang Jun 10, 2024
c51ebed
Merge pull request #14 from amplitude/pr-1401-restore
jxiwang Jun 10, 2024
1fb0a55
Version Packages (alpha)
github-actions[bot] Jun 10, 2024
c879232
Merge pull request #15 from amplitude/changeset-release/master
jxiwang Jun 10, 2024
63d1dd7
Fix and test for bug #1457 (Uncaught SyntaxError: Regular expression …
eoghanmurray May 20, 2024
d45c841
Apply formatting changes
eoghanmurray May 20, 2024
dc7b283
Create fair-ducks-clean.md
eoghanmurray May 20, 2024
ecd7f3d
Fix @import regex bit which was stopping consumption in the middle of…
eoghanmurray May 22, 2024
25deb6d
AMP-99342: Changeset clean-up
jxiwang Jun 21, 2024
8e0d43a
We weren't recursing into media queries (or @supports etc.) to rewrit…
eoghanmurray Mar 20, 2024
3c3cd01
The early return meant that the stylesWithHoverClass cache wasn't bei…
eoghanmurray Mar 21, 2024
22378f5
Replace `min-device-width` and similar with `min-width` as the former…
eoghanmurray Mar 21, 2024
3af0ac9
Add some tests to show how the hover replacement works against select…
eoghanmurray Mar 21, 2024
89b3c17
Update name of function to reflect that 'addHoverClass' does more tha…
eoghanmurray Mar 21, 2024
bdb47dd
Apply formatting changes
eoghanmurray Mar 21, 2024
c7dfd53
Create rotten-spies-enjoy.md
eoghanmurray Mar 21, 2024
8143ee1
Apply formatting changes
eoghanmurray Mar 21, 2024
d677cec
Add correct typing on `getSelectors`
Juice10 Mar 25, 2024
a5343b5
Refactor CSS interfaces to include optional rules
Juice10 Mar 25, 2024
60c8a1e
Change `rules` to be non optional
Juice10 Mar 25, 2024
937a552
Modify changeset: rotten-spies-enjoy.md
jxiwang Jun 21, 2024
bf451d5
Merge pull request #17 from amplitude/AMP-99342-Regex-Error-Hoverclas
jxiwang Jun 24, 2024
13b61d0
Version Packages (alpha)
github-actions[bot] Jun 24, 2024
3f77ef2
Merge pull request #18 from amplitude/changeset-release/master
jxiwang Jun 24, 2024
7ea50cb
Merge branch 'master' into AMP-99342-Regex-Error
jxiwang Jun 24, 2024
aaee874
AMP-99342: Add old changeset
jxiwang Jun 24, 2024
54f2367
Apply formatting changes
jxiwang Jun 24, 2024
1b0c58a
Merge pull request #16 from amplitude/AMP-99342-Regex-Error
jxiwang Jun 24, 2024
a33a95c
Version Packages (alpha)
github-actions[bot] Jun 24, 2024
5284067
Merge pull request #19 from amplitude/changeset-release/master
jxiwang Jun 24, 2024
9eb5ba8
better splitting of selectors
daibhin Apr 9, 2024
66c6fcb
add changeset
daibhin Apr 9, 2024
9f6c996
Add test from example at https://github.com/PostHog/posthog/pull/21427
eoghanmurray Apr 9, 2024
fa80217
Parsing nesting is hard :(
eoghanmurray Apr 9, 2024
007b32b
Add another test as noticed that it's possible to escape strings
eoghanmurray Apr 10, 2024
bb28e21
Update packages/rrweb-snapshot/test/css.test.ts
daibhin Apr 12, 2024
d2147e9
Revert "Update packages/rrweb-snapshot/test/css.test.ts"
eoghanmurray Apr 18, 2024
58fe98d
Reinstate 'Add another test as noticed that it's possible to escape s…
eoghanmurray Apr 18, 2024
e6acc4f
Ensure we are ignoring commas within strings
eoghanmurray Apr 18, 2024
d5a39c7
Cherry-picked css.ts from commit eaffd5b875aaeeb37f731d68954a9886b3e5…
jxiwang Jul 30, 2024
3a9f0bf
Update .changeset/modern-doors-watch.md
eoghanmurray Apr 18, 2024
7eed14f
Prettier
eoghanmurray Apr 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/attribute-text-reductions.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/brave-numbers-joke.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/calm-bulldogs-speak.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/calm-oranges-sin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chatty-cherries-train.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/clean-plants-play.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/clean-shrimps-lay.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/cold-eyes-hunt.md

This file was deleted.

18 changes: 9 additions & 9 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "rrweb-io/rrweb" }],
"changelog": ["@changesets/changelog-github", { "repo": "amplitude/rrweb" }],
"commit": false,
"fixed": [
[
"rrweb",
"rrweb-snapshot",
"rrdom",
"rrdom-nodejs",
"rrweb-player",
"@rrweb/types",
"@rrweb/web-extension",
"rrvideo"
"@amplitude/rrweb",
"@amplitude/rrweb-snapshot",
"@amplitude/rrdom",
"@amplitude/rrdom-nodejs",
"@amplitude/rrweb-player",
"@amplitude/rrweb-types",
"@amplitude/rrweb-web-extension",
"@amplitude/rrvideo"
]
],
"linked": [],
Expand Down
6 changes: 0 additions & 6 deletions .changeset/controller-finish-flag.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/cuddly-readers-warn.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/curvy-apples-lay.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/date-now-guard.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eight-terms-hunt.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/empty-bikes-cheer.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fair-dragons-greet.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/fair-ducks-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@amplitude/rrweb': patch
---

Fix and test for bug #1457 which was affecting replay of complex tailwind css
5 changes: 0 additions & 5 deletions .changeset/fast-chefs-smell.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/few-turkeys-reflect.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/five-peas-lay.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/forty-elephants-attack.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/four-gifts-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@amplitude/rrweb': patch
---

fix(rrweb): external function errors should be tagged
2 changes: 0 additions & 2 deletions .changeset/fresh-cars-impress.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-spoons-drive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gold-terms-look.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/grumpy-ways-own.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/itchy-dryers-double.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/khaki-dots-bathe.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/large-ants-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lazy-toes-confess.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/little-radios-thank.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/little-suits-leave.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/loud-seals-raise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lovely-pears-cross.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/lovely-students-boil.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mean-tips-impress.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/mighty-frogs-sparkle.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/modern-doors-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'rrweb-snapshot': patch
---

better nested css selector splitting when commas or brackets happen to be in quoted text
5 changes: 0 additions & 5 deletions .changeset/nervous-buses-pump.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/nervous-mirrors-perform.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/nervous-poets-grin.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/nervous-tables-travel.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/new-snakes-call.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nice-pugs-reply.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/octopus-orange.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@amplitude/rrweb': patch
---

feat: skip through inactive periods instead of fast forward
5 changes: 0 additions & 5 deletions .changeset/old-dryers-hide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/polite-olives-wave.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/popular-spies-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@amplitude/rrweb': patch
---

perf: only call createHTMLDocument when it is needed
85 changes: 15 additions & 70 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,77 +2,22 @@
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"rrdom": "0.1.7",
"rrdom-nodejs": "0.1.7",
"rrweb": "2.0.0-alpha.4",
"rrweb-player": "1.0.0-alpha.4",
"rrweb-snapshot": "2.0.0-alpha.4",
"@rrweb/types": "2.0.0-alpha.4",
"@rrweb/web-extension": "2.0.0-alpha.4",
"rrvideo": "2.0.0-alpha.6"
"@amplitude/rrweb": "2.0.0-alpha.11",
"@amplitude/rrweb-snapshot": "2.0.0-alpha.11",
"@amplitude/rrdom": "2.0.0-alpha.11",
"@amplitude/rrdom-nodejs": "2.0.0-alpha.11",
"@amplitude/rrweb-player": "2.0.0-alpha.11",
"@amplitude/rrweb-types": "2.0.0-alpha.11",
"@amplitude/rrweb-web-extension": "2.0.0-alpha.11",
"@amplitude/rrvideo": "2.0.0-alpha.11"
},
"changesets": [
"attribute-text-reductions",
"brave-numbers-joke",
"calm-bulldogs-speak",
"chatty-cherries-train",
"clean-plants-play",
"clean-shrimps-lay",
"cold-eyes-hunt",
"controller-finish-flag",
"curvy-apples-lay",
"date-now-guard",
"eight-terms-hunt",
"empty-bikes-cheer",
"fair-dragons-greet",
"fast-chefs-smell",
"few-turkeys-reflect",
"five-peas-lay",
"forty-elephants-attack",
"fresh-cars-impress",
"fresh-spoons-drive",
"gold-terms-look",
"grumpy-ways-own",
"itchy-dryers-double",
"khaki-dots-bathe",
"large-ants-prove",
"lazy-toes-confess",
"little-radios-thank",
"little-suits-leave",
"loud-seals-raise",
"lovely-pears-cross",
"lovely-students-boil",
"mean-tips-impress",
"mighty-frogs-sparkle",
"nervous-buses-pump",
"nervous-poets-grin",
"nervous-tables-travel",
"new-snakes-call",
"nice-pugs-reply",
"old-dryers-hide",
"pretty-plums-rescue",
"pretty-schools-remember",
"proud-experts-jam",
"real-masks-explode",
"real-trains-switch",
"rich-crews-protect",
"rich-jars-remember",
"serious-ants-juggle",
"sixty-impalas-laugh",
"small-olives-arrive",
"smooth-poems-bake",
"stupid-ghosts-help",
"swift-peas-film",
"thirty-baboons-punch",
"tidy-yaks-joke",
"tiny-buckets-love",
"tiny-chairs-build",
"tricky-panthers-guess",
"twenty-lies-switch",
"twenty-planets-repeat",
"violet-melons-itch",
"violet-zebras-cry",
"yellow-mails-cheat",
"young-timers-grow"
"fair-ducks-clean",
"four-gifts-march",
"octopus-orange",
"popular-spies-fetch",
"rich-dots-lay",
"rotten-spies-enjoy",
"short-masks-cross"
]
}
Loading
Loading