scratchfoundation / scratchfoundation/scratch-blocks
"Show senders/receivers" tool in broadcast context menus
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Expected Behavior
In Scratch 2.0, the "broadcast" and "broadcast and wait" blocks have a context menu option "show receivers". This places a golden border around the sprites in the sprite corral who have a "when I receive" script that has the same broadcast name in its dropdown. Likewise, "when I receive" has a "show senders" option, which highlights in the same way sprites that have a "broadcast" or "broadcast and wait" block of the same broadcast name.
This feature is useful for locating sprites that make use of specific broadcasts in projects that contain a lot of sprites.
Actual Behavior
This feature is missing from 3.0.
Steps to Reproduce
Right-click a broadcast-related block and note that these menu options are missing.
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
Start at the context-menu entry point for broadcast-related blocks and trace how sprites in the sprite corral are identified. Implement matching "show senders" and "show receivers" options, then verify that selecting each highlights the sprites connected to the chosen broadcast name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100