This PR introduces React to our Grafana datasource. This is done to get rid of our outdated Angular code and along with that remove redundant code occurrences within the datasource. These steps will be undertaken:
[x] Use Grafana toolkit to build project
[x] Rewrite config control
[x] Divide query control in reusable components
[x] Connect new react components with existing datasource code
[x] Add react component test for config
[x] Build reusable components including tests
[x] Modify react component if the new Grafana UI is released
This PR introduces React to our Grafana datasource. This is done to get rid of our outdated Angular code and along with that remove redundant code occurrences within the datasource. These steps will be undertaken:
To try the react version:
Run
docker-compose up
Run
yarn watch
Enjoy