scratchfoundation / scratchfoundation/scratch-blocks
When undoing deletion of define block, it should update the toolboox
Open
Nobody has claimed this yet.
Low Prevalence
Medium Severity
priority 3
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Expected Behavior
When the define block reappears because of undoing the deletion of it, the block should be available in the toolbox.
Actual Behavior
The block does not appear in the toolbox until you switch tabs to force the toolbox to update.
Steps to Reproduce
- Create a custom block
- Delete the block
- Right click on the canvas and press undo

Operating System and Browser
Mac OS 10.14.5 Chrome 78
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 in Scratch Blocks by creating and deleting a custom block, then undoing the deletion from the canvas. Trace the undo flow and toolbox refresh behavior; done means the restored define block appears in the toolbox immediately without switching tabs.
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
- 45/100