grafana/public/app/features/explore/state
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
..
datasource.test.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
datasource.ts Loki: Logs volume improvements (#40327) 2021-10-18 12:22:41 +02:00
explorePane.test.ts explore: store failed queries too (#42516) 2021-12-09 14:00:50 +01:00
explorePane.ts Remove return to panel button and related code (#45018) 2022-02-08 10:20:22 -06:00
history.ts Query History: Split data and view models (#44922) 2022-02-10 13:59:43 +01:00
main.test.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
main.ts Remove return to panel button and related code (#45018) 2022-02-08 10:20:22 -06:00
query.test.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
query.ts Query History: Split data and view models (#44922) 2022-02-10 13:59:43 +01:00
selectors.ts Explore: Reuse Dashboard's QueryRows component (#38942) 2021-09-15 16:26:23 +01:00
time.test.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
time.ts Hotkeys: Make time range permanent (#43802) 2022-01-07 16:51:29 +01:00
utils.test.ts Dependencies: Jest 27 (#42681) 2021-12-03 17:09:25 +00:00
utils.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00