-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: player control v2 #26642
Conversation
pauldambra
commented
Dec 4, 2024
•
edited
Loading
edited
- move the play next button into the control bar
- always show it
- add a hotkey
Size Change: 0 B Total Size: 1.11 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated4 snapshot changes in total. 0 added, 4 modified, 0 deleted:
Triggered by this commit. |
There was a problem hiding this 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
useKeyboardHotkeys({ | ||
n: { | ||
action: () => { | ||
if (nextSessionRecording?.id) { | ||
reportNextRecordingTriggered(false) | ||
setSelectedRecordingId(nextSessionRecording.id) | ||
} | ||
}, | ||
}, | ||
}) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.