Dashboards: Schema V2 - Rename Annotations 'options' to 'legacyOptions' and Fix stale props (#105266)

* Rename Annotations 'Options' to 'legacyOptions'

* use new legacyOptions in StandardAnnotationQueryEditor

* use new legacyOptions in transformSaveModelSchemaToScene

* use legacyOptions in transformSceneToSaveModelSchemaV2

* Fix bug with ds query editors not taking the latest state

* update snapshot
This commit is contained in:
Alexa V
2025-05-20 17:55:30 +02:00
committed by GitHub
parent 13f4cf162e
commit b1a6860f52
16 changed files with 82 additions and 58 deletions
@@ -1277,17 +1277,17 @@
"type": "string",
"default": ""
},
"name": {
"type": "string",
"default": ""
},
"options": {
"legacyOptions": {
"description": "Catch-all field for datasource-specific properties",
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"name": {
"type": "string",
"default": ""
},
"query": {
"$ref": "#/components/schemas/com.github.grafana.grafana.apps.dashboard.pkg.apis.dashboard.v2alpha1.DashboardDataQueryKind"
}