Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to Blockly v11 (pre-release) #10003

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

riknoll
Copy link
Member

@riknoll riknoll commented May 2, 2024

Opening this as a draft because it relies on a pre-release version of Blockly.

This PR upgrades us to v11 of Blockly and in doing so restores the last of the features we lost with the great blockly swap. That includes:

  • The ability to duplicate shadow blocks on drag
  • Updated rendering for Workspace comments
  • Updated rendering for Block comments to match workspace comments

The biggest chunk of code comes from re-implementing the block comments. The bubble code is mostly the same as Blockly's with the rendering re-implemented to resemble the workspace comment rendering. Unfortunately, the classes in Blockly make extensive use of the private keyword so I had to copy the whole implementations just to swap the rendering.

@riknoll riknoll requested a review from a team May 2, 2024 20:07
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.

None yet

1 participant