scratchfoundation / scratchfoundation/scratch-blocks

Undo deletion of a custom Block does not add custom Block to toolbox

Open
#1,982 2 comments 0 reactions 0 assignees View on GitHub

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.
custom-block

Operating System and Browser

Mac OS 10.14.4
Google Chrome Version 76.0.3809.100 (Official Build) (64-bit)

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.