NestedFolders: Refactor BrowseView state into redux (#66898)

* refactor all state into redux

* add tests for reducers

* added comments
This commit is contained in:
Josh Hunt
2023-04-20 16:37:00 +01:00
committed by GitHub
parent 74d3d3cf4a
commit 3518f8ec53
12 changed files with 464 additions and 165 deletions
+2
View File
@@ -6,6 +6,7 @@ import alertingReducers from 'app/features/alerting/state/reducers';
import apiKeysReducers from 'app/features/api-keys/state/reducers';
import authConfigReducers from 'app/features/auth-config/state/reducers';
import { browseDashboardsAPI } from 'app/features/browse-dashboards/api/browseDashboardsAPI';
import browseDashboardsReducers from 'app/features/browse-dashboards/state/slice';
import { publicDashboardApi } from 'app/features/dashboard/api/publicDashboardApi';
import panelEditorReducers from 'app/features/dashboard/components/PanelEditor/state/reducers';
import dashboardReducers from 'app/features/dashboard/state/reducers';
@@ -41,6 +42,7 @@ const rootReducers = {
...userReducers,
...invitesReducers,
...organizationReducers,
...browseDashboardsReducers,
...ldapReducers,
...importDashboardReducers,
...panelEditorReducers,