Closed matyax closed 4 weeks ago
Testing coverage is pending, but I'd appreciate if you give it a try in the mean time.
Looks pretty good, a couple of nits:
I prefer the tooltip, but if it's not possible with #95330 the toast will do for now, but we should create an issue to sync up the UIs if this is the case.
Otherwise LGTM, and thanks for cleaning things up!
Thanks for the feedback! For point 2, I was thinking that we should update the table to use the panelState
param that the viz, Dashboards, and Explore use. https://github.com/grafana/grafana/blob/main/public/app/plugins/panel/logs/LogsPanel.tsx#L448-L450
Addressed point 1:
There's no success
variant for IconButton
but it does the trick.
Oh, except I didn't check that this works with older Grafana versions, will this fallback gracefully? I guess it should as logRowMenuIconsAfter
option won't do anything
Yeah, it would just not render. On the bright side, whenever permalink support was added to LogsPanel, any URL that contains the parameter should at least scroll to the linked log line for free.
Requires https://github.com/grafana/grafana/pull/95330
This PR adds support for linking to log lines from the logs viz.
Closes #772