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

feat: add connection previewer interface #7637

Conversation

BeksOmega
Copy link
Collaborator

@BeksOmega BeksOmega commented Nov 9, 2023

The basics

The details

Resolves

Work on #7204

Proposed Changes

Adds an IConnectionPreviewer interface for later use.

Reason for Changes

Working on making it possible to swap out the connection preview method.

Test Coverage

No tests yet because this just defines a type not behavior.

Documentation

N/A

Additional Information

Merging this into a feature branch b/c I'm not sure if I'll be able to get it done in time for the release or not.

@BeksOmega BeksOmega requested a review from a team as a code owner November 9, 2023 18:54
@BeksOmega BeksOmega requested review from maribethb and removed request for a team November 9, 2023 18:54
@github-actions github-actions bot added PR: feature Adds a feature and removed PR: feature Adds a feature labels Nov 9, 2023
* is being replaced.
*/
previewReplacement(
draggedCon: RenderedConnection,
Copy link
Contributor

Choose a reason for hiding this comment

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

nit (and you can disagree with me here) but I prefer "conn" as the abbreviation for "connection" if we're going to abbreviate it at all. apologies as i meant to leave this comment in your doc but hoping i've caught you early enough here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh yeah totally good! I did the types in a separate PR partially so that it would be easier to bike shed :P So this is perf!

@BeksOmega BeksOmega merged commit f17f477 into google:connection-previewers Nov 13, 2023
6 checks passed
BeksOmega added a commit to BeksOmega/blockly that referenced this pull request Feb 2, 2024
* feat: add connection previewer interface

* chore: PR comments
BeksOmega added a commit that referenced this pull request Feb 2, 2024
* feat: add connection previewer interface

* chore: PR comments
@BeksOmega BeksOmega deleted the feat/connection-previewer-interface 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: feature Adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants