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

Snapping: Moving blocks in relation to other blocks #2995

Closed
swissspidy opened this issue Aug 8, 2019 · 3 comments · Fixed by #3060
Closed

Snapping: Moving blocks in relation to other blocks #2995

swissspidy opened this issue Aug 8, 2019 · 3 comments · Fixed by #3060
Labels
Enhancement New feature or improvement of an existing one
Milestone

Comments

@swissspidy
Copy link
Collaborator

swissspidy commented Aug 8, 2019

See #2875 for details.

Example: when moving a block, it should be easy to align it on the same X or Y position as another block.

Changelog entry

  • Snapping: Added guidelines when moving blocks in relation to other blocks
@swissspidy
Copy link
Collaborator Author

See #2992 for screencast.

@swissspidy
Copy link
Collaborator Author

Testing Instructions

  1. Create new story
  2. Add a new block (so there should be 2 now)
  3. Add background colors to both blocks
  4. Move one of the blocks around on the page
  5. For each of the block's sides (left, right, top, bottom) and centers (vertical and horizontal), verify that red snapping guidelines are shown in the following scenarios:
    1. When moving the block so it aligns with either side of other block
    2. When moving the block so it aligns with the center (vertical and horizontal) of the other block.
  6. Verify that this also happens when there are N blocks on a page.

Basically, snapping guidelines should be shown to allow easily aligning blocks to the sides and center of the other. No actual snapping is done.

Next, verify that no guidelines are shown when dragging and at the same time holding down the alt/option key.

@swissspidy swissspidy removed their assignment Oct 11, 2019
@csossi
Copy link

csossi commented Oct 18, 2019

Verified in QA

@csossi csossi removed their assignment Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or improvement of an existing one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants