8000 fix!: remove recycling logic from continous flyout by BeksOmega · Pull Request #867 · google/blockly-samples · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix!: remove recycling logic from continous flyout #867

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

Merged
merged 2 commits into from
Jan 11, 2022

Conversation

BeksOmega
Copy link
Contributor
@BeksOmega BeksOmega commented Aug 18, 2021

Description

This is dependent on changes made by the new JSO serialization system.

Removes the recycling logic from the continuous toolbox since it has been moved in to core.

Testing

Was not able to test whether this works correctly or not because it is dependent on changes in core, and linking is being uncooperative.

Manually tested this by editing one of the shadows of the color blend block, and then creating a variable to refresh the flyout. The edits to the shadow were maintained, signaling that recycling was occuring.

API Change

Along with google/blockly#5392 this removes the protected createBlock_ and clearOldBlocks_ functions from the public API

8000
@BeksOmega BeksOmega requested a review from maribethb August 18, 2021 18:36
@BeksOmega BeksOmega force-pushed the fix/continious-flyout branch from 5137c71 to 25e444d Compare September 7, 2021 22:05
@BeksOmega BeksOmega changed the base branch from master to q3_2021_release September 7, 2021 22:05
@alschmiedt
Copy link
Contributor

@BeksOmega is this good to be converted from a draft?

@BeksOmega BeksOmega marked this pull request as ready for review January 7, 2022 12:12
@BeksOmega
Copy link
Contributor Author

@BeksOmega is this good to be converted from a draft?

Yep! All of my drafts should be gtg now.

Copy link
Contributor
@alschmiedt alschmiedt left a comment

Choose a reason for hiding this comment

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

The change LGTM! Just a few things in the package need to be updated.

  • The peerDependency should be updated to ^7.20211209.0 since recycling will no longer work when this package is used with any version below v7.
  • The major version should also be updated so that developers don't automatically get this change pulled in.

Also, if you could change the target branch to be master that would be great. Thanks!

@BeksOmega BeksOmega force-pushed the fix/continious-flyout branch from 25e444d to f3ff53a Compare January 7, 2022 21:24
@BeksOmega BeksOmega changed the base branch from q3_2021_release to master January 7, 2022 21:24
@alschmiedt alschmiedt merged commit 74f58b8 into google:master Jan 11, 2022
@BeksOmega BeksOmega deleted the fix/continious-flyout branch April 5, 2022 14:56
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.

2 participants
0