Skip to content

Plugin: Only skip duplicate work when BlockCode nodes selected #145

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 1 commit into from
Jul 18, 2024

Conversation

dbnicholson
Copy link
Member

In dbd7643, an early return was added to avoid updating the UI when the same BlockCode node has been selected. When a non-BlockCode has been selected, the main panel needs to be told about it so that it can show some friendly messages about adding a BlockCode node. However, any non-BlockCode node is represented as null, which means that changes to a selected non-BlockCode node can't be differentiated. Skip the early return in that case.

https://phabricator.endlessm.com/T35572

In dbd7643, an early return was added to avoid updating the UI when the
same BlockCode node has been selected. When a non-BlockCode has been
selected, the main panel needs to be told about it so that it can show
some friendly messages about adding a BlockCode node. However, any
non-BlockCode node is represented as null, which means that changes to a
selected non-BlockCode node can't be differentiated. Skip the early
return in that case.

https://phabricator.endlessm.com/T35572
@manuq manuq merged commit 1c877c7 into main Jul 18, 2024
2 checks passed
@manuq manuq deleted the T35572-select-non-block-code-node branch July 18, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants