Skip to content
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

fix: have connection previewer use the registry #7800

Conversation

BeksOmega
Copy link
Collaborator

The basics

The details

Resolves

Work on #7204

Proposed Changes + reasons

Makes it so the block dragger accesses the previewer class from the registry, so that it is possible for folks to provide their own connection previewers. The InsertionMarkerPreviewer registers itself as the default connection previewer.

Test Coverage

All tests pass. Insertion markers continue to be created.

Documentation

Filed a tracking task against myself for documenting connection previewers.

Additional Information

Dependent on #7797

@github-actions github-actions bot added the PR: fix Fixes a bug label Jan 22, 2024
@BeksOmega BeksOmega force-pushed the fix/use-registry-connection-previewer branch from d2bedfa to 0183a06 Compare January 26, 2024 22:19
@BeksOmega BeksOmega marked this pull request as ready for review January 26, 2024 22:21
@BeksOmega BeksOmega requested a review from a team as a code owner January 26, 2024 22:21
@BeksOmega BeksOmega requested review from maribethb and removed request for a team January 26, 2024 22:21
@BeksOmega BeksOmega merged commit 95d2c79 into google:connection-previewers Jan 26, 2024
8 checks passed
BeksOmega added a commit to BeksOmega/blockly that referenced this pull request Feb 2, 2024
@BeksOmega BeksOmega deleted the fix/use-registry-connection-previewer branch May 14, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants