scratchfoundation / scratchfoundation/scratch-desktop
On new project, some block options update and others don't
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 426
- Forks
- 268
- Avg merge
- 16h 6m
- Merged PRs (30d)
- 25
Description
Some blocks with options (dropdown lists) will reset to a default when a new project is started, but others will stay as the last used option. The difference seems to be between the rounded and squared options - ie. Go To [option] has a rounded option and will reset, while Set Rotation Style [option] has a squared option and doesn't reset.
This has been an issue for us teaching younger children, for example if we challenge them to find the Change [Color] block, but in a previous workshop it was changed to Change [Whirl], it stays as that option when we start the new project and the children miss it without it saying the word Color
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 changing dropdown options in a project, starting a new project, and comparing rounded options such as Go To with squared options such as Set Rotation Style. Trace how block option state is initialized for both forms; done means every option returns to its default in a new project, including the Color option in the reported example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100