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 previewers #7825

Merged
merged 10 commits into from Feb 2, 2024
Merged

feat: add connection previewers #7825

merged 10 commits into from Feb 2, 2024

Conversation

BeksOmega
Copy link
Collaborator

@BeksOmega BeksOmega commented Feb 2, 2024

The basics

The details

Resolves

Most of #7204 (just needs fixes in samples)

Proposed Changes + Reasons

Adds connection previewers so that external devs can swap out how connections are previewed or add extra behavior to previewing connections (e.g. the dynamic connection plugin, or reindeer connections).

Test Coverage

Manually tested.

Documentation

Docs is on my task list.

Additional Information

Everything has already been reviewed. This will be rebase-and-merge-ed into develop, which is why the PR title doesn't follow conventional commits.

* feat: add connection previewer interface

* chore: PR comments
* feat: add connection highlighter interface

* fix: remove unnecessary method from the path object interface
* chore: move connection highlighting into the geras renderer

* chore: remove IConnectionHighlighter interface

* chore: format

* chore: fixup

* chore: format

* fix: PR comments
* feat: add connection highlighting to zelos

* fix: drawing outputs

* chore: cleanup
* chore: add noop InsertionMarkerPreviewer

* feat: add previewing replacements

* feat: add previewing insertions

* feat: add highlighting of connections to previewer

* fix: disabling events in the connection previewer

* chore: fixup docs

* chore: typo
* chore: reorganize drag logic

* chore: implement would delete block logic

* fix: just use snap radius.

Turns out the numbers are the same.

* chore: add connection previewing

* fix: applying connections

* chore: remove dragged connection manager from block dragger

* fix: deleting blocks
…ving (#7795)

* fix: remove zelos highlight override

* feat: add isHighlighted to rendered connection

* feat: add refreshing connection highlighting

* chore: remove highlight and unhighlight connection APIs

* chore: PR comments
@BeksOmega BeksOmega marked this pull request as ready for review February 2, 2024 18:43
@BeksOmega BeksOmega requested a review from a team as a code owner February 2, 2024 18:43
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 on the basis everything has already been reviewed. If you want me to give it a deeper look, let me know

I'd still use conventional commit for the PR title though, because our release notes use PR titles, not commit titles, and you want the action to tag this PR correctly.

@BeksOmega BeksOmega changed the title Add connection previewers feat: add connection previewers Feb 2, 2024
@github-actions github-actions bot added the PR: feature Adds a feature label Feb 2, 2024
@BeksOmega BeksOmega merged commit 919778e into develop Feb 2, 2024
14 checks passed
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