Skip to content

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

Merged
manuq merged 1 commit intomainfrom
T35572-select-non-block-code-node
Jul 18, 2024
Merged

Plugin: Only skip duplicate work when BlockCode nodes selected#145
manuq merged 1 commit intomainfrom
T35572-select-non-block-code-node

Conversation

@dbnicholson
Copy link
Copy Markdown
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
@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