Skip to content

Conversation

@smeijer
Copy link
Member

@smeijer smeijer commented Aug 17, 2020

What:
Update the suggestion pane when clicking elements in the preview pane.

Why:
PR #264 changed some things to prevent sandbox updates while selecting inputs so users can type in them. But at the same time, it broke direct updates of the suggestion pane.

How:
The ON_SELECT_NODE event now also triggers a SANDBOX_READY, which includes the parser result.

As the sandbox doesn't really evaluate anything, a SANDBOX_BUSY is not emitted.

Checklist:

  • Tests
  • Ready to be merged

fixes: #268

@smeijer smeijer added the bug Something isn't working label Aug 17, 2020
@smeijer smeijer self-assigned this Aug 17, 2020
@smeijer smeijer merged commit 3a4d468 into develop Aug 17, 2020
@smeijer smeijer deleted the feature/fix-sandbox-click branch August 17, 2020 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggested query not updating when clicking an element

1 participant