Table: Support DataLinks and Actions in SparklineCell (#112244)

* Table: Support DataLinks in SparklineCell

* add data links to sparkline gdev

* fix migrator test

* Clean up single action use case
This commit is contained in:
Paul Marbach
2025-10-30 10:04:08 -04:00
committed by GitHub
parent 05dc9b2be1
commit c487952279
7 changed files with 61 additions and 27 deletions
@@ -208,7 +208,27 @@
"value": 80
}
]
}
},
"actions": [
{
"fetch": {
"body": "{}",
"headers": [["Content-Type", "application/json"]],
"method": "GET",
"queryParams": [],
"url": "/api/health"
},
"title": "Get instance health",
"type": "fetch"
}
],
"links": [
{
"targetBlank": true,
"title": "Google Grafana",
"url": "https://google.com/search?q=grafana"
}
]
},
"overrides": []
},
@@ -592,4 +612,4 @@
"title": "Panel Tests - Table - Sparklines",
"uid": "d6373b49-1957-4f00-9218-ee2120d3ecd9",
"weekStart": ""
}
}