grafana / explore-logs

Repo for the Loki log exploration app
GNU Affero General Public License v3.0
310 stars 14 forks source link

Table: Inspect modal - use new wordWrap added to `CodeEditor` in 10.3 #798

Open gtk-grafana opened 2 months ago

gtk-grafana commented 2 months ago

Currently the inspect modal in Explore Logs is just a <pre> tag in a modal, ideally TableCellInspector would be exposed by core Grafana to apps like Explore Logs, but we can work around this in the short term and use the CodeEditor component with the new wordWrap added in 10.3.

TL;DR: Add this new Table feature: Image

To Explore Logs, which would look something like this: Image

Also discuss moving to drawer, and seeing if core Grafana can expose TableCellInspector (https://github.com/grafana/grafana/issues/93590)