fix(playlists): what the first review of bulk actions found
An Esc during a pointer drag is spent on the drag and leaves the selection. A wheel over the rail re-reads the target each frame, so a drop lands on the row under the pointer. After a bulk removal the focus goes to the next row left, and to the list's menu when the list is emptied. remove-bulk names the videos that went, and its Undo brings back only those. An Undo of a move keeps each row (and when it was saved), leaves out a video that moved on from the target, closes up its place, and says how many came back. Delete with every tick hidden removes nothing and says why. A list gone before the lock answers 404, and a body without its videos 422. One removal path now: the single row goes through the bulk one, the same toast and undo, which also retires the add-at-position route. railDrop reuses the store and scrollParent, the drag image the overlay and the z-index token, and the sensors keep their number. The count is read out from a region that outlives the band. Tests fill the gaps the review named, each seen failing.
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
"listStep": "Next / previous item",
|
||||
"gridMove": "Move around the list",
|
||||
"open": "Open the current item",
|
||||
"listRemove": "Remove the selected rows, or else the current one",
|
||||
"listRemove": "Remove from the list",
|
||||
"listSelect": "Select or deselect the current item",
|
||||
"listClearSelection": "Clear the selection",
|
||||
"cap": {
|
||||
|
||||
@@ -117,6 +117,15 @@
|
||||
"removedManyToast_other": "{{count}} videos removed from the playlist",
|
||||
"moveNoneLeft": "Nothing moved: they aren’t in this playlist any more",
|
||||
"removeNoneLeft": "Nothing removed: they aren’t in this playlist any more",
|
||||
"selectionCleared": "Selection cleared",
|
||||
"removeAllHidden": "The selected rows are hidden by the filter",
|
||||
"undoNoneBack": "Nothing came back: those videos aren’t where they were any more",
|
||||
"undoSomeBack_one": "Only {{count}} video came back: the rest aren’t where they were any more",
|
||||
"undoSomeBack_other": "Only {{count}} videos came back: the rest aren’t where they were any more",
|
||||
"dragCancelledMany_one": "Move cancelled; {{count}} video stays where it was",
|
||||
"dragCancelledMany_other": "Move cancelled; {{count}} videos stay where they were",
|
||||
"moveTargetsFailed": "Your playlists couldn’t be loaded",
|
||||
"moveTargetsLoading": "Loading your playlists…",
|
||||
"moveManyFailed": "Couldn't move the videos",
|
||||
"removeManyFailed": "Couldn't remove the videos",
|
||||
"undoMoveFailed": "Couldn't move the video back",
|
||||
|
||||
Reference in New Issue
Block a user