Skip to content

feat: LEAP-1737: Add keyboard shortcut for audio play/pause action #6863

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

Merged
merged 8 commits into from
Jan 15, 2025

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 ready!

Name Link
🔨 Latest commit ea5f5ff
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/67869729cd6975000881c8b6
😎 Deploy Preview https://deploy-preview-6863--label-studio-docs-new-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 7, 2025

Deploy Preview for heartex-docs ready!

Name Link
🔨 Latest commit ea5f5ff
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/67869729b7306c00087d74f3
😎 Deploy Preview https://deploy-preview-6863--heartex-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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.
@Gondragos
Copy link
Collaborator Author

Gondragos commented Jan 14, 2025

/git merge develop

Workflow run
Successfully merged: create mode 100644 web/libs/editor/src/components/InteractiveOverlays/RelationsOverlay.module.scss

@Gondragos
Copy link
Collaborator Author

Gondragos commented Jan 14, 2025

/git merge develop

Workflow run
Successfully merged: create mode 100644 docs/themes/v2/source/images/project/video_sync.png

@Gondragos
Copy link
Collaborator Author

Gondragos commented Jan 14, 2025

/git merge develop

Workflow run
Successfully merged: 20 files changed, 52 insertions(+), 31 deletions(-)

Gondragos and others added 3 commits January 14, 2025 14:25
Changed the shortcut for "media:playpause" from "alt+space" to "ctrl+alt+space" to prevent conflicts with existing shortcuts in Windows.
…m/heartexlabs/label-studio into fb-leap-1737/playpause-audio-hotkey
@Gondragos Gondragos merged commit ef86b7c into develop Jan 15, 2025
34 checks passed
@Gondragos Gondragos deleted the fb-leap-1737/playpause-audio-hotkey branch January 15, 2025 15:01
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.

5 participants