scratchfoundation / scratchfoundation/scratch-blocks

ENA-189 Implement "go to procedure definition"

Open
#1,136 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

custom procedures feature
Dominant language
JavaScript
Stars
2.8k
Forks
1.6k
Avg merge
4h 51m
Merged PRs (30d)
12

Description

Expected Behavior

The "define" option in the context menu on a custom command block should bring the procedure definition into view.

In Scratch 2.0 it just brings it into view--doesn't center it. We may want to center and/or highlight it.
We have to decide on text for the context menu option. In Scratch 2.0 it's 'define', which is not very clear.

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

No file or test is named in the issue. Start by locating the custom command block context-menu implementation and compare the requested behavior with Scratch 2.0. Resolve the menu wording and whether the definition should be centered or highlighted; done means selecting the option brings the procedure definition into view.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.