grafana/public/app/features/explore
Piotr Jamróz 2ae226de89
Explore: Decouple SplitOpen and getFieldLinksForExplore from Panel visualizations (#71811)
* Allow overriding internal data link supplier

* Remove SplitOpen and getFieldLinksForExplore dependencies

* Fix checking if row index is provided

* Fix unit test

* Add a comment

* Mark SplitOpen as deprecated

* Use Panel Context to provide internal data link supplier

* Update packages/grafana-ui/src/components/PanelChrome/PanelContext.ts

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>

* Update packages/grafana-data/src/utils/dataLinks.ts

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>

* Add missing eventsScope

* Fix infinite render loops

* Rename internal data link supplier to data link post processor

* Update packages/grafana-data/src/field/fieldOverrides.ts

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

---------

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-07-31 14:10:03 +02:00
..
__mocks__ Explore: Allow the use of plugin panels (#66982) 2023-07-07 11:28:44 +02:00
extensions PluginExtensions: Increased extension limit per plugin (#72196) 2023-07-24 16:20:57 +02:00
FlameGraph Explore: Reorganized data viz components (#68510) 2023-05-23 07:42:38 -06:00
Graph Explore: Decouple SplitOpen and getFieldLinksForExplore from Panel visualizations (#71811) 2023-07-31 14:10:03 +02:00
hooks Explore: Decouple SplitOpen and getFieldLinksForExplore from Panel visualizations (#71811) 2023-07-31 14:10:03 +02:00
Logs logs: log-details: handle dataplane-compliant dataframes (#71935) 2023-07-26 10:56:26 +02:00
NodeGraph Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
PrometheusListView Prometheus: Fix numeric values in raw prometheus view which are being formatted as text (#69737) 2023-06-08 09:32:09 -05:00
RawPrometheus Explore: Decouple SplitOpen and getFieldLinksForExplore from Panel visualizations (#71811) 2023-07-31 14:10:03 +02:00
RichHistory Chore: Upgrade prettier to v3 (#71764) 2023-07-17 15:58:22 +01:00
spec Explore: Moved 'handles open/close splits in UI and URL' test to the spec folder (#71674) 2023-07-18 07:47:26 -06:00
state Explore: ensure newly added query use the correct datasource (#72251) 2023-07-26 16:01:43 +01:00
Table Explore: Decouple SplitOpen and getFieldLinksForExplore from Panel visualizations (#71811) 2023-07-31 14:10:03 +02:00
TraceView Tracing: Trace to metrics default range (#72433) 2023-07-31 11:24:12 +01:00
utils Explore: Decouple SplitOpen and getFieldLinksForExplore from Panel visualizations (#71811) 2023-07-31 14:10:03 +02:00
CustomContainer.tsx Explore: Decouple SplitOpen and getFieldLinksForExplore from Panel visualizations (#71811) 2023-07-31 14:10:03 +02:00
ElapsedTime.tsx Chore: some type fixes (#69860) 2023-06-20 17:13:49 +01:00
ErrorContainer.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ErrorContainer.tsx Chore: Avoid explicit React.FunctionComponent<Props> when possible (round 3) (#64839) 2023-03-16 16:56:26 +02:00
Explore.test.tsx Explore: Allow the use of plugin panels (#66982) 2023-07-07 11:28:44 +02:00
Explore.tsx Explore: Decouple SplitOpen and getFieldLinksForExplore from Panel visualizations (#71811) 2023-07-31 14:10:03 +02:00
ExploreActions.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
ExploreDrawer.tsx Design System: Set border radius to theme.shape.radius.default (#65511) 2023-03-30 09:20:11 +02:00
ExplorePage.tsx Explore: Turn ExplorePage.test into unit test (#72022) 2023-07-26 12:46:57 -06:00
ExplorePaneContainer.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
ExploreQueryInspector.test.tsx Explore: Allow the use of plugin panels (#66982) 2023-07-07 11:28:44 +02:00
ExploreQueryInspector.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
ExploreTimeControls.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
ExploreToolbar.tsx Explore: Remove exploreMixedDatasource feature toggle (#71534) 2023-07-17 12:25:49 +01:00
FeatureTogglePage.tsx Chore: Upgrade prettier to v3 (#71764) 2023-07-17 15:58:22 +01:00
LiveTailButton.tsx Explore: move items out of topnav & use canvas variant for toolbar buttons (#60630) 2023-01-05 22:26:58 +00:00
MetaInfoText.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
MetaInfoText.tsx Logs: Fix alginment of meta items (#61349) 2023-01-12 10:42:28 +01:00
NoData.tsx Design System: Set border radius to theme.shape.radius.default (#65511) 2023-03-30 09:20:11 +02:00
NoDataSourceCallToAction.tsx chore: fix link to docs (#67642) 2023-05-02 18:05:54 +01:00
QueryRows.test.tsx Correlations: Create paginated API (#65241) 2023-07-05 09:37:17 -05:00
QueryRows.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
ResponseErrorContainer.test.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
ResponseErrorContainer.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
SecondaryActions.test.tsx Query History: Hide query history when anonymous user uses Explore (#49896) 2022-06-02 08:51:11 -05:00
SecondaryActions.tsx GrafanaUI: Update FilterPill active state and ToolbarButton active state (#70396) 2023-07-10 11:41:33 +02:00
SupplementaryResultError.test.tsx Chore: Adjust unit tests so they work with react 18 (#64698) 2023-03-14 17:24:04 +00:00
SupplementaryResultError.tsx Supplementary Query Error: Align buttons to the right / Update timeout message (#65738) 2023-04-05 13:05:06 +02:00
Time.tsx Chore: Avoid explicit React.FC<Props> when possible (#64722) 2023-03-14 16:38:21 +02:00
TimeSyncButton.test.tsx Chore: transfer TimeSyncButton.test to testing-library (#48404) 2022-05-02 11:20:12 +02:00
TimeSyncButton.tsx Explore: move items out of topnav & use canvas variant for toolbar buttons (#60630) 2023-01-05 22:26:58 +00:00
useLiveTailControls.ts Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00