projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add keep services panel with state and all dialogs for actions
[arvados.git]
/
src
/
store
/
workbench
/
workbench-actions.ts
diff --git
a/src/store/workbench/workbench-actions.ts
b/src/store/workbench/workbench-actions.ts
index 5e33661cfff12f9c0442de7f09011f3381e7a1a0..667f1c8047451853334f508d0737c9bf019fbe4d 100644
(file)
--- a/
src/store/workbench/workbench-actions.ts
+++ b/
src/store/workbench/workbench-actions.ts
@@
-54,7
+54,9
@@
import { collectionPanelActions } from "~/store/collection-panel/collection-pane
import { CollectionResource } from "~/models/collection";
import { searchResultsPanelActions, loadSearchResultsPanel } from '~/store/search-results-panel/search-results-panel-actions';
import { searchResultsPanelColumns } from '~/views/search-results-panel/search-results-panel-view';
import { CollectionResource } from "~/models/collection";
import { searchResultsPanelActions, loadSearchResultsPanel } from '~/store/search-results-panel/search-results-panel-actions';
import { searchResultsPanelColumns } from '~/views/search-results-panel/search-results-panel-view';
+import { loadVirtualMachinesPanel } from '~/store/virtual-machines/virtual-machines-actions';
import { loadRepositoriesPanel } from '~/store/repositories/repositories-actions';
import { loadRepositoriesPanel } from '~/store/repositories/repositories-actions';
+import { loadKeepServicesPanel } from '~/store/keep-services/keep-services-actions';
export const WORKBENCH_LOADING_SCREEN = 'workbenchLoadingScreen';
export const WORKBENCH_LOADING_SCREEN = 'workbenchLoadingScreen';
@@
-392,6
+394,12
@@
export const loadSearchResults = handleFirstTimeLoad(
await dispatch(loadSearchResultsPanel());
});
await dispatch(loadSearchResultsPanel());
});
+export const loadVirtualMachines = handleFirstTimeLoad(
+ async (dispatch: Dispatch<any>) => {
+ await dispatch(loadVirtualMachinesPanel());
+ dispatch(setBreadcrumbs([{ label: 'Virtual Machines' }]));
+ });
+
export const loadRepositories = handleFirstTimeLoad(
async (dispatch: Dispatch<any>) => {
await dispatch(loadRepositoriesPanel());
export const loadRepositories = handleFirstTimeLoad(
async (dispatch: Dispatch<any>) => {
await dispatch(loadRepositoriesPanel());
@@
-403,6
+411,11
@@
export const loadSshKeys = handleFirstTimeLoad(
await dispatch(loadSshKeysPanel());
});
await dispatch(loadSshKeysPanel());
});
+export const loadKeepServices = handleFirstTimeLoad(
+ async (dispatch: Dispatch<any>) => {
+ await dispatch(loadKeepServicesPanel());
+ });
+
const finishLoadingProject = (project: GroupContentsResource | string) =>
async (dispatch: Dispatch<any>) => {
const uuid = typeof project === 'string' ? project : project.uuid;
const finishLoadingProject = (project: GroupContentsResource | string) =>
async (dispatch: Dispatch<any>) => {
const uuid = typeof project === 'string' ? project : project.uuid;