Canvas: Element data links refactor (#90636)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
Adela Almasan
2024-07-25 07:13:21 -05:00
committed by GitHub
co-authored by Leon Sorokin
parent d3061ab61a
commit 0a870e6a88
28 changed files with 113 additions and 83 deletions
@@ -190,12 +190,12 @@ You can configure a canvas data link to open with a single click on the element.
1. Click the element to which you want to add the data link.
1. In either the inline editor or panel editor, expand the **Selected element** editor.
1. Scroll down to the **Data links** section and expand it.
1. Toggle the **One-click** switch in the element's data links section.
1. In the **One-click** section, choose **Link**.
1. Disable inline editing.
The first data link in the list will be configured as your one-click data link. If you want to change the one-click data link, simply drag the desired data link to the top of the list.
{{< video-embed src="/media/docs/grafana/panels-visualizations/canvas-one-click-data-link.mp4" >}}
{{< video-embed src="/media/docs/grafana/panels-visualizations/canvas-one-click-datalink-.mp4" >}}
## Panel options