feat(web): right click menu for queue songs #131

Merged
joshuafhiggins merged 1 commits from t3/queue-context-menu into main 2026-11-20 00:19:41 -05:00
Owner

Songs in the web queue sidebar could be selected but had no menu, so you couldn't favorite, add to a playlist, download or remove them from there like you can in other track lists.

Upcoming queue rows now use the same "more options" and right-click menu as album, playlist and library rows. Actions apply to the whole selection when the clicked row is selected, and right-clicking an unselected row selects it first, same as elsewhere. The menu also has Remove from Queue, which removes the targeted songs by position.

Since a song can appear in the queue more than once, rows are tracked by a per-position id rather than the song id. TrackRow gains an optional selectionId prop that its menu and remove callbacks receive. It defaults to the song id, so other lists are unchanged.

History rows and the current song don't have the menu yet.

Changes made by Claude Opus 5.5 (claude-opus-5-5) via Claude Code in T3 Code.

🤖 Generated with Claude Code

Songs in the web queue sidebar could be selected but had no menu, so you couldn't favorite, add to a playlist, download or remove them from there like you can in other track lists. Upcoming queue rows now use the same "more options" and right-click menu as album, playlist and library rows. Actions apply to the whole selection when the clicked row is selected, and right-clicking an unselected row selects it first, same as elsewhere. The menu also has Remove from Queue, which removes the targeted songs by position. Since a song can appear in the queue more than once, rows are tracked by a per-position id rather than the song id. `TrackRow` gains an optional `selectionId` prop that its menu and remove callbacks receive. It defaults to the song id, so other lists are unchanged. History rows and the current song don't have the menu yet. Changes made by Claude Opus 5.5 (claude-opus-5-5) via Claude Code in T3 Code. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
joshuafhiggins added 1 commit 2026-11-20 00:19:10 -05:00
Upcoming queue rows get the same "more options" and right-click menu as
other track lists, acting on the selection, plus Remove from Queue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
joshuafhiggins merged commit 216c6a807b into main 2026-11-20 00:19:41 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joshuafhiggins/otunes#131