-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Moving blocks on non-consecutive multi-selection. #16895
Comments
I like those explorations and I tend to agree — if you select non-consecutive blocks and move them (via drag and drop or buttons), I would expect them to move as a consecutive group. The only suggestion I would have is to explore moving them as a group without the interim “place consecutively” step. In other words, your current gifs demonstrate a flow essentially like
I’d be curious to see the above, but with that third step removed so that initial move step joins the group and moves the entire group in one step. |
it actually does but in the moving down (first gif), and that was my intention, the moving up (second gif) seems to have a problem, but then again, this was a hacky prototype done in codepen at lunch break |
@senadir yep I see it now in the moving down example. I love it — I think that makes a ton of sense and feels very intuitive. |
That's a nice visualisation. I had a slightly different thought, I imagined that when using the block-mover buttons with a non-consecutive block selection, all the selected blocks would still move by one. For example, in the moving down animation, the first time the button is clicked, 6 would end up between 2 and 4. The next time the button is clicked 7 ends up between 2 and 4. Drag and drop is a bit harder to imagine. For that, I think all the blocks would have to collapse together as there's only a single drop destination. |
Now that you mention it, that makes total sense to me! 👍 |
@talldan yes, I can see how this approach assumes that the selected element are now a group and are treated in that way, it also raises another two questions:
in consecutive multi selection, the elements are assumed to be a closely related group and are handled that way, how about non consecutive
|
Thanks for the visual. In looking at this I wonder is assuming they would all want to be grouped together an assumption that people would want? I can see why that's being made, perhaps though by selecting they are wanted to all move down the same number of blocks and maintain the order, spacing. It's a hard point as we have to decide the expected behaviour here. |
I would agree with some of the other sentiments here. The way they are moving in the gifs is exactly how I imagined they would move. The gifs work wonderfully when clicking a block mover icon. When dragging and dropping they would all align together similarly to Kjell's gif above. This is pretty standard layer ordering in graphics programs like Photoshop, Sketch, etc. |
If we all agree this is good, do we need design feedback on this still? |
Relabelling. There's quite a bit of technical feedback in the now closed PR #16811, so removing that label and considering this as an enhancement request. |
Although having said that #16797 is still open, so I think I'll close and link to this discussion. |
related to this PR #16811
@swissspidy is working on a non-consecutive block multi select, an important question that was raised in the core editor chat by @mtias was
I started with a simple approach & a visual prototype to demonstrate it
moving down:
moving up (fixed version):
I'm hoping this can open a discussion to see how we can take this design wise
The text was updated successfully, but these errors were encountered: