grafana/public/app/features/explore
Kristina f18a02149a
Correlations: Create paginated API (#65241)
* Add pagination params and apply to sql

* Create getCorrelationsResponse that returns metadata

* Set up pagination, change correlations fetch to only get source datasource correlations

* Move correlations from root to pane, only fetch correlations for one datasource when initialized or datasource is changed

* Fix tests

* Fix remaining tests

* Use functional component to handle state

* Remove unneeded mocks, fix tests

* Change perPage to limit

* Fix Go Tests

* Fix linter

* Remove parameter

* Account for mixed datasources

* Delete unused hook

* add source UID filter to API, start backing out front end hook changes

* add source IDs to API, use when loading or changing datasource

* Fix prettier

* Mock correlations response

* Get correlations for all datasources in mixed scenario

* Add documentation for new parameters

* Attempt to fix swagger

* Fix correlations page

* add swagger and openapi docs

* Add mocks to failing test

* Change API for consistency, remove extra hooks and unused function

* Add max to limit and re-gen api docs

* Move the page to the previous page if deleting all the rows on the page

* Only fetch if remove does not have value

* Change page to a reference hook

* Fix documentation, a test and some logic thinking page could be 0
2023-07-05 09:37:17 -05:00
..
__mocks__ Explore: Clear live logs (#64237) 2023-04-20 10:21:28 +02:00
extensions Explore: Make toolbar action extendable by plugins (#65524) 2023-06-28 15:42:41 +02:00
FlameGraph Explore: Reorganized data viz components (#68510) 2023-05-23 07:42:38 -06:00
Graph Explore: Remove storing derived "loading" property (#70324) 2023-06-20 17:38:05 +02:00
hooks Correlations: Create paginated API (#65241) 2023-07-05 09:37:17 -05:00
Logs logs: refactor: move logsModel to the logs folder (#70989) 2023-07-04 13:27:52 +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: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
RichHistory Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
spec Correlations: Create paginated API (#65241) 2023-07-05 09:37:17 -05:00
state Correlations: Create paginated API (#65241) 2023-07-05 09:37:17 -05:00
Table Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
TraceView Tracing: Remove unused selectors (#71038) 2023-07-05 10:42:12 +01:00
utils logs: refactor: move logsModel to the logs folder (#70989) 2023-07-04 13:27:52 +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: Make toolbar action extendable by plugins (#65524) 2023-06-28 15:42:41 +02:00
Explore.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01: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.test.tsx Correlations: Create paginated API (#65241) 2023-07-05 09:37:17 -05:00
ExplorePage.tsx Correlations: Create paginated API (#65241) 2023-07-05 09:37:17 -05:00
ExplorePaneContainer.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
ExploreQueryInspector.test.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01: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: Make toolbar action extendable by plugins (#65524) 2023-06-28 15:42:41 +02:00
FeatureTogglePage.tsx TopNav: New page layouts (#51510) 2022-07-06 17:00:56 +02: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 Revert "Explore: Convert SASS styles of explore-active-button to emotion (#50061)" (#50882) 2022-06-16 14:39:54 +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