Skip to content

Conversation

@BeksOmega
Copy link
Contributor

@BeksOmega BeksOmega commented Mar 28, 2024

The basics

The details

Resolves

Fixes N/A

Proposed Changes

Removes the couldConnect parameter from wouldDelete since that doesn't really make sense in the context of generic IDraggable implementations.

In practice, the only thing this changes is that if you're dragging over the trashcan and the block could connect to something, the block will now be deleted instead of connecting.

Test Coverage

N/A

Documentation

N/A

Additional Information

This is a dupe of #7848

Dependent on #7967

Breaking changes / To fix

If you have implemented a custom delete area that depends on the couldConnect parameter of wouldDelete, you should remove references to that parameter. couldConnect is no longer passed to IDeleteArea objects because delete areas can now handle objects that have no possibility of connecting (such as workspace comments.

@github-actions github-actions bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: fix Fixes a bug labels Mar 28, 2024
@github-actions github-actions bot removed the PR: fix Fixes a bug label Mar 28, 2024
@BeksOmega BeksOmega mentioned this pull request Mar 28, 2024
1 task
@github-actions github-actions bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: fix Fixes a bug and removed breaking change Used to mark a PR or issue that changes our public APIs. labels Mar 28, 2024
@BeksOmega BeksOmega marked this pull request as ready for review March 28, 2024 22:39
@BeksOmega BeksOmega requested a review from a team as a code owner March 28, 2024 22:39
@BeksOmega BeksOmega requested a review from maribethb March 28, 2024 22:39
@BeksOmega BeksOmega merged commit da79a12 into RaspberryPiFoundation:rc/v11.0.0 Mar 28, 2024
@github-actions github-actions bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: fix Fixes a bug and removed PR: fix Fixes a bug breaking change Used to mark a PR or issue that changes our public APIs. labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Used to mark a PR or issue that changes our public APIs. PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants