Migrate query editor to react (#1520)

* Initial react query editor

* CI: run checks on all branches

* Update react packages

* Initial metric picker

* Load metrics

* Tweak styles

* Add variables to metric options

* Tweak styles

* Filtering and keyboard navigation

* Open menu with keyboard

* Update function editor

* Move functions in editor

* Add function component

* Edit func params

* Push alias functions to the end

* Tweak labels size

* Fix menu position

* Metric options editor

* Fix css styles building

* More work on query options

* Fix tests

* Refactor: extract metrics query editor and functions editor

* Refactor: move things around

* Text metrics editor

* Problems query editor

* Problems mode options

* Item id query editor

* IT services query editor

* Triggers query editor

* Refactor: remove unused

* remove derprecated theme usage

* Load proxy options

* Fetch metric options on variable change

* Remove angular query editor

* Migrate annotations editor to react

* Fix tests
This commit is contained in:
Alexander Zobnin
2022-11-09 17:50:13 +03:00
committed by GitHub
parent f765d47fed
commit 504c9af226
44 changed files with 7822 additions and 5868 deletions

View File

@@ -30,18 +30,18 @@
"@babel/preset-react": "7.6.3",
"@emotion/css": "11.1.3",
"@emotion/react": "11.1.5",
"@grafana/data": "^8.3.6",
"@grafana/runtime": "^8.3.6",
"@grafana/toolkit": "^8.3.6",
"@grafana/ui": "^8.3.6",
"@grafana/data": "9.1.2",
"@grafana/runtime": "9.1.2",
"@grafana/toolkit": "9.1.2",
"@grafana/ui": "9.1.2",
"@popperjs/core": "2.4.0",
"@types/classnames": "2.2.9",
"@types/grafana": "github:CorpGlory/types-grafana",
"@types/jest": "24.0.13",
"@types/jquery": "3.3.32",
"@types/lodash": "4.14.161",
"@types/react": "16.8.16",
"@types/react-dom": "16.8.4",
"@types/react": "17.0.42",
"@types/react-dom": "17.0.14",
"@types/react-transition-group": "4.2.4",
"axios": "^0.21.1",
"babel-jest": "24.8.0",
@@ -69,12 +69,13 @@
"ng-annotate-webpack-plugin": "0.3.0",
"node-sass": "^7.0.1",
"prop-types": "15.7.2",
"react": "16.12.0",
"react-dom": "16.12.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-popper": "^2.2.3",
"react-table-6": "^6.8.6",
"react-test-renderer": "^16.7.0",
"react-test-renderer": "17.0.2",
"react-transition-group": "4.3.0",
"react-use": "17.4.0",
"rst2html": "github:thoward/rst2html#990cb89",
"rxjs": "6.6.3",
"sass-loader": "10.2.1",