grafana/public/app/features/explore/RichHistory
Piotr Jamróz e7605ad974
Query History: Split data and view models (#44922)
* Remove unused properties

* Fix unit tests

* Fix unit tests

* Split data models

* Simplify updating items in rich history

* Update tests

* Fix starring an item and add a unit test

* Move the converter to a separate file and add unit tests

* Convert a private function to an inline function

* Add more docs and clean up the code

* Update public/app/core/history/localStorageConverter.ts

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Update public/app/core/utils/richHistory.test.ts

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Use template literals over explicit casting

* Split updateRichHistory to three separate functions

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2022-02-10 13:59:43 +01: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 Rich history: Test coverage (#22852) 2020-03-17 23:24:27 +01:00
RichHistoryContainer.tsx Query History: Refactor persistence layer (#44545) 2022-02-04 12:46:27 +01: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