grafana/public/app/features/explore
Piotr Jamróz 88ec750728
Query History: Load history when QueryHistoryContainer is opened (#46457)
* Load Rich History when the container is opened

* Store rich history for each pane separately

* Do not update currently opened query history when an item is added

It's impossible to figure out if the item should be added or not, because filters are applied in the backend. We don't want to replicate that filtering logic in frontend. One way to make it work could be by refreshing both panes.

* Test starring and deleting query history items when both panes are open

* Remove e2e dependency on ExploreId

* Fix unit test

* Assert exact queries

* Simplify test

* Fix e2e tests

* Fix toolbar a11y

* Reload the history after an item is added

* Fix unit test

* Remove references to Explore from generic PageToolbar component

* Update test name

* Fix test assertion

* Add issue item to TODO

* Improve test assertion

* Simplify test setup
2022-04-06 13:49:25 +02:00
..
__mocks__ Chore: Bumps prettier version for new typescript syntax support (#20463) 2019-11-19 13:59:39 +00:00
AddToDashboard Explore: set correct datasource when creating panel in a dashboard (#46530) 2022-03-14 23:26:13 +00:00
RichHistory Query History: Load history when QueryHistoryContainer is opened (#46457) 2022-04-06 13:49:25 +02:00
spec Query History: Load history when QueryHistoryContainer is opened (#46457) 2022-04-06 13:49:25 +02:00
state Query History: Load history when QueryHistoryContainer is opened (#46457) 2022-04-06 13:49:25 +02:00
TraceView Tempo: Traces to Logs - From viewing Tempo traces to displaying Splunk logs (#46855) 2022-04-04 13:24:33 -07:00
utils Explore: Fix time interpolation (#46737) 2022-03-29 15:10:40 +02:00
ElapsedTime.tsx React: refactor away from unsafe lifecycle methods (#21291) 2020-05-18 18:03:29 +02:00
ErrorContainer.test.tsx Fix tests for Explore - ErrorContainer, MetaInfoText & cleanup (#46744) 2022-03-18 14:44:51 -05:00
ErrorContainer.tsx Theme: Fixes to time picker calendar & variable dropdowns & more (#33407) 2021-04-27 15:13:08 +02:00
Explore.tsx Trace view: Scroll to top on new query (#46278) 2022-03-14 14:22:37 -06:00
ExploreDrawer.tsx Theme: Renames new theme model from GrafanaThemeV2 to just GrafanaTheme (#33619) 2021-05-03 09:45:54 +02:00
ExploreGraph.tsx Chore: reduces circular dependencies for variables/utils.ts (#44087) 2022-01-17 12:48:26 +01:00
ExploreGraphLabel.tsx Chore: reduces circular dependencies for variables/utils.ts (#44087) 2022-01-17 12:48:26 +01:00
exploreGraphStyleUtils.ts Chore: reduces circular dependencies for variables/utils.ts (#44087) 2022-01-17 12:48:26 +01:00
ExplorePaneContainer.tsx Remove return to panel button and related code (#45018) 2022-02-08 10:20:22 -06:00
ExploreQueryInspector.test.tsx Explore: allow users to save Explore state to a new panel in a new dashboard (#45148) 2022-03-03 08:54:06 +00:00
ExploreQueryInspector.tsx Explore: Fix timezone not changing for graph and table (#42430) 2021-12-02 12:07:23 +01:00
ExploreTimeControls.tsx Add fiscal years and search to time picker (#39073) 2021-09-30 09:40:02 +02:00
ExploreToolbar.tsx Query History: Load history when QueryHistoryContainer is opened (#46457) 2022-04-06 13:49:25 +02:00
LiveLogs.test.tsx Explore/Logs: Escaping of incorrectly escaped log lines (#31352) 2021-03-03 18:32:27 +01:00
LiveLogs.tsx Explore: use GrafanaTheme2 (LiveLogs component) (#37452) 2021-08-20 14:53:03 +02:00
LiveTailButton.tsx Explore: use GrafanaTheme2 (LiveTailButton component) (#37516) 2021-08-19 16:17:28 +02:00
Logs.test.tsx Explore: Save log results sort order (#45423) 2022-02-21 06:09:43 -06:00
Logs.tsx Explore: Save log results sort order (#45423) 2022-02-21 06:09:43 -06:00
LogsContainer.tsx Elasticsearch: Enable full range log volume histogram (#41202) 2021-11-10 11:20:30 +01:00
LogsMetaRow.tsx Explore: Refactor deduplication, hiding of logs and Logs component (#33531) 2021-04-29 18:26:30 +02:00
LogsNavigation.test.tsx Logs: Fix requesting of older logs when flipped order (#41966) 2021-11-23 09:56:06 +01:00
LogsNavigation.tsx Explore: Fix closing split pane when logs panel is used (#45602) 2022-02-18 15:34:19 +01:00
LogsNavigationPages.test.tsx Explore: Polish UI of logs navigation (#33910) 2021-05-11 22:10:45 +02:00
LogsNavigationPages.tsx Update dependency emotion to v11 (#41134) 2021-11-04 17:54:49 +00:00
LogsVolumePanel.test.tsx logs-volume: remove custom timeout (#45041) 2022-02-08 15:39:09 +01:00
LogsVolumePanel.tsx logs-volume: remove custom timeout (#45041) 2022-02-08 15:39:09 +01:00
MetaInfoText.test.tsx Fix tests for Explore - ErrorContainer, MetaInfoText & cleanup (#46744) 2022-03-18 14:44:51 -05:00
MetaInfoText.tsx Fix tests for Explore - ErrorContainer, MetaInfoText & cleanup (#46744) 2022-03-18 14:44:51 -05:00
NoDataSourceCallToAction.tsx AccessControl: "Add data source" button needs create and write rights to be enabled (#38934) 2021-09-08 09:47:55 +02:00
NodeGraphContainer.test.tsx Live: move centrifuge service to a web worker (#41090) 2021-11-09 21:05:01 +04:00
NodeGraphContainer.tsx Explore: refactor redux-connected components (#36027) 2021-06-24 08:21:19 +02:00
QueryRows.test.tsx Query History: Load history when QueryHistoryContainer is opened (#46457) 2022-04-06 13:49:25 +02:00
QueryRows.tsx Dashboard: replace datasource name with a reference object (#33817) 2021-10-29 10:57:24 -07:00
ResponseErrorContainer.test.tsx Explore: allow users to save Explore state to a new panel in a new dashboard (#45148) 2022-03-03 08:54:06 +00:00
ResponseErrorContainer.tsx Explore: prevent eplore from hiding errors containing refId (#39504) 2021-09-22 10:33:31 +01:00
RunButton.test.tsx Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
RunButton.tsx Explore: Integration test for running a query and saving it in query history (#45728) 2022-02-23 19:05:38 +01:00
SecondaryActions.test.tsx Elasticsearch: Enable full range log volume histogram (#41202) 2021-11-10 11:20:30 +01:00
SecondaryActions.tsx Logs: Move button to load logs volume to logs options header (#40578) 2021-10-20 13:58:04 +02:00
TableContainer.test.tsx Explore: Fix timezone not changing for graph and table (#42430) 2021-12-02 12:07:23 +01:00
TableContainer.tsx Tempo / Trace Viewer: Implement deep linking to spans 2022-01-24 08:49:35 -07:00
Time.tsx React: refactor away from unsafe lifecycle methods (#21291) 2020-05-18 18:03:29 +02:00
TimeSyncButton.test.tsx Transformations: enable transformations reordering (#27197) 2020-08-31 08:47:27 +02:00
TimeSyncButton.tsx TimeRangePicker: Updates components to use new ToolbarButton & ButtonGroup (#30570) 2021-01-25 14:01:54 +01:00
useLiveTailControls.ts Eslint: no-duplicate-imports rule (bump grafana-eslint-config) (#30989) 2021-02-11 13:45:25 +01:00
Wrapper.test.tsx Query History: Load history when QueryHistoryContainer is opened (#46457) 2022-04-06 13:49:25 +02:00
Wrapper.tsx Query History: Load history when QueryHistoryContainer is opened (#46457) 2022-04-06 13:49:25 +02:00