-
Notifications
You must be signed in to change notification settings - Fork 113
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(controls): Add MP3 settings controls #1343
Conversation
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.
Like how clean the menus look!
src/lib/viewers/controls/media/MediaSettings/MediaSettingsAutoplay.tsx
Outdated
Show resolved
Hide resolved
}); | ||
|
||
describe('event handlers', () => { | ||
test('should surface the selected item on change', () => { |
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.
Should this test the false
option as well?
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.
I'm not sure it's necessary, since the underlying logic is the same. Thoughts?
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.
I guess in terms of testing event handlers, that true. Just thought a test to assert the expected options in the menu might be good
Thanks for the reviews, @ConradJChan! |
Final PR for the changes described in #1340. I'll also open a separate PR to add support global keydown handling for play rate changes.