-
Notifications
You must be signed in to change notification settings - Fork 71
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
Do not control SqlEditor height #687
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks good to me, thanks!
Just one nit and I'll approve.
Co-authored-by: Adam Simpson <[email protected]>
@asimpson, did the last failing check happen due to a lack of access to credentials? Can we merge the PR? |
@mshustov Looks like it. The build passed though which is what I care about. Can you merge |
@asimpson could you merge? |
closes #684
There is a bug in logic that on every change in the editor calls
saveChanges({expand:true})
, which resets therawSql
value back to the original state.Instead of fixing this bug, I checked how Grafana handles this logic itself. From this example, it looks like the built-in Grafana editor handles height updates inside
CodeEditor
component, so I removed the external logic to manage component height.Changelog
Remove manual expansion of SqlEditor.