grafana/public/app/core/services
Torkel Ödegaard 81e955e6b5
BackendSrv: Cancellable requests & Observable all the way (#25746)
* BackendSrv: Observable all the way POC

* starting to unify code paths

* tests pass

* Unified error handling

* Single request path and error handling

* Fixed ts issue

* another ts issu

* Added back old requestId cancellation

* Slow progress trying to grasp the full picture of cancellation

* Updates

* refactoring

* Remove a bunch of stuff from backendSrv

* Removed another function

* Do not show error alerts for data queries

* Muu

* Updated comment

* fixed ts issue

* unify request options type

* Made query inspector subscribe to backendSrv stream instead of legacy app events

* Add back support for err.isHandled to limit scope

* never show success alerts

* Updated tests

* Fixing tests

* Minor weak

* Improved logic for the showErrorAlert and showSuccessAlert boolean flags, now they work more logically

* Fix issue
2020-07-07 21:22:47 +02:00
..
__mocks__ Chore: Remove angular dependency from prometheus datasource (#20536) 2019-11-21 15:36:56 +00:00
echo TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
alert_srv.ts fix: updated backend srv to use appEvents and removed parts of alertsSrv 2018-10-25 17:05:17 +02:00
all.ts migrated last all.js to ts 2018-04-04 14:16:39 +02:00
analytics.ts TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
AngularLoader.ts Types: Adds type safety to appEvents (#19418) 2019-10-14 09:27:47 +01:00
backend_srv.ts BackendSrv: Cancellable requests & Observable all the way (#25746) 2020-07-07 21:22:47 +02:00
bridge_srv.test.ts Variables: Fixes maximum call stack bug for empty value (#25503) 2020-06-15 11:49:38 +02:00
bridge_srv.ts Variables: Fixes maximum call stack bug for empty value (#25503) 2020-06-15 11:49:38 +02:00
context_srv.ts Variable: removed __user.name/___.user.email from global variables and added docs for the rest of the __user variable. (#25275) 2020-06-02 12:05:05 +02:00
dynamic_directive_srv.ts Chore: Fixed no implicit any Typescript errors (#16799) 2019-04-28 09:58:12 +02:00
impression_srv.ts Chore: Fixed no implicit any Typescript errors (#16799) 2019-04-28 09:58:12 +02:00
keybindingSrv.ts Search: support URL query params (#25541) 2020-06-16 11:52:10 +03:00
ng_react.ts TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
popover_srv.ts Types: Adds type safety to appEvents (#19418) 2019-10-14 09:27:47 +01:00
search_srv.ts Search: Safari UI fixes (#24567) 2020-05-12 17:10:48 +03:00
segment_srv.ts TemplateSrv: deprecates templateSrv.variables and adds getVariables (#23026) 2020-03-24 16:03:53 +01:00
timer.ts Chore: Fixed no implicit any Typescript errors (#16799) 2019-04-28 09:58:12 +02:00
util_srv.ts e2e: creates a separate package for selectors (#23858) 2020-04-27 09:09:05 +02:00