Skip to content

refactor: Update to use INavigable instead of ASTNode.#491

Merged
gonfunko merged 4 commits into
mainfrom
i-navigable
May 7, 2025
Merged

refactor: Update to use INavigable instead of ASTNode.#491
gonfunko merged 4 commits into
mainfrom
i-navigable

Conversation

@gonfunko

@gonfunko gonfunko commented May 5, 2025

Copy link
Copy Markdown
Contributor

This PR depends on RaspberryPiFoundation/blockly#8992 in core. It updates the keyboard experiment to use the new INavigable interface rather than ASTNode. It also temporarily disables the workspace cursor, as it is incompatible with the new approach.

The FieldColour plugin will need to be updated; in the meantime, navigating to a block with a colour field will break. I believe this is also the cause of the remaining test failures.

@rachel-fenichel

Copy link
Copy Markdown
Collaborator

Looks reasonable and the code feels way cleaner without all the extra casts.

Please use .skip on the failing tests and file a bug to fix them when the colour field works--I'd like to have tests passing on head so we can notice deltas when changes break new ones.

@RoboErikG

Copy link
Copy Markdown
Contributor

I'm working on getting tests fixed in #496 so please actually just leave the tests alone to avoid merge conflicts. The build errors are blocking for me, though.

@gonfunko gonfunko merged commit 44af6c4 into main May 7, 2025
6 of 8 checks passed
@gonfunko gonfunko deleted the i-navigable branch May 7, 2025 18:27
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.

3 participants