Skip to content

docs: add mutators codelab - #10531

Open
zspriggs wants to merge 8 commits into
RaspberryPiFoundation:mainfrom
zspriggs:mutators-codelab
Open

zspriggs wants to merge 8 commits into
RaspberryPiFoundation:mainfrom
zspriggs:mutators-codelab

Conversation

@zspriggs

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #10486

Proposed Changes

Adds a mutators codelab

Reason for Changes

Mutators are one of the more complex parts of Blockly, so it's important to have a codelab that fully covers how to make a custom one.

I opted to use context menus for custom UI because it's one of the simplest options for teaching purposes. I do think that a context menu mutator is not ideal (since it's not very discoverable and feels odd to change the block state via a context menu) but I noted that in the codelab.

Test Coverage

Ran through all the steps manually and everything works as intended.

Documentation

n/a

Additional Information

I've added alt text for this codelab's new thumbnail. The other thumbnails should also have alt text, but that will be follow-up work along with updating the thumbnail image for the getting-started codelab.

@zspriggs
zspriggs requested a review from a team as a code owner September 24, 2026 19:33
@zspriggs
zspriggs requested a review from lizschwab September 24, 2026 19:33
@github-actions github-actions Bot added the PR: docs Adds or updates documentation label Sep 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: docs Adds or updates documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mutator codelab

2 participants