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

style: decouple Playlist and player. #27464

Merged
merged 37 commits into from
Jan 15, 2025
Merged

Conversation

veryayskiy
Copy link
Contributor

@veryayskiy veryayskiy commented Jan 13, 2025

It makes the layout more responsive + looks better on mobile

Problem

Session replay page is not responsive as playlist and player are coupled.

Changes

Decoupled player and the list. Make them responsive.

Web

Before:
Screenshot 2025-01-13 at 19 57 41

After:
Screenshot 2025-01-13 at 19 57 25

Mobile

Before:
Screenshot 2025-01-13 at 19 59 17

After:
Screenshot 2025-01-13 at 19 59 10

Copy link
Contributor

github-actions bot commented Jan 13, 2025

Size Change: +150 B (+0.01%)

Total Size: 1.13 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.13 MB +150 B (+0.01%)

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

14 snapshot changes in total. 0 added, 14 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

14 snapshot changes in total. 0 added, 14 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@veryayskiy veryayskiy marked this pull request as ready for review January 13, 2025 18:56
@veryayskiy veryayskiy requested a review from pauldambra January 13, 2025 18:59
@pauldambra
Copy link
Member

doesn't quite work if you drag playlist into notebook (which I missed in mine too!)

lack of a border is the biggest thing here... but arguably we don't need to be able to hide the filters any more

2025-01-13 19 02 59

@pauldambra
Copy link
Member

i guess the drag handle for the playlist to notebook interaction is in the wrong place now?

2025-01-13 19 05 05

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably have the section expanded by default in these stories so that we can see the row rendering is working

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i love that this changes brings this content back into view!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah.. i see. the split view hasn't applied to playlists here or in notebooks

@@ -51,7 +50,7 @@

.SessionRecordingPlaylistHeightWrapper {
// NOTE: Somewhat random way to offset the various headers and tabs above the playlist
height: calc(100vh - 15rem);
height: calc(100vh - 10rem);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dropping into both of our heads that it would be so cool to be able to remove this and just have this as a min-height and we fill the viewport otherwise

(although that can come... doesn't have to be in this PR 😊)

Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is great... just need to handle the playlist/notebook view too

@veryayskiy veryayskiy requested a review from pauldambra January 14, 2025 16:34
Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was sure i'd clicked approve already 🙈

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

5 snapshot changes in total. 0 added, 5 modified, 0 deleted:

  • chromium: 0 added, 5 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

11 snapshot changes in total. 0 added, 11 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@veryayskiy veryayskiy merged commit 26ca405 into master Jan 15, 2025
99 checks passed
@veryayskiy veryayskiy deleted the style/session-replay-ui branch January 15, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants