Add context menu for queue tracks

QueuePanel:
- Add vertical ... icon to the right of track duration
- Context menu with 3 options:
  - Remove from Queue (calls backend remove_from_queue)
  - Add to Playlist (reuses existing playlist modal)
  - Show Track Info (reuses existing track info modal)
- Menu shows on button click, closes on click outside

+page.svelte:
- Add handlers: handleRemoveFromQueue, handleQueueTrackAddToPlaylist,
  handleQueueTrackInfo
- Wire up new QueuePanel props

i18n: Add toast messages for remove from queue (all 4 locales)
This commit is contained in:
vicrodh committed 2026-02-12 13:20:08 -06:00
1 parent 1959000fd0
commit 9c5245f2ce
6 files changed
+183 -2

No files matched your search

+2
View File
@@ -1078,6 +1078,8 @@
"queueEmpty": "Queue is empty",
"queueEnded": "Queue ended",
"failedClearQueue": "Failed to clear queue",
"removedFromQueue": "Removed from queue",
"failedRemoveFromQueue": "Failed to remove from queue",
"shuffleEnabled": "Shuffle play enabled",
"shuffleDisabled": "Shuffle disabled",
"repeatOff": "Repeat: Off",