grafana/public/app/core/utils
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
..
accessControl.ts FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
acl.ts Chore: Fix all Typescript strict null errors (#26204) 2020-07-10 12:46:59 +02:00
applyStateChanges.ts Templating: Migrates some variable types from Angular to React/Redux (#22434) 2020-03-10 08:53:41 +01:00
arrayMove.ts DashboardSettings: Migrate Link Settings to React (#31150) 2021-02-25 11:50:10 +01:00
browser.test.ts Core: Show browser not supported notification (#19904) 2019-10-23 10:30:31 +02:00
browser.ts Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
CancelablePromise.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
colors.ts Moved colorpicker to ui/components 2019-01-11 07:03:12 +01:00
ConfigProvider.tsx AppEvents: export appEvents in @grafana/runtime and support copy panel (#40715) 2021-10-20 13:01:21 -07:00
connectWithReduxStore.tsx Chore: Enable eslint-plugin-react partial rules (#29428) 2020-12-01 16:19:52 +01:00
CorsWorker.ts Live: move centrifuge service to a web worker (#41090) 2021-11-09 21:05:01 +04:00
css_loader.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
dag.test.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
dag.ts Chore: Reduces strict errors (#33012) 2021-04-15 14:21:06 +02:00
deferred.ts Chore: Fix more strict typescript errors (#35514) 2021-06-14 15:13:48 +01:00
docsLinks.ts Transformations: Remove beta notice from transformations and field overrides (#26881) 2020-08-10 10:58:45 +02:00
errors.test.ts Tracing: Add some error handling to JaegerQueryField (#23599) 2020-04-21 14:18:56 +02:00
errors.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
explore.test.ts Remove return to panel button and related code (#45018) 2022-02-08 10:20:22 -06:00
explore.ts Remove return to panel button and related code (#45018) 2022-02-08 10:20:22 -06:00
factors.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
fetch.test.ts Chore: Remove console.log in fetch.test.ts (#45134) 2022-02-09 14:11:30 +01:00
fetch.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
flatten.ts Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
kbn.test.ts streamline kbn.addSlashes and add a test, streamline escaping in angular tip() function (#41066) 2021-11-05 09:18:42 -04:00
kbn.ts streamline kbn.addSlashes and add a test, streamline escaping in angular tip() function (#41066) 2021-11-05 09:18:42 -04:00
model_utils.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
object.test.ts Dashboard schema: strip null values from save model (#41385) 2021-11-09 16:55:42 +01:00
object.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
query.test.ts Dashboard: Allow more than 26 queries per panel. (#35442) 2021-06-23 15:23:02 +02:00
query.ts UpdateQueries: Fixes issues setting datasource on queries after changing type (#41702) 2021-11-15 18:15:13 +01:00
richHistory.test.ts Query History: Split data and view models (#44922) 2022-02-10 13:59:43 +01:00
richHistory.ts Query History: Split data and view models (#44922) 2022-02-10 13:59:43 +01:00
richHistoryTypes.ts Query History: Refactor persistence layer (#44545) 2022-02-04 12:46:27 +01:00
shortLinks.test.ts Shorten url: Unification across Explore and Dashboards (#28434) 2020-10-22 10:31:58 +02:00
shortLinks.ts Replace AppEvents with notifyApp in Explore (#31864) 2021-03-15 15:11:52 +01:00
standardTransformers.ts Geomap: add spatial transformers (alpha) (#44020) 2022-01-21 14:27:26 -08:00
ticks.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
timePicker.test.ts Refactor: move some files to @grafana/data (#17952) 2019-07-06 08:05:53 +02:00
timePicker.ts Refactor: move some files to @grafana/data (#17952) 2019-07-06 08:05:53 +02:00
tracing.ts Update dependency prettier to v2.5.1 (#43473) 2022-02-02 12:02:32 +00:00
version.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00