Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(replay-vision): fade highlight cards in as they load (#126739)

Tue Haulund6588c7a854f6
diff --git a/.flox/env/manifest.lock b/.flox/env/manifest.lock
index 6ed575fc3e16..2e7338b00118 100644
--- a/.flox/env/manifest.lock
+++ b/.flox/env/manifest.lock
@@ -208,6 +208,95 @@
}
},
"packages": [
+ {
+ "attr_path": "bun",
+ "broken": false,
+ "derivation": "/nix/store/f23cfy3n50pzsx5apyxmwfmlkjnwkiqa-bun-1.4.2.drv",
+ "description": "Incredibly fast JavaScript runtime, bundler, transpiler and package manager – all in one",
+ "install_id": "bun",
+ "license": "[ MIT, LGPL-2.1-only ]",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
+ "name": "bun-1.4.2",
+ "pname": "bun",
+ "rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
+ "rev_count": 1100280,
+ "rev_date": "2026-10-23T16:35:39Z",
+ "scrape_date": "2026-10-25T05:51:32.488429Z",
+ "stabilities": [
+ "unstable"
+ ],
+ "unfree": false,
+ "version": "1.4.2",
+ "outputs_to_install": [
+ "out"
+ ],
+ "outputs": {
+ "out": "/nix/store/wjpdgxsjymr2nczy9y3d5h3h1xrbhhml-bun-1.4.2"
+ },
+ "system": "aarch64-darwin",
+ "group": "bun",
+ "priority": 5
+ },
+ {
+ "attr_path": "bun",
+ "broken": false,
+ "derivation": "/nix/store/3239bpm54higlwfdznq8cbsi4ln35fri-bun-1.4.2.drv",
+ "description": "Incredibly fast JavaScript runtime, bundler, transpiler and package manager – all in one",
+ "install_id": "bun",
+ "license": "[ MIT, LGPL-2.1-only ]",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
+ "name": "bun-1.4.2",
+ "pname": "bun",
+ "rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
+ "rev_count": 1100280,
+ "rev_date": "2026-10-23T16:35:39Z",
+ "scrape_date": "2026-10-25T06:24:58.728611Z",
+ "stabilities": [
+ "unstable"
+ ],
+ "unfree": false,
+ "version": "1.4.2",
+ "outputs_to_install": [
+ "out",
+ "out"
+ ],
+ "outputs": {
+ "out": "/nix/store/f8hiv5nmim0dpaxixmxiijdm8x0mffsy-bun-1.4.2"
+ },
+ "system": "aarch64-linux",
+ "group": "bun",
+ "priority": 5
+ },
+ {
+ "attr_path": "bun",
+ "broken": false,
+ "derivation": "/nix/store/4ql11clbibnp4l68sf11j49fkaf0zivl-bun-1.4.2.drv",
+ "description": "Incredibly fast JavaScript runtime, bundler, transpiler and package manager – all in one",
+ "install_id": "bun",
+ "license": "[ MIT, LGPL-2.1-only ]",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
+ "name": "bun-1.4.2",
+ "pname": "bun",
+ "rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
+ "rev_count": 1100280,
+ "rev_date": "2026-10-23T16:35:39Z",
+ "scrape_date": "2026-10-25T07:01:24.175483Z",
+ "stabilities": [
+ "unstable"
+ ],
+ "unfree": false,
+ "version": "1.4.2",
+ "outputs_to_install": [
+ "out",
+ "out"
+ ],
+ "outputs": {
+ "out": "/nix/store/2mxhj3nrvxxqm6gf6rwnrvz048zqdclp-bun-1.4.2"
+ },
+ "system": "x86_64-linux",
+ "group": "bun",
+ "priority": 5
+ },
{
"attr_path": "cmake",
"broken": false,
@@ -3235,95 +3324,6 @@
"system": "x86_64-linux",
"group": "uv",
"priority": 5
- },
- {
- "attr_path": "bun",
- "broken": false,
- "derivation": "/nix/store/f23cfy3n50pzsx5apyxmwfmlkjnwkiqa-bun-1.4.2.drv",
- "description": "Incredibly fast JavaScript runtime, bundler, transpiler and package manager – all in one",
- "install_id": "bun",
- "license": "[ MIT, LGPL-2.1-only ]",
- "locked_url": "https://github.com/flox/nixpkgs?rev=3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
- "name": "bun-1.4.2",
- "pname": "bun",
- "rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
- "rev_count": 1100280,
- "rev_date": "2026-10-23T16:35:39Z",
- "scrape_date": "2026-10-25T05:51:32.488429Z",
- "stabilities": [
- "unstable"
- ],
- "unfree": false,
- "version": "1.4.2",
- "outputs_to_install": [
- "out"
- ],
- "outputs": {
- "out": "/nix/store/wjpdgxsjymr2nczy9y3d5h3h1xrbhhml-bun-1.4.2"
- },
- "system": "aarch64-darwin",
- "group": "bun",
- "priority": 5
- },
- {
- "attr_path": "bun",
- "broken": false,
- "derivation": "/nix/store/3239bpm54higlwfdznq8cbsi4ln35fri-bun-1.4.2.drv",
- "description": "Incredibly fast JavaScript runtime, bundler, transpiler and package manager – all in one",
- "install_id": "bun",
- "license": "[ MIT, LGPL-2.1-only ]",
- "locked_url": "https://github.com/flox/nixpkgs?rev=3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
- "name": "bun-1.4.2",
- "pname": "bun",
- "rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
- "rev_count": 1100280,
- "rev_date": "2026-10-23T16:35:39Z",
- "scrape_date": "2026-10-25T06:24:58.728611Z",
- "stabilities": [
- "unstable"
- ],
- "unfree": false,
- "version": "1.4.2",
- "outputs_to_install": [
- "out",
- "out"
- ],
- "outputs": {
- "out": "/nix/store/f8hiv5nmim0dpaxixmxiijdm8x0mffsy-bun-1.4.2"
- },
- "system": "aarch64-linux",
- "group": "bun",
- "priority": 5
- },
- {
- "attr_path": "bun",
- "broken": false,
- "derivation": "/nix/store/4ql11clbibnp4l68sf11j49fkaf0zivl-bun-1.4.2.drv",
- "description": "Incredibly fast JavaScript runtime, bundler, transpiler and package manager – all in one",
- "install_id": "bun",
- "license": "[ MIT, LGPL-2.1-only ]",
- "locked_url": "https://github.com/flox/nixpkgs?rev=3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
- "name": "bun-1.4.2",
- "pname": "bun",
- "rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
- "rev_count": 1100280,
- "rev_date": "2026-10-23T16:35:39Z",
- "scrape_date": "2026-10-25T07:01:24.175483Z",
- "stabilities": [
- "unstable"
- ],
- "unfree": false,
- "version": "1.4.2",
- "outputs_to_install": [
- "out",
- "out"
- ],
- "outputs": {
- "out": "/nix/store/2mxhj3nrvxxqm6gf6rwnrvz048zqdclp-bun-1.4.2"
- },
- "system": "x86_64-linux",
- "group": "bun",
- "priority": 5
}
]
}
diff --git a/products/replay_vision/frontend/replay_scanners/components/HighlightFeedCard.tsx b/products/replay_vision/frontend/replay_scanners/components/HighlightFeedCard.tsx
index 549b881d9e0c..704332072a97 100644
--- a/products/replay_vision/frontend/replay_scanners/components/HighlightFeedCard.tsx
+++ b/products/replay_vision/frontend/replay_scanners/components/HighlightFeedCard.tsx
@@ -305,9 +305,10 @@ export function HighlightFeedRow({ item, position }: HighlightFeedRowProps): JSX
})
}
return (
+ // Fades in from part opacity at the poster's pace, so the slot never goes blank between placeholder and card.
<article
ref={rowRef}
- className="group relative flex min-w-0 flex-col gap-3 rounded-lg border bg-surface-primary p-4 hover:border-accent focus-within:border-accent"
+ className="group relative flex min-w-0 flex-col gap-3 rounded-lg border bg-surface-primary p-4 hover:border-accent focus-within:border-accent ease-out starting:opacity-30 motion-safe:transition-opacity motion-safe:duration-300"
data-attr="vision-highlight-feed-row"
>
<header className="flex min-w-0 items-center gap-2">