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: LEAP-1737: Add keyboard shortcut for audio play/pause action #6863

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Gondragos
Copy link
Collaborator

@Gondragos Gondragos commented Jan 7, 2025

Added "ctrl+p" (or "command+p" on Mac) to toggle audio play and pause. Updated keymap.json and integrated hotkey behavior in AudioUltra view for better usability.

Upd:

  • Hotkey for play/pause on mac is changed to control+space as alt+spacedidn't work.
  • added ability to use hotkey scopes at ControlButton, Button and `useHotkey``
  • add input scope for media:playpause hotkey
  • add tooltip for play/pause hotkey

Added "ctrl+p" (or "command+p" on Mac) to toggle audio play and pause. Updated keymap.json and integrated hotkey behavior in AudioUltra view for better usability.
@github-actions github-actions bot added the feat label Jan 7, 2025
Copy link

netlify bot commented Jan 7, 2025

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit ae1c0dd
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/677f6d8614a573000844bed9

Copy link

netlify bot commented Jan 7, 2025

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit ae1c0dd
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/677f6d86d3a14500081fc998

Introduce hotkey scope support across components to better modularize and standardize hotkey behavior. Updated references to use `Hotkey.ALL_SCOPES` for consistent functionality across default and input scopes. Adjustments include changes in handling, attachment, and removal of scoped hotkeys.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants