-
Notifications
You must be signed in to change notification settings - Fork 383
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
Snapping Guidelines #3060
Snapping Guidelines #3060
Conversation
dfce070
to
a7c2c0e
Compare
a7c2c0e
to
042c0f5
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Also disables snapping when Alt key is pressed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. I approve.
But is there an "implement actual snapping" ticket to follow this one? I can't find one on either board. Isn't this a high priority for 1.4?
Two notes from functional testing, both can be for future consideration if not blockers right now.
In this case the Title block is quite large but has white background and it's quite confusing to understand what are the snapping lines for. Perhaps it would be a good idea to display the border around the block that's being snapped against?
|
@barklund I'll create one after merging this. We need to flesh out the acceptance criteria there carefully as the last version in this PR was not 100% satisfying. @miina Some very good points! We should definitely follow up on these. For the first one, Morten mentioned something similar in #3060 (comment)::
I implemented the first idea (only having the snap lines extend to far edge of the object you're snapping to), but not the second one with highlighting the snapped element. I don't know any program that does this (just like adapting the snap line color), so it felt premature to add it. |
I have seen that for a while actually. It's in develop too and have been for about a week - I haven't tracked it back to where it originally comes from. But when there's multiple elements on the page, you can't select-and-drag in one click (not always at least). You have to click to select first, then drag. I wasn't sure if it was a bug locally for me only as nobody else reported it though, but it seems it may not be.
Hm, the opacity definitely makes it harder to see what's being snapped to at least. Tough one. UX? |
Created #3458 for the lagging issue. As for the CTA block: could we change it so that the lines are shown on top? Definitely shouldn't be hidden like that. Regarding the amount of snap lines it would be good to get some real world testing I think. It's not just for the CTA block where we need to find a good balance. |
Summary
Fixes #2992 (resizing blocks in relation to the page).
Fixes #2994 (resizing blocks in relation to other blocks).
Fixes #2993 (moving blocks in relation to the page).
Fixes #2995 (moving blocks in relation to other blocks).
As previously discussed, this PR addresses the snapping guidelines part, but not currently the actual snapping.
Resizing
Address block multi-selection interferencesee Resizing causes multiselection #3092.Dragging
General
Checklist