grafana / singlestat-panel

Legacy singlestat panel
Apache License 2.0
3 stars 1 forks source link

Fix singlestat panel to work with Grafana 9 #4

Closed tolzhabayev closed 2 years ago

tolzhabayev commented 2 years ago

Fixes: #2 #3

- Bump dependencies
- Migrate to using `getColorByName` instead of `getColorForTheme` to support Grafan 9
- Migrate to using `GrafanaThema2` instead of `GrafanaTheme`
- Migrate to using `convertOldAngularValueMappings` from `@grafana/data` package instead of `convertOldAngularValueMapping` from `@grafana/ui` package
- Bump minimum supported Grafana version to `8.+`
- Remove dependency for `@grafana/ui` as not needed any more

When this change is published this PR might be obsolete: https://github.com/grafana/grafana/pull/51149

This PR has to be merged and published first: https://github.com/grafana/singlestat-panel/pull/5

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.