mirror of
https://github.com/grafana/grafana.git
synced 2025-12-18 22:16:21 -05:00
* Dashboard migration: preserve legacy string datasource references Fix v1beta1 → v2alpha1 conversion to handle legacy string datasource references in QueryVariable, AdhocVariable, and GroupByVariable. Previously, string datasource references (both template variables like "$datasource" and direct names/UIDs like "prometheus") were being dropped during conversion, causing variable chaining to break. The frontend's DatasourceSrv.getInstanceSettings() already handles string references by trying uid → name → id lookup at runtime, so we preserve the string in the uid field and let the frontend resolve it. * trigger frontend ci tests when dashboard migration code changes * v1: if string convert to DS ref * Update migration testdata to fix template variable datasource references * update |
||
|---|---|---|
| .. | ||
| actions | ||
| ISSUE_TEMPLATE | ||
| workflows | ||
| actionlint.yaml | ||
| bot.md | ||
| CODEOWNERS | ||
| commands.json | ||
| dependabot.yml | ||
| issue-opened.json | ||
| license_finder.yaml | ||
| pr-checks.json | ||
| pr-commands.json | ||
| PULL_REQUEST_TEMPLATE.md | ||
| renovate.json5 | ||
| zizmor.yml | ||