[Google Blockly] add field colour plugin #57895
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When Blockly v11 is release, several field types are being deleted from core and will only be available via plugins: https://github.com/google/blockly/releases/tag/blockly-v11.0.0-beta.4
The one that needs to be addressed is
FieldColour
which we use for several built-in and custom blocks. This branch adds the plugin and install its built-in blocks, effectively replacing those provided with (v10) core. When we are ready to upgrade this should make things more seamless.I confirmed that several blocks with color fields are still working as expected and further confirmed that the field methods being used are coming from the plugin source rather than core.
Warning!!
The AP CSP Create Performance Task is in progress. The most critical dates are from April 3 - April 30, 2024. Please consider any risk introduced by this PR that could affect our students taking AP CSP. Code.org students taking AP CSP primarily use App Lab for their Create Task, however a small percent use Game Lab. Carefully consider whether your change has any risk of alterering, changing, or breaking anything in these two labs. Even small changes, such as a different button color, are considered significant during this time period. Reach out to the Student Learning team or Curriculum team for more details.
Links
Jira - https://codedotorg.atlassian.net/browse/CT-490
Testing story
Deployment strategy
Follow-up work
Privacy
Security
Caching
PR Checklist: