Desktop: drag image should show a count badge whenever more than one track is dragged #19

Closed
opened 2026-08-18 05:54:00 +00:00 by logan · 1 comment
Collaborator

Report

Dragging an album to the queue shows a small cover under the cursor with no indication of how many tracks are coming. Every multi-track drag should show the count.

Findings

frontend/src/utils/drag-image.ts has two builders:

  • createDragImage(count) — a text badge, "N tracks".
  • createAlbumArtDragImage(coverUrl) — takes no count, so the album drag can't show one.

Direction

Give createAlbumArtDragImage a count and render a corner badge over the thumbnail; keep the text-badge fallback for a failed image load. Then audit every setDragImage call site (cover-grid, track-list, queue-panel, playlist views) so the rule is "any drag of more than one track shows its count".

**Report** Dragging an album to the queue shows a small cover under the cursor with no indication of how many tracks are coming. Every multi-track drag should show the count. **Findings** `frontend/src/utils/drag-image.ts` has two builders: - `createDragImage(count)` — a text badge, "N tracks". - `createAlbumArtDragImage(coverUrl)` — takes **no count**, so the album drag can't show one. **Direction** Give `createAlbumArtDragImage` a `count` and render a corner badge over the thumbnail; keep the text-badge fallback for a failed image load. Then audit every `setDragImage` call site (cover-grid, track-list, queue-panel, playlist views) so the rule is "any drag of more than one track shows its count".
logan self-assigned this 2026-08-18 15:08:58 +00:00
Owner

Shipped in main as 12e75ee — feat(ui): badge an album drag with how many tracks it carries — merged through #83. This was listed in that PR's Closes line but did not close automatically; closing it now.

Shipped in `main` as `12e75ee` — feat(ui): badge an album drag with how many tracks it carries — merged through #83. This was listed in that PR's `Closes` line but did not close automatically; closing it now.
yonlu closed this issue 2026-08-18 19:56:52 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yonlu/yellowjacket#19