Skip to content

Add customizable controls to music-player#2

Merged
MakingSpiderSense merged 3 commits into
mainfrom
feature/music-player/add-customizable-controls
Jun 20, 2025
Merged

Add customizable controls to music-player#2
MakingSpiderSense merged 3 commits into
mainfrom
feature/music-player/add-customizable-controls

Conversation

@MakingSpiderSense
Copy link
Copy Markdown
Owner

Adds the ability to disable controls or set the specific keys or buttons to pause or skip tracks.

https://trello.com/c/fZw56fd9

Copilot AI review requested due to automatic review settings June 20, 2025 03:04

This comment was marked as outdated.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds customizable controls to the music-player component, enabling users to disable controls and configure specific keys or buttons for pausing and skipping tracks.

  • Added new schema properties for control enabling and custom selectors/buttons/keys.
  • Refactored event listener setup for controller and keyboard inputs into separate helper functions.
  • Simplified string trimming logic for song names.

Comment thread src/components/music-player/music-player.js
@MakingSpiderSense MakingSpiderSense merged commit 6fb0a34 into main Jun 20, 2025
@MakingSpiderSense MakingSpiderSense deleted the feature/music-player/add-customizable-controls branch July 10, 2025 00:56
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.

2 participants