Workspace has no visual feedback when the user is dragging a design from one folder to another — drag is initiated on the card, but the destination folder chip does not highlight to show "this is where the design will land" #274
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/Kimi_Agent_Brother_10_Digitizing_App#274
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
src/components/gallery/FolderNav.tsx's folder chips haveonDragOverandonDrophandlers. Per the snippet, the chips have a visual state forisDragOver(perisDragOver ? 'rgba(230,169,72,0.2)' : ...).grep -n 'isDragOver' src/components/gallery/FolderNav.tsxreturns matches; the visual is wired.But:
The polish move is:
Where
src/components/gallery/FolderNav.tsx(drag-over visual)src/components/gallery/DesignCard.tsx(drag start)src/pages/Gallery.tsx(drag state, drop handler)Suggested fix shape
Folder chip: already highlights on drag-over. Polish: add a "Drop to add to {folderName}" tooltip on drag-over.
Gallery background: when dragging anywhere outside a folder chip, the gallery shows a "drop here to remove from folder" overlay. This is the "unfiled" zone.
Toast on drop: "Moved 'design.pes' to {folderName}" or "Removed from folder" (per the drop target).
Error state: if the user tries to drop on a non-drop zone, show a brief red border on the gallery.
Drag preview: when dragging a card, the cursor shows a translucent preview of the card.
e.dataTransfer.setDragImage(cardElement, 0, 0).Severity
Low. The user can drag and see the folder highlight. The polish moves are minor.
Discovered by
Gap analysis (2026-10-02) of gallery drag-and-drop.
Related
Shipped fix(#274) at
863e484on origin/main.Gallery drag-and-drop now gives the user visual feedback at every stage:
setDragImageso the OS-rendered ghost matches the card itself (was: unstyled browser ghost)1496 tests pass (117 test files). New regression coverage in
src/components/gallery/issue-274-drag-feedback.test.tsxpins all four behaviors + the active-folder guard.