Repository navigation
Conversation
jaygeorge
added this pull request to stack #15680
October 19, 2026 14:24
- Parent breadcrumbs accept drops when the dragged item can be moved (and the current folder too while searching) - Browser owns the move: spinners on the moving items, a "Moved to :folder" toast, and the progress bar until every move has settled - Moved assets stay selected under their new IDs, via the action's replaceInSelections callback, applied with the refreshed listing - Folders only accept movable items, can't be dropped onto themselves, and items already in the destination are skipped - List view outlines the hovered folder's icon and name, like the breadcrumbs
Rendering the overlay on dragstart changed the DOM under the drag source, which made the browser cancel the drag. Only show it while moving, and dim the tile during the drag instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jasonvarga
force-pushed
the
15677-drag-to-breadcrumbs
branch
from
October 20, 2026 20:41
623662b to
946b9c2
Compare
This branch has not been deployed
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.
Depends on #15676.
Description of the Problem
You can drag assets deeper into subfolders, but there's no way to drag one back up. To move an asset into a parent folder, or back to the top, you have to use the Move action instead.
What this PR Does
The breadcrumbs above the asset browser are now drop targets, so you can drag an asset or folder onto any parent folder, including "All".
The move itself lives in
Browserrather than in the grid and list components, so it carries on correctly if you switch views mid-move. Each move's spinners stay until the refreshed listing comes back, and the selection is updated in that same render. Moved assets get new IDs, so the action's ownreplaceInSelectionscallback keeps them selected rather than them silently dropping out (which matters in the asset picker, where the selection is what you're picking).drag-to-breadcrumbs.mp4
How to Reproduce