scratchfoundation / scratchfoundation/scratch-blocks
Delete confirmation shown when deleting singular blocks (incorrect grammar)
Open
Nobody has claimed this yet.
help wanted
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Expected Behavior
Confirmation prompt when clearing a workspace should never show "Delete all 1 blocks". Either never show a confirmation if the workspace only has one block (Blockly style), or use the DELETE_BLOCK message template ("Delete Block").
Actual Behavior

Steps to Reproduce
- Add a block to an empty workspace.
- From the context menu, select "Delete Block" (incorrect capitalization?).
Operating System and Browser
Any.
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 one block and choosing "Delete Block" from the workspace context menu, then trace the confirmation prompt and the DELETE_BLOCK message template. Done means a single-block workspace does not show "Delete all 1 blocks" and instead follows one of the expected singular-block behaviors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100