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

@@ -2,8 +2,6 @@ name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
@@ -16,12 +14,12 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.2
with:
node-version: "16.x"
node-version: '16.x'
- name: Setup Go environment
uses: actions/setup-go@v2
with:
go-version: "1.17"
go-version: '1.17'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
@@ -61,12 +59,12 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.2
with:
node-version: "16.x"
node-version: '16.x'
- name: Setup Go environment
uses: actions/setup-go@v2
with:
go-version: "1.17"
go-version: '1.17'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
@@ -105,12 +103,12 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.2
with:
node-version: "16.x"
node-version: '16.x'
- name: Setup Go environment
uses: actions/setup-go@v2
with:
go-version: "1.17"
go-version: '1.17'
- name: Get yarn cache directory path
id: yarn-cache-dir-path