You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Canvas: Data links not working for metric-elements with fields assigned to options other than fields text
What happened?
Data links do not work for metric-elements that have a static text instead of field value even if the field value is associated with background.
It seems that for data links to work appropriately, the first thing is to select a field for text option for metric-value element – this is not expected. After doing so, users can switch text to static one and use field for background color option, and the data links related to the field will work.
In addition, clicking on such metric-value element with field added as an option (other than text, for example as background) and configured data link will break data links for other elements. See minute 2:34 in the screen cast (data links stop working for all elements). https://github.com/grafana/grafana/assets/141744/bd11c2c0-fb9b-476d-9bdf-1559b725d182
What did you expect to happen?
Expected behaviour is that a metric-value element will display data link for fields that are associated with the element no matter the option (text or background).
Did it work before?
No. This is a new problem discovered after fixing another issue
How do we reproduce it?
Add a new element (metric-value).
Assing field for background option. Set the text option to static text.
Add override with data link for the field.
Hovering over such metric-value element will not show data link.
Clicking on the element will break previously working data links for any other elements on the canvas already.
Canvas: Data links not working for metric-elements with fields assigned to options other than fields text
What happened?
Data links do not work for metric-elements that have a static text instead of field value even if the field value is associated with background.
It seems that for data links to work appropriately, the first thing is to select a field for text option for metric-value element – this is not expected. After doing so, users can switch text to static one and use field for background color option, and the data links related to the field will work.
In addition, clicking on such metric-value element with field added as an option (other than text, for example as background) and configured data link will break data links for other elements. See minute 2:34 in the screen cast (data links stop working for all elements).
https://github.com/grafana/grafana/assets/141744/bd11c2c0-fb9b-476d-9bdf-1559b725d182
What did you expect to happen?
Expected behaviour is that a metric-value element will display data link for fields that are associated with the element no matter the option (text or background).
Did it work before?
No. This is a new problem discovered after fixing another issue
How do we reproduce it?
Is the bug inside a dashboard panel?
Yes
Environment (with version)?
Grafana:
Grafana v11.0.0-pre ([1352072338](tel:1352072338))
OS:
macOS 14.3.1 (23D60)
Browser:
ersion 122.0.6261.94 (Official Build) (arm64)
The text was updated successfully, but these errors were encountered: