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

feat: player control v2 #26642

Merged
merged 6 commits into from
Dec 4, 2024
Merged

feat: player control v2 #26642

merged 6 commits into from
Dec 4, 2024

Conversation

pauldambra
Copy link
Member

@pauldambra pauldambra commented Dec 4, 2024

  • move the play next button into the control bar
  • always show it
  • add a hotkey

2024-12-04 17 22 30

2024-12-04 17 22 02

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Size Change: 0 B

Total Size: 1.11 MB

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

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

  • chromium: 0 added, 4 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.

@pauldambra pauldambra requested review from daibhin and a team December 4, 2024 17:39
Copy link
Contributor

@daibhin daibhin left a comment

Choose a reason for hiding this comment

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

Didn't run it but the code all looks reasonable

Comment on lines +26 to +35
useKeyboardHotkeys({
n: {
action: () => {
if (nextSessionRecording?.id) {
reportNextRecordingTriggered(false)
setSelectedRecordingId(nextSessionRecording.id)
}
},
},
})
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a hint to this button using the <KeyboardShortcut /> component to let people know the hot key exists

Copy link
Member Author

@pauldambra pauldambra Dec 4, 2024

Choose a reason for hiding this comment

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

Screenshot 2024-12-04 at 18 36 50

@pauldambra pauldambra enabled auto-merge (squash) December 4, 2024 18:38
@pauldambra pauldambra merged commit 8b483e2 into master Dec 4, 2024
96 checks passed
@pauldambra pauldambra deleted the feat/player-control-v2 branch December 4, 2024 20:12
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