grafana/public/app/core
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
..
actions Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
components Kiosk: Reuse kiosk module (#44625) 2022-02-10 11:54:50 +00:00
copy Chore: Use uuid v4 as an identifier instead of Date.now() (#27178) 2020-08-26 11:38:39 +02:00
history Query History: Split data and view models (#44922) 2022-02-10 13:59:43 +01:00
hooks Dependencies: Jest 27 (#42681) 2021-12-03 17:09:25 +00:00
navigation Kiosk: Reuse kiosk module (#44625) 2022-02-10 11:54:50 +00:00
reducers Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
selectors Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
services AccessControl: Change teams permissions page when accesscontrol is enabled (#43971) 2022-02-03 17:49:39 +01:00
specs Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
utils Query History: Split data and view models (#44922) 2022-02-10 13:59:43 +01:00
app_events.ts EventBus: Introduces new event bus with emitter backward compatible interface (#27564) 2020-11-03 13:08:54 +01:00
config.ts VisualizationSelection: Real previews of suitable visualisation and options based on current data (#40527) 2021-10-25 13:55:06 +02:00
constants.ts PanelEditor: Present actionable suggestions when panel cannot visualize current data (#42083) 2021-11-25 09:41:03 +01:00
core.ts Angular: Isolate angular modal support from react modal support (#41788) 2021-11-17 13:12:18 +01:00
jquery_extended.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
localisation.tsx I18N: Add Lingui core translation framework. (#41827) 2021-12-15 17:00:37 +01:00
lodash_extended.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
logs_model.test.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
logs_model.ts logs-volume: remove custom timeout (#45041) 2022-02-08 15:39:09 +01:00
mod_defs.d.ts prettier: change to single quoting 2017-12-20 12:33:33 +01:00
profiler.ts Angular: Isolate angular more (#41440) 2021-11-10 11:05:36 +01:00
store.ts Explore: Improve local storage error handling when rich history is added (#39943) 2021-10-11 09:48:25 +02:00
table_model.ts Old Table: Table is not rendering when col property is undefined (#44129) 2022-01-25 14:22:57 +01:00
time_series2.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00