scratchfoundation / scratchfoundation/scratch-blocks

Revisit Behavior of Bump Neighbors

Open
#1,694 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs-discussion needs-triage
Dominant language
JavaScript
Stars
2.8k
Forks
1.6k
Avg merge
4h 51m
Merged PRs (30d)
12

Description

Expected Behavior

Blocks that are freshly placed on the workspace get bumped to avoid other blocks.

Actual Behavior

Sometimes a new block gets bumped such that it gets placed on top of another block.

Discussion

What is the desired behavior of bumping blocks?
See discussion in #1677 of current "weird" behavior, and the related blockly issue: google/blockly#2011

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the discussion in #1677 and the related google/blockly#2011 issue to understand the competing expectations for bumping blocks. Reproduce the reported overlap behavior in a Scratch Blocks workspace, then define and validate the desired behavior before identifying the affected implementation and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.