Add drag-to-reorder within playlists

Cards in playlist view are draggable. Visual feedback: opacity on
source card, accent border on drop target. Reorder persists to store.

Files:
- frontend/app.js: dragSource state, drag/drop handlers on cards,
  container-level dragover guard in wireUI
- frontend/styles.css: .card.dragging, .card.drag-over styles
This commit is contained in:
Jonathan Sykes
2026-06-14 14:41:05 +08:00
parent a4d6b825d5
commit 0ba0f56a54
6 changed files with 44 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ bottom as they come up.
- [x] Toast queue (stack multiple toasts instead of replacing).
## Features
- [ ] Drag-to-reorder videos within a playlist.
- [x] Drag-to-reorder videos within a playlist.
- [ ] "Up next" queue panel showing the autoplay queue.
- [ ] Persistent mini now-playing bar when browsing other views.
- [ ] Cache size cap in Settings (auto-evict oldest past a limit).