Altinity / clickhouse-grafana

Altinity Grafana datasource plugin for ClickHouse®
MIT License
713 stars 120 forks source link

Show Generated SQL - wrong formatting and lost query state #540

Closed Slach closed 4 months ago

Slach commented 4 months ago

image image image

if we will press "Show Generated SQL" then query in SQL Text Editor will reset to initial state

lunaticusgreen commented 4 months ago

Checked this issue, it's related to editor state reinitialization due to rerender, it's not only affected by Show Generated SQL but basically by all toggles.

lunaticusgreen commented 4 months ago

Fixed https://github.com/Altinity/clickhouse-grafana/pull/544