scratchfoundation / scratchfoundation/scratch-blocks
Undo deletion of a custom Block does not add custom Block to toolbox
Open
Nobody has claimed this yet.
needs-triage
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Expected Behavior
Custom block is added to toolbox when undo deletion of a custom block.
Actual Behavior
Custom block is NOT added to the toolbox when clicking undo on canvas.
Steps to Reproduce
Add custom block to canvas.
Delete custom block from canvas.
Click undo on canvas.

Operating System and Browser
Mac OS 10.14.4
Google Chrome Version 76.0.3809.100 (Official Build) (64-bit)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by adding a custom block to the canvas, deleting it, and clicking undo. Trace the canvas undo handling and toolbox update path; done means the deleted custom block is restored to the toolbox after undo.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100