FieldOverides: apply field overrides based on configuration (#22047)

* test apply

* test apply

* Move standard field config editor registry to grafana-data

* merge master

* Apply field config defaults

* Make field and dataFrameIndex optional on on FieldOverrideContext

* Apply custom field config overrides

* Gauge - make sure thresholds are set

* Move series and field scoped vars calculation

* Enable template variables interpolation in title fields

* Expose standars field configs from grafana ui via function

* Add missing option to the config for the min value to be derived from field values

* Fix ts issue

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
This commit is contained in:
Ryan McKinley
2020-02-13 21:37:24 +01:00
committed by GitHub
parent 824f7362d4
commit 2c9b321c48
23 changed files with 553 additions and 339 deletions

View File

@ -63,7 +63,12 @@ module.exports = (env = {}) =>
modules: false,
},
],
'@babel/preset-typescript',
[
'@babel/preset-typescript',
{
allowNamespaces: true,
},
],
'@babel/preset-react',
],
},