Skip to content

Conversation

@cpcallen
Copy link
Collaborator

@cpcallen cpcallen commented May 8, 2025

The basics

The details

Proposed Changes

Delete plugins/keyboard-navigation/ and contents.

Reason for Changes

This plugin depends on too many things that no longer exist in Blockly, like Cursor and BasicCursor, and also on other things that will cease to exist before 12.0.0, like ASTNode.

This plugin depends on things that no longer exist in [email protected], like BasicCursor and Cursor, and also
on other things that will cease to exist before 12.0.0, like ASTNode.

We need to update the samples repository to be able to test plugins with v12, and this plugin is soon to be replaced by
the new plugin being developed in google/blockly-keyboard-experimentation, so the most expedient course of action is just to delete this one to allow upgrading this repo's blockly devDependency.

Additional Information

(We could alternatively leave this plugin as an empty shell waiting to be filled with the contents of the blockly-keyboard-experimentation repo, but it seems preferable to not publish publish anything, thus leaving the latest version of the @blockly/keyboard-navigation NPM package useful though outdatedly dependent on blockly@11, rather than publish an empty plugin package that is of no use at all.

This has been broken out from #2504 so that that PR will not contain any breaking changes, since it affects multiple plugins.

BREAKING CHANGE:

Removes the keyboard-experimentation plugin, obviously.

The plugin will return soon, but in the meantime use the plugin being developed in google/blockly-keyboard-experimentation, published as the @blockly/keyboard-experiment NPM package.

@cpcallen cpcallen requested a review from a team as a code owner May 8, 2025 01:27
@cpcallen cpcallen requested review from BenHenning and removed request for a team May 8, 2025 01:27
@BenHenning
Copy link
Collaborator

BenHenning commented May 8, 2025

I think removing this makes complete sense, but I want to defer to @maribethb or @rachel-fenichel to make the actual decision since this may affect things I'm not certain of in the external community.

Copy link
Contributor

@maribethb maribethb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also needs to be removed from the plugin showcase page.

Doesn't really matter in this exact case since you are deleting the changelog, but generally chore type commits shouldn't be breaking changes, because chores are not included in the release notes/changelog.

@maribethb
Copy link
Contributor

Also, could you update the PR description to contain info that's helpful for people coming here to find out what happened? e.g. point them at the experiment repo

cpcallen added 2 commits May 8, 2025 21:42
This depends on things that no longer exist in
[email protected], like BasicCursor and Cursor, and also
on other things that will cease to exist before 12.0.0, like
ASTNode.

We need to update the samples repository to be able to test
plugins with v12, and this plugin is soon to be replaced by
the new plugin being developed in
google/blockly-keyboard-experimentation, so the most expedient
course of action is just to delete this one to allow upgrading
this repo's blockly devDependency.

(We could alternatively leave this plugin as an empty shell
waiting to be filled with the contents of the
blockly-keyboard-experimentation repo, but it seems preferable
to not publish publish anything, thus leaving the latest version
of the @blockly/keyboard-navigation NPM package useful though
outdatedly dependent on blockly@11, rather than publish an empty
plugin package that is of no use at all.

BREAKING CHANGE:

Removes the keyboard-experimentation plugin, obviously.
@cpcallen cpcallen force-pushed the chore/delete-keyboard-nav branch from 0384da3 to 1e7d065 Compare May 8, 2025 20:53
@cpcallen cpcallen changed the title chore!: Delete old keyboard-navigation plugin fix!: Delete old keyboard-navigation plugin May 8, 2025
@cpcallen
Copy link
Collaborator Author

cpcallen commented May 8, 2025

Also, could you update the PR description to contain info that's helpful for people coming here to find out what happened? e.g. point them at the experiment repo

Done.

@cpcallen cpcallen merged commit b79274d into RaspberryPiFoundation:rc/v12.0.0 May 8, 2025
8 checks passed
@cpcallen cpcallen deleted the chore/delete-keyboard-nav branch May 8, 2025 22:23
BenHenning pushed a commit to BenHenning/blockly-samples that referenced this pull request May 12, 2025
This depends on things that no longer exist in
[email protected], like BasicCursor and Cursor, and also
on other things that will cease to exist before 12.0.0, like
ASTNode.

We need to update the samples repository to be able to test
plugins with v12, and this plugin is soon to be replaced by
the new plugin being developed in
google/blockly-keyboard-experimentation, so the most expedient
course of action is just to delete this one to allow upgrading
this repo's blockly devDependency.

BREAKING CHANGE:

Removes the keyboard-experimentation plugin, obviously.

Conflicts:
	plugins/keyboard-navigation/CHANGELOG.md
	plugins/keyboard-navigation/package-lock.json
	plugins/keyboard-navigation/package.json
	plugins/keyboard-navigation/src/navigation.js
	plugins/keyboard-navigation/src/navigation_controller.js
	plugins/keyboard-navigation/test/navigation_test.mocha.js
BenHenning added a commit that referenced this pull request May 12, 2025
chore: Merge branch `master` into `rc/v12.0.0`

Note that this includes a cherry-pick of #2508 to resolve conflicts found in #2503. Note that a separate branch is needed here to pull in the cherry-picked changes (in order to address the branch conflicts).
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.

4 participants