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:
+22
-2
@@ -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": ""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user