grafana/public/app/features/dashboard/state
Hugo Häggmark e65dbcfea1
Variables: enables cancel for slow query variables queries (#24430)
* Refactor: initial commit

* Tests: updates tests

* Tests: updates snapshots

* Chore: updates after PR comments

* Chore: renamed initVariablesBatch

* Tests: adds transactionReducer tests

* Chore: updates after PR comments

* Refactor: renames cancelAllDataSourceRequests

* Refactor: reduces cancellation complexity

* Tests: adds tests for cancelAllInFlightRequests

* Tests: adds initVariablesTransaction tests

* Tests: adds tests for cleanUpVariables and cancelVariables

* Always cleanup dashboard on unmount, even if init is in progress. Check if init phase has changed after services init is completed

* fixed failing tests and added some more to test new scenario.

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2020-06-04 08:59:57 +02:00
..
actions.ts Variables: enables cancel for slow query variables queries (#24430) 2020-06-04 08:59:57 +02:00
analyticsProcessor.ts Disable emitDataRequest from explore (#23926) 2020-04-27 16:32:40 +03:00
DashboardMigrator.test.ts Variables: migrates old tags format for consistency (#24276) 2020-05-05 13:27:05 +02:00
DashboardMigrator.ts Variables: migrates old tags format for consistency (#24276) 2020-05-05 13:27:05 +02:00
DashboardModel.repeat.test.ts Variables: turns on newVariables as a new default (#23272) 2020-04-03 09:38:14 +02:00
DashboardModel.test.ts NewPanelEditor: Save dashboard from edit mode now works, and other fixes (#23668) 2020-04-18 18:00:54 +02:00
DashboardModel.ts DashboardLinks: variables are resolved and limits to 100 (#25076) 2020-05-25 15:47:11 +02:00
index.ts Moved dashboard state components to state folder 2019-01-31 08:56:17 +01:00
initDashboard.test.ts Variables: enables cancel for slow query variables queries (#24430) 2020-06-04 08:59:57 +02:00
initDashboard.ts Variables: enables cancel for slow query variables queries (#24430) 2020-06-04 08:59:57 +02:00
PanelModel.test.ts PanelEditor: Fixed issue changing a panel from transparent back to normal (#24483) 2020-05-11 22:03:43 +02:00
PanelModel.ts PanelEditor: Fixed issue changing a panel from transparent back to normal (#24483) 2020-05-11 22:03:43 +02:00
PanelQueryRunner.test.ts PanelEditor: Overrides name matcher still show all original field names even after Field default display name is specified (#24933) 2020-05-25 14:05:43 +02:00
PanelQueryRunner.ts PanelEditor: Overrides name matcher still show all original field names even after Field default display name is specified (#24933) 2020-05-25 14:05:43 +02:00
reducers.test.ts Dashboard: Move some plugin & panel state to redux (#22052) 2020-02-10 14:23:54 +01:00
reducers.ts Variables: enables cancel for slow query variables queries (#24430) 2020-06-04 08:59:57 +02:00
runRequest.test.ts Chore: reduces strict null errors to 824 (#22744) 2020-03-12 10:22:33 +01:00
runRequest.ts Azure Monitor: Change response to be dataframes (#25123) 2020-06-01 12:37:39 -04:00
selectors.ts PanelEdit: Fixed timing and state related issues (#22131) 2020-02-13 16:06:45 +01:00