Scenes: support interpolations in TemplateSrv.replace (#86990)

TemplateSrv.replace takes an optional 'interpolations' argument which
records information about the variables which were found during the
interpolation. Until [this Scenes PR][scenes PR] this wasn't supported
by Scenes so the interpolations argument was being ignored if dashboard
scenes were enabled. This commit bumps the scenes version and passes
the interpolations array along to the scenes function.

[scenes PR]: https://github.com/grafana/scenes/pull/708
This commit is contained in:
Ben Sully
2024-04-26 16:44:36 +01:00
committed by GitHub
parent 9af4607e78
commit f2ca115913
3 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -252,7 +252,7 @@
"@grafana/prometheus": "workspace:*",
"@grafana/runtime": "workspace:*",
"@grafana/saga-icons": "workspace:*",
"@grafana/scenes": "^4.12.0",
"@grafana/scenes": "^4.13.0",
"@grafana/schema": "workspace:*",
"@grafana/sql": "workspace:*",
"@grafana/ui": "workspace:*",