Skip to content

Update to Blockly 12 - #3768

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

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

Conversation

@mjgallag

@mjgallag mjgallag commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

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?

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
mjgallag force-pushed the update-to-blockly-12 branch 3 times, most recently from 7e7c8fe to 70aba52 Compare February 19, 2026 22:15
@mjgallag
mjgallag force-pushed the update-to-blockly-12 branch 2 times, most recently from 728f222 to 04522ff Compare April 8, 2026 22:59
@mjgallag
mjgallag force-pushed the update-to-blockly-12 branch 3 times, most recently from 98f30c2 to 234bd34 Compare April 20, 2026 21:50
@mjgallag
mjgallag marked this pull request as ready for review April 20, 2026 22:13
@mjgallag mjgallag mentioned this pull request Apr 22, 2026
17 tasks
@mjgallag
mjgallag force-pushed the update-to-blockly-12 branch 2 times, most recently from cda90f7 to 8c48c33 Compare May 7, 2026 16:03
@mjgallag
mjgallag force-pushed the update-to-blockly-12 branch 2 times, most recently from 79db5ec to 9ceb0b1 Compare May 13, 2026 21:06
@mjgallag
mjgallag requested a review from a team May 13, 2026 21:29
@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
mjgallag force-pushed the update-to-blockly-12 branch from 9ceb0b1 to bd2f855 Compare May 15, 2026 00:09
@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
mjgallag force-pushed the update-to-blockly-12 branch from bd2f855 to f98bdcd Compare May 20, 2026 01:16
@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.

@mjgallag
mjgallag force-pushed the update-to-blockly-12 branch from f98bdcd to 2483375 Compare June 25, 2026 15:27
@mjgallag

Copy link
Copy Markdown
Contributor Author

@ewpatton this has been rebased now that 5a760fd has merged. I have closed mit-cml/blockly#13 and removed it from description above as this PR is now Blockly v12.5.1 directly, no fork. No merge conflicts with master now.

@mjgallag
mjgallag force-pushed the update-to-blockly-12 branch from 2483375 to fe14f42 Compare July 17, 2026 16:32
@mjgallag
mjgallag marked this pull request as draft August 13, 2026 22:20
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
mjgallag force-pushed the update-to-blockly-12 branch from fe14f42 to 05f4e67 Compare August 13, 2026 23:03
@mjgallag
mjgallag removed the request for review from a team August 15, 2026 00:21
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