Skip to content

Conversation

cwillisf
Copy link
Contributor

@cwillisf cwillisf commented Mar 5, 2025

Proposed Changes

Use the new version of scratch-blocks, which now depends on Blockly instead of being a fork of Blockly.

Reason for Changes

As stated in scratchfoundation/scratch-blocks#3338:

We can use new Blockly features!
We can more easily maintain scratch-blocks!
We can keep up to date with new Blockly releases!
We can hang with the cool kids at Blockly-related parties!

Test Coverage

Many existing tests at least partially cover these changes. We'll also be testing these changes through several manual testing sessions.

gonfunko and others added 30 commits February 19, 2025 16:25
* fix: run stacks in response to stack click events

* refactor: listen for regular click events to run block stacks
* fix: handle modern workspace comment events

* fix: correctly access coordinates on events
* chore: format runtime.js

* fix: add the hat extension to extension hat blocks
… occupied by a shadow block (#8)

* chore: format engine/blocks.js

* fix: restore shadow blocks when removing a block from an input
The playgrounds themselves are still broken, but it's a step...
* fix: add support for Scratch-style procedures

* refactor: remove underscore procedure creation callback
@mxmou
Copy link

mxmou commented May 19, 2025

Another issue: block comments are attached to the wrong side of the block in RTL.

image

@Samq64
Copy link

Samq64 commented Jul 30, 2025

When dragging a custom block definition onto a stack the shadow is not resized to the correct width:
small-block-shadow

@gonfunko
Copy link

gonfunko commented Aug 7, 2025

Thanks for all the comments and bug reports! At this time, I believe everything reported here has been resolved in my fork; feel free to report any more issues you encounter in my repo, I very much appreciate it.

@cwillisf cwillisf force-pushed the spork branch 10 times, most recently from 6bf544f to 10e6b7c Compare September 3, 2025 20:58
@cwillisf cwillisf force-pushed the spork branch 3 times, most recently from 594cf8f to d365a86 Compare September 4, 2025 17:11
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.

6 participants