grafana/public/app/features/explore/RichHistory
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
..
RichHistory.test.tsx Eslint: no-duplicate-imports rule (bump grafana-eslint-config) (#30989) 2021-02-11 13:45:25 +01:00
RichHistory.tsx Query History: Refactor persistence layer (#44545) 2022-02-04 12:46:27 +01:00
RichHistoryCard.test.tsx Query History: Split data and view models (#44922) 2022-02-10 13:59:43 +01:00
RichHistoryCard.tsx Query History: Split data and view models (#44922) 2022-02-10 13:59:43 +01:00
RichHistoryContainer.test.tsx Query History: Load history when QueryHistoryContainer is opened (#46457) 2022-04-06 13:49:25 +02:00
RichHistoryContainer.tsx Query History: Load history when QueryHistoryContainer is opened (#46457) 2022-04-06 13:49:25 +02:00
RichHistoryQueriesTab.test.tsx Chore: Fix more TypeScript errors (#36918) 2021-07-20 09:57:03 +01:00
RichHistoryQueriesTab.tsx Query History: Split data and view models (#44922) 2022-02-10 13:59:43 +01:00
RichHistorySettings.test.tsx Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
RichHistorySettings.tsx Query History: Refactor persistence layer (#44545) 2022-02-04 12:46:27 +01:00
RichHistoryStarredTab.test.tsx Chore: Fix more TypeScript errors (#36918) 2021-07-20 09:57:03 +01:00
RichHistoryStarredTab.tsx Query History: Split data and view models (#44922) 2022-02-10 13:59:43 +01:00