Skip to content

Update to Blockly 12#3768

Open
mjgallag wants to merge 18 commits into
mit-cml:masterfrom
mjgallag:update-to-blockly-12
Open

Update to Blockly 12#3768
mjgallag wants to merge 18 commits into
mit-cml:masterfrom
mjgallag:update-to-blockly-12

Conversation

@mjgallag
Copy link
Copy Markdown
Contributor

@mjgallag mjgallag commented Feb 10, 2026

General items:

If your code changes how something works on the device (i.e., it affects the companion):

  • I branched from ucr
  • My pull request has ucr as the base

Further, if you've changed the blocks language or another user-facing designer/blocks API (added a SimpleProperty, etc.):

  • I have updated the corresponding version number in appinventor/components/src/.../common/YaVersion.java
  • I have updated the corresponding upgrader in appinventor/appengine/src/.../client/youngandroid/YoungAndroidFormUpgrader.java (components only)
  • I have updated the corresponding entries in appinventor/blocklyeditor/src/versioning.js

For all other changes:

  • I branched from master
  • My pull request has master as the base

What does this PR accomplish?

mit-cml/blockly#13
josmas/blockly-plugins#5
mit-cml/blockly-plugins#68
mit-cml/workspace-multiselect#133

https://arched-branch-471517-f9.uc.r.appspot.com

I had to map all of the single letter shortcuts due to typeblocking. I went with option/alt as it seemed to lack system conflicts.
New App Inventor Mapping:
Screenshot 2026-05-14 at 2 36 18 PM
Default Blockly Mapping:
Screenshot 2026-05-14 at 2 40 53 PM

Resolves #3759.

@mjgallag
Copy link
Copy Markdown
Contributor Author

@ewpatton this is rebased per our discussion earlier today, see 1353040. mit-cml/blockly#13 has been rebased too, now it is just a straight upgrade to 12 no new changes added to our fork.

@mjgallag mjgallag mentioned this pull request May 14, 2026
17 tasks
mjgallag added 13 commits May 14, 2026 17:07
@mjgallag
Copy link
Copy Markdown
Contributor Author

@ewpatton see bd2f855 which fixes 4fadad8 the correct but more risky way. I included both so if we need to revert to simple workaround we can. This has been deployed to https://arched-branch-471517-f9.uc.r.appspot.com.

mjgallag added 4 commits May 19, 2026 18:02
Stage the BlocklyPanel element in a hidden div before initializing the workspace.
GWT later moves it into the ProjectEditor deck when the editor is added.
Blockly measures a hidden workspace using computed CSS, which requires
the workspace element to be attached to the document.
RaspberryPiFoundation/blockly#8572
Removes staging of BlocklyPanel element in a hidden div before initializing the workspace workaround.
@mjgallag
Copy link
Copy Markdown
Contributor Author

I just pushed Fix D duplicate multiselect shortcut, which was new and thus needed to be implemented for multiselect. There are some small older bugs being found in multiselect that I will get addressed after blockly summit when I return but I don't think any of them are blocking in terms of this moving into testing.

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.

Update to Blockly 12

1 participant