ae3e / ae3e-plotly-panel

Plotly panel for Grafana
Apache License 2.0
98 stars 22 forks source link

Make code editor expandable #23

Closed ae3e closed 3 years ago

ae3e commented 3 years ago

@ae3e If you want to make the code editor expand to the available space, you can use the AutoSizer. Here's an example: https://github.com/marcusolsson/grafana-json-datasource/blob/8d9eb3b5e23cc4ebb4cad68545f7a34ead07f2c8/src/components/QueryEditor.tsx#L202-L219

Originally posted by @marcusolsson in https://github.com/grafana/grafana-plugin-repository/pull/759#issuecomment-773249443

jacksongoode commented 2 years ago

@ae3e Is there any interest in making it resizable? Or fill the full side panel? As of now, extensive editing is difficult with such short heights.