8000 refactor: remove AnyDuringMigration from the block drag surface by BeksOmega · Pull Request #6302 · google/blockly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor: remove AnyDuringMigration from the block drag surface #6302

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 4 commits into from
Aug 4, 2022

Conversation

BeksOmega
Copy link
Collaborator
@BeksOmega BeksOmega commented Aug 3, 2022

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

N/A

Proposed Changes

Remove AnyDuringMigration from block drag surface.

Behavior Before Change

No behavior change.

Behavior After Change

No behavior change.

Reason for Changes

Types are better than AnyDuringMigration.

Test Coverage

N/A

Documentation

N/A

Additional Information

N/A

Migration

Calls to BlockDragSurface().createDom() should be removed because the dom is now automatically created by the constructor, and createDom() is no-op.

@BeksOmega BeksOmega requested a review from a team as a code owner August 3, 2022 17:23
@BeksOmega BeksOmega requested a review from maribethb August 3, 2022 17:23
@BeksOmega BeksOmega changed the title chore: remove AnyDuringMigration from the block drag surface refactor: remove AnyDuringMigration from the block drag surface Aug 4, 2022
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.

LGTM, but can you add a "deprecation" tag to the PR as we discussed and then put some instructions in the PR body that say to remove calls to createDom as it's now a no-op?

Thanks!

-->

@BeksOmega BeksOmega added the deprecation This PR deprecates an API. label Aug 4, 2022
@BeksOmega BeksOmega merged commit 0240b3a into google:develop Aug 4, 2022
@BeksOmega BeksOmega deleted the fix/any-block-drag branch October 4, 2022 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation This PR deprecates an API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0