Skip to content

fix: update suggestion pane when clicking in preview pane #269

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
Aug 17, 2020

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