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.

chore(replay): remove dead player SCSS and retire two legacy colour tokens (#105810)

Hayne Ryu3e726e761b43
diff --git a/frontend/src/scenes/session-recordings/player/PlayerFrameOverlay.scss b/frontend/src/scenes/session-recordings/player/PlayerFrameOverlay.scss
index cbf3ed966708..e85c3e110bd8 100644
--- a/frontend/src/scenes/session-recordings/player/PlayerFrameOverlay.scss
+++ b/frontend/src/scenes/session-recordings/player/PlayerFrameOverlay.scss
@@ -1,12 +1,3 @@
-.PlayerFrameOverlay {
- .PlayerFrameOverlay__content {
- &--only-hover {
- // When paused only show on hover to allow people to take screenshots
- opacity: 0;
- }
- }
-}
-
.SeekIndicator {
animation:
SeekIndicator__FadeIn 0.1s ease-out forwards,
diff --git a/frontend/src/scenes/session-recordings/player/SessionRecordingPlayer.scss b/frontend/src/scenes/session-recordings/player/SessionRecordingPlayer.scss
index 764bf3dc7fdd..ae84fa9b36b6 100644
--- a/frontend/src/scenes/session-recordings/player/SessionRecordingPlayer.scss
+++ b/frontend/src/scenes/session-recordings/player/SessionRecordingPlayer.scss
@@ -33,12 +33,6 @@
border: 1px solid var(--color-border-primary);
border-radius: var(--radius);
}
-
- &__tabs {
- & .LemonTabs__tab-content {
- padding: 10px 0;
- }
- }
}
&--stacked-vertically {
diff --git a/frontend/src/scenes/session-recordings/player/controller/Seekbar.scss b/frontend/src/scenes/session-recordings/player/controller/Seekbar.scss
index b476f9de04e9..6b8ab6f573ed 100644
--- a/frontend/src/scenes/session-recordings/player/controller/Seekbar.scss
+++ b/frontend/src/scenes/session-recordings/player/controller/Seekbar.scss
@@ -67,44 +67,6 @@
}
}
- .PlayerSeekbar__segments {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 4;
- width: 100%;
- height: 100%;
- overflow: hidden;
- pointer-events: none;
- border-radius: var(--bar-height);
-
- .PlayerSeekbar__segment {
- position: absolute;
- height: 100%;
- pointer-events: auto;
- cursor: pointer;
- border-radius: 2px;
- opacity: 0.75;
- transition: opacity 150ms ease;
-
- &:hover {
- opacity: 0.9;
- }
-
- &--success {
- background-color: var(--success);
- }
-
- &--failure {
- background-color: var(--danger);
- }
-
- &--unknown {
- background-color: var(--color-neutral-500);
- }
- }
- }
-
.PlayerSeekbar__observation {
position: absolute;
z-index: 4;
diff --git a/frontend/src/scenes/session-recordings/player/player-meta/PlayerMeta.scss b/frontend/src/scenes/session-recordings/player/player-meta/PlayerMeta.scss
index a1df14cd15a3..93f72bbf35a2 100644
--- a/frontend/src/scenes/session-recordings/player/player-meta/PlayerMeta.scss
+++ b/frontend/src/scenes/session-recordings/player/player-meta/PlayerMeta.scss
@@ -5,71 +5,6 @@
flex-shrink: 0;
overflow: hidden;
- .PlayerMetaPersonProperties {
- padding: 0.5rem;
- overflow: auto;
- background: var(--color-bg-primary);
- border-bottom: 1px solid transparent;
- }
-
- &:not(.PlayerMeta--fullscreen) {
- .PlayerMetaPersonProperties {
- transition:
- 200ms height ease-out,
- 200ms border-bottom-color ease-out;
-
- &--enter {
- height: 0;
- }
-
- &--enter-active,
- &--enter-done {
- height: 14rem;
- border-bottom-color: var(--color-border-primary);
- }
-
- &--exit {
- height: 14rem;
- border-bottom-color: var(--color-border-primary);
- }
-
- &--exit-active {
- height: 0;
- }
- }
- }
-
- &--fullscreen {
- .PlayerMetaPersonProperties {
- position: fixed;
- top: 48px;
- bottom: 97px; // NOTE: This isn't perfect but for now hardcoded to match the bottom area size.
- left: 0;
- z-index: 1;
- width: 100%;
- max-width: 40rem;
- border-right: 1px solid var(--color-border-primary);
- transition: 200ms transform ease-out;
-
- &--enter {
- transform: translateX(-100%);
- }
-
- &--enter-active,
- &--enter-done {
- transform: translateX(0);
- }
-
- &--exit {
- transform: translateX(0);
- }
-
- &--exit-active {
- transform: translateX(-100%);
- }
- }
- }
-
.Link {
color: var(--text-3000);