grafana/public/test/mocks
Laura Benz 9400ccf478
Glue: Validate target query in correlations page (#57245)
* feat: add draft version of validate button

* feat: add some styling and basics

* temp: intermediate result

* refactor: solve TODOs

* refactor: replace string in state

* refactor: replace error message style

* refactor: set validate state on change in ds

* refactor: add QueryRunner

* refactor: add QueryRunner

* temp: temporary status

* Emit PanelData to check if the query is valid

* refactor: clean up

* refactor: improve a11y of error message and adjust test

* Remove deprecated property call, change equality

* refactor: add changes from code review

* refactor: remove memory leak

* refactor: replace query runner

* refactor: adjust error handling

* refactor: move testing to related unit test

* refactor: clean up test for QueryEditorField

* refactor: clean up test for CorrelationsPage

* refactor: repair test

* refactor: clean up

* refactor: add refId in order avoid errors when running Loki queries

* refactor: replace buildQueryTransaction + set query to invalid if query is empty

* refactor: add empty query value to test cases

* refactor: end handleValidation after setIsValidQuery()

* refactor: refactor test

* refactor: fix last two tests

* refactor: modify validation

* refactor: add happy path

* refactor: clean up

* refactor: clean up tests (not final)

* refactor: further clean up

* refactor: add condition for failing

* refactor: finish clean up

* refactor: changes from code review

* refactor: add response state to condition

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* refactor: fix prettier issue

* refactor: remove unused return

* refactor: replace change in queryAnalytics.ts

* refactor: remove correlations from query analytics

* refactor: remove unnecessary test preparation

* refactor: revert changes from commit 4997327

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com>
2023-01-12 11:43:40 +01:00
..
angular.ts tests: migrated tests for link_srv to jest, #9666 2017-10-31 14:30:06 +01:00
backend_srv.ts More files that has fixed with prettier 2019-02-13 11:39:41 +01:00
common.ts IconName: Move to grafana/data and use type on NavModelItem (#55013) 2022-09-12 20:09:33 +02:00
dashboard-mock.js Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
datasource_srv.ts Glue: Validate target query in correlations page (#57245) 2023-01-12 11:43:40 +01:00
getGrafanaContextMock.ts Chore: more any/type assertion improvements (#57450) 2022-10-25 11:04:35 +02:00
i18nMessages.ts I18N: Add Lingui core translation framework. (#41827) 2021-12-15 17:00:37 +01:00
monaco.ts Tests: removes unused stuff and replaces monaco transpile with mock (#27324) 2020-09-03 08:54:46 +02:00
navModel.ts Admin: Add support bundles (#60536) 2022-12-20 11:13:37 +01:00
style.ts Panel Inspect: use monaco for json display (#25251) 2020-06-29 10:58:47 -07:00
svg.ts Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
workers.ts Tempo: Add filtering for service graph query (#41162) 2021-11-11 14:27:59 +01:00