Hold a Trash row to restore it, pick several at once, and a count on the Trash icon - #756
Merged
Merged
Conversation
… a count on the icon Restoring from the Trash used to mean dragging one row at a time onto the Library button, which nothing on screen explained, and a click on a trashed row opened it in the studio as if it were not trashed. Hovering a Trash row now turns its second line into "Hold left click for 1 second to restore". A click selects a row, Ctrl+click adds or removes one, Shift+click takes a range. Holding the mouse button, or Enter, for a second restores the row, or the whole selection when the row is part of it; letting go early does nothing. Every row the hold will restore fills while it is held. Dragging onto Library still restores, the selection too. Restore never queues a song again (#748). The Trash icon carries the same count badge as the Queue, and its label says how many songs are in it, so a full Trash is visible from anywhere. Closes #749 Closes #755
Merged
thcp
added a commit
that referenced
this pull request
Oct 4, 2026
…the Trash icon (#756) feat(trash): hold a row for a second to restore it, pick several, and a count on the icon Restoring from the Trash used to mean dragging one row at a time onto the Library button, which nothing on screen explained, and a click on a trashed row opened it in the studio as if it were not trashed. Hovering a Trash row now turns its second line into "Hold left click for 1 second to restore". A click selects a row, Ctrl+click adds or removes one, Shift+click takes a range. Holding the mouse button, or Enter, for a second restores the row, or the whole selection when the row is part of it; letting go early does nothing. Every row the hold will restore fills while it is held. Dragging onto Library still restores, the selection too. Restore never queues a song again (#748). The Trash icon carries the same count badge as the Queue, and its label says how many songs are in it, so a full Trash is visible from anywhere. Closes #749 Closes #755
This was referenced Oct 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Trash is now visible from anywhere, and songs come back out of it without guessing.
What changes
One behaviour change: a click on a Trash row no longer opens the song in the studio. With hold to restore, every hold let go early would have opened it.
Testing
tests/e2e/trash-restore.spec.mjs, 13 tests: the badge, the hover hint, click, Ctrl and Shift selection, an early release, a single and a selection restore, the fill on every selected row, and Enter.uv.lockunchanged.Closes #749
Closes #755