Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List view drag and drop: Make it more obvious blocks can be dragged #33686

Closed
Tracked by #33683
talldan opened this issue Jul 26, 2021 · 2 comments · Fixed by #57493
Closed
Tracked by #33683

List view drag and drop: Make it more obvious blocks can be dragged #33686

talldan opened this issue Jul 26, 2021 · 2 comments · Fixed by #57493
Assignees
Labels
[Feature] Drag and Drop Drag and drop functionality when working with blocks [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@talldan
Copy link
Contributor

talldan commented Jul 26, 2021

What problem does this address?

This was feedback on the PR that enabled drag and drop - #33320 (comment)

What is your proposed solution?

A simple first option might be to show the 'drag' pointer when hovering over the block icon.

There might also be other visual improvements, though a drag handle might make things a bit visually busy.

@talldan talldan added [Type] Enhancement A suggestion for improvement. [Feature] Drag and Drop Drag and drop functionality when working with blocks [Feature] List View Menu item in the top toolbar to select blocks from a list of links. labels Jul 26, 2021
@jasmussen
Copy link
Contributor

While closed now, there are some mockups for how this could be handled in the original issue #29727 which I've copied here for easier reference:

Note: This change should apply to anywhere we use the List View component. Here shown for the Navigation block:

list view

Make the entire list view item draggable:

list view hover

You'd still be able to focus the item itself, or the ellipsis, individually:

focus

The ellipsis menu contains a "Move to..." item that duplicates the move action.

@ramonjd
Copy link
Member

ramonjd commented Jan 3, 2024

I played around with this and felt that a modest start would be to change the cursor. The drag cursor is fairly universal.

2024-01-03.15.11.34.mp4

Adding the dragHandle cursor clutters the UI a bit in my opinion.

There's also an option of switching the block icon to dragHandle onHover, but it still seems confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Drag and Drop Drag and drop functionality when working with blocks [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants