google / google/codeworld

Simply clicking once on a block should not place it

Open
#327 2 comments 0 reactions 0 assignees View on GitHub
bug funblocks
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

It is very confusing when people just click on a block, either in a function or list comprehension, or from the toolbox, and a copy of that block gets placed in the workspace. We should wait for some minimum drag distance before treating this as a drag.

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior by clicking blocks in a function, list comprehension, and toolbox without dragging. Locate the block interaction handling that distinguishes clicks from drags, then verify that a click does not place a copy while dragging beyond the chosen minimum distance still does.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.