Skip to content

chore(deps): Update to Blockly v13.1.0#2735

Merged
gonfunko merged 3 commits into
v13from
13-1
Jun 30, 2026
Merged

chore(deps): Update to Blockly v13.1.0#2735
gonfunko merged 3 commits into
v13from
13-1

Conversation

@gonfunko

Copy link
Copy Markdown
Contributor

The basics

The details

Proposed Changes

This PR updates the v13 branch to use Blockly v13.1.0 and fixes a couple of test failures.

@gonfunko gonfunko requested a review from a team as a code owner June 29, 2026 22:16
@gonfunko gonfunko requested review from maribethb and removed request for a team June 29, 2026 22:16
// so focusing the workspace as a whole lands on that target.
assert.equal(
Blockly.getFocusManager().getFocusedNode(),
this.workspace.getWorkspaceFocusTarget(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does getFocusableNode on the workspace return this element correctly? If so then using that would sort of future-proof this test since we don't care what the specific element that's focused, just that it's the one that represents the workspace being focused

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No, the workspace focus target is a separate focusable node and DOM element from the workspace, and the workspace's focusable element is still its root SVG group. The focus target gets used here because it's returned from WorkspaceSvg.getRestoredFocusableNode(); I updated the test to use that rather than hardcoding the focus target.

@gonfunko gonfunko merged commit b4fe790 into v13 Jun 30, 2026
4 checks passed
@gonfunko gonfunko deleted the 13-1 branch June 30, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants