Skip to content

Upgrade to Blocky 12.2.0-beta.0 and new keyboard nav plugin - #10707

Merged
Richard Knoll (riknoll) merged 20 commits into
microsoft:masterfrom
microbit-matt-hillsdon:blocky-12-2-0-beta
Jun 27, 2025
Merged

Upgrade to Blocky 12.2.0-beta.0 and new keyboard nav plugin#10707
Richard Knoll (riknoll) merged 20 commits into
microsoft:masterfrom
microbit-matt-hillsdon:blocky-12-2-0-beta

Conversation

@microbit-matt-hillsdon

@microbit-matt-hillsdonMatt Hillsdon (microbit-matt-hillsdon) commented Jun 26, 2025

Copy link
Copy Markdown
Contributor

There's a deployment https://blocky-12-2-0-beta.review-pxt.pages.dev/

As the commits below have tracked Blockly as it's evolved it probably makes sense to squash them away when we're ready to merge.

Re-focus previously focused block in the flyout if possible.
The workaround equivalent shipped in 12.1.0.
The format was aligned with the others in the plugin.
These buttons are removed from the DOM and re-rendered when
interacted with. As a result focus is lost. This change re-focuses
the block when this happens.
This includes the expand / collapse buttons for functions.
Hard to tell if the opacity is intended, it's quite odd really but would be a
meaningful visual change.
Aligns with RaspberryPiFoundation/blockly#9153
Workspace comments need a separate fix from Blockly.
@microbit-matt-hillsdon

Copy link
Copy Markdown
ContributorAuthor

This is a draft because I've not tested it since updating to the Blockly releases.

I'll pick up in my morning, but any feedback if you get a chance to look today would be great.

Blockly releases are beta for the moment to give Blockly time before final releases but they essentially only contain the changes we're waiting for and have been tracking so I think risk in using them is low.

@microbit-matt-hillsdon
Matt Hillsdon (microbit-matt-hillsdon) marked this pull request as ready for review June 27, 2025 12:36
@microbit-matt-hillsdon

Copy link
Copy Markdown
ContributorAuthor

Happy with this now.

});
// Don't let the pointerdown event get to the workspace.
browserEvents.conditionalBind(textArea, 'pointerdown', this, (e: Event) => {
e.stopPropagation();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to call clearTouchIdentifier here

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks. 1ca458d

@riknoll
Richard Knoll (riknoll) enabled auto-merge (squash) June 27, 2025 21:35
@riknoll
Richard Knoll (riknoll) merged commit 0fd2033 into microsoft:masterJun 27, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants

@microbit-matt-hillsdon@riknoll@microbit-robert