grafana/public/app/features/correlations
Piotr Jamróz ae927eab73
Glue: Enrich query results data frames in Explore with correlations to generate static links from correlations (#56295)
* Attach static generic data link to data frames in Explore

* WIP

* Always load correlations config when the query is run

This will be moved to Wrapper.tsx and called only once Explore is mounted

* remove comment

* Load the config when Explore is loaded

* Clean up

* Check for feature toggle, simplify cod

* Simplify the code

* Remove unused code

* Fix types

* Add a test for attaching links

* Revert package.json changes

* Display title provided in the correlation label

* Add missing mocks

* Fix tests

* Merge branch 'main' into ifrost/integration/attach-generic-data-link

# Conflicts:
#	public/app/features/explore/Wrapper.tsx
#	public/app/features/explore/state/main.ts

* Remove redundant async calls

* Do not block Wrapper before correlations are loaded (only delay the query)

* Test showing results after correlations are loaded

* Post-merge fix

* Use more consistent naming

* Avoid null assertions

Co-authored-by: Elfo404 <me@giordanoricci.com>
2022-10-11 14:40:55 +02:00
..
components Correlations: Add CorrelationSettings Page (#53821) 2022-08-26 11:27:28 +01:00
Forms Correlations: Add query editor and target field to settings page (#55567) 2022-10-10 12:32:21 +01:00
CorrelationsFeatureToggle.tsx Correlations: Hide Correlations Page behind a feature toggle (#55224) 2022-09-16 15:14:27 +02:00
CorrelationsPage.test.tsx Correlations: Add query editor and target field to settings page (#55567) 2022-10-10 12:32:21 +01:00
CorrelationsPage.tsx Correlations: Add query editor and target field to settings page (#55567) 2022-10-10 12:32:21 +01:00
types.ts Correlations: Add query editor and target field to settings page (#55567) 2022-10-10 12:32:21 +01:00
useCorrelations.ts Correlations: Return 200 instead of 404 for empt correlation lists (#55242) 2022-09-20 11:13:33 +01:00
utils.test.ts Glue: Enrich query results data frames in Explore with correlations to generate static links from correlations (#56295) 2022-10-11 14:40:55 +02:00
utils.ts Glue: Enrich query results data frames in Explore with correlations to generate static links from correlations (#56295) 2022-10-11 14:40:55 +02:00