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

fix: improve the styling and responsiveness #27859

Merged
merged 6 commits into from
Jan 24, 2025
Merged

Conversation

veryayskiy
Copy link
Contributor

Player has the bottom settings that include a bunch of useful buttons such as speed, skip inactivity, etc.

Problem:
When there is a banner on the top (e.g update SDK or Invite a team member) those buttons are not visible.

Solution:
Move them to the top + move "Activity" button there as well.

Before:
Screenshot 2025-01-24 at 13 30 40

After:
Screenshot 2025-01-24 at 14 45 47

@veryayskiy veryayskiy changed the title fix: Remove unnecessary buttons from the player UI: improve the styling and responsiveness Jan 24, 2025
@veryayskiy veryayskiy changed the title UI: improve the styling and responsiveness fix: improve the styling and responsiveness Jan 24, 2025
Copy link
Contributor

github-actions bot commented Jan 24, 2025

Size Change: 0 B

Total Size: 1.16 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.16 MB

compressed-size-action

@veryayskiy veryayskiy requested a review from pauldambra January 24, 2025 14:02
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

<ShowMouseTail />
<SetPlaybackSpeed />
<SetTimeFormat />
<SettingsBar border="top">
Copy link
Member

Choose a reason for hiding this comment

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

bottom border as well? I think this takes "both"

@@ -174,20 +175,25 @@ function InspectDOM(): JSX.Element {
)
}

function PlayerBottomSettings(): JSX.Element {
export function PlayerBottomSettings(): JSX.Element {
Copy link
Member

Choose a reason for hiding this comment

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

it's maybe more of a PlayerSettings now than PlayerBottomSettings

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.

🙌

@veryayskiy veryayskiy merged commit 030d743 into master Jan 24, 2025
99 checks passed
@veryayskiy veryayskiy deleted the ui/sr/player-ui branch January 24, 2025 16:51
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