grafana/public
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
..
app Glue: Validate target query in correlations page (#57245) 2023-01-12 11:43:40 +01:00
dashboards Chore: Update version of @grafana/eslint-config (#53403) 2022-08-08 15:19:15 +01:00
emails Email: Use MJML email templates (#57751) 2022-11-17 21:41:46 +01:00
fonts Theme: Use Inter font by default (#59544) 2022-12-01 11:59:37 +00:00
gazetteer Geomap: Add GeoJSON gazetteer (#40589) 2021-10-19 21:05:55 -07:00
img Navigation: Allow overriding icons in nav settings (#61160) 2023-01-10 10:29:07 +00:00
lib AzureMonitor: Kusto language support (#33528) 2021-05-11 16:48:59 +02:00
locales CommandPalette: Search for dashboards using API (#61090) 2023-01-10 14:59:32 +00:00
maps Geomap: include sample geojson files (#39057) 2021-09-10 09:05:03 -07:00
sass PublicDashboards: A unique page for public dashboards (#60744) 2023-01-10 14:50:37 -03:00
test Glue: Validate target query in correlations page (#57245) 2023-01-12 11:43:40 +01:00
testdata MarketTrend: add new alpha panel (#40909) 2021-11-05 18:01:26 -07:00
vendor GaugePanel: Setting the neutral-point of a gauge (#53989) 2022-11-18 12:13:31 +01:00
views Chore: remove preloading roboto font (#59664) 2022-12-02 09:30:47 +00:00
api-merged.json PanelChrome: Implement Panel header with error, loading, and streaming data status (#60147) 2023-01-05 11:48:11 +02:00
api-spec.json PanelChrome: Implement Panel header with error, loading, and streaming data status (#60147) 2023-01-05 11:48:11 +02:00
openapi3.json Nested folders: Refactor folder update (#60323) 2022-12-20 15:00:33 +02:00
robots.txt