[ARVADOS-WORKBENCH2] updated: 1.4.1-207-gef7c2cea
Git user
git at public.arvados.org
Fri Jan 10 20:28:32 UTC 2020
Summary of changes:
.../subprocess-panel/subprocess-panel-actions.ts | 40 ----------------------
1 file changed, 40 deletions(-)
via ef7c2ceaefcf2a999a3fff5a0f6c88a4ff297382 (commit)
from bee25d314ff25acbcdccc5a8ec56c93377e2cde1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit ef7c2ceaefcf2a999a3fff5a0f6c88a4ff297382
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Fri Jan 10 15:27:27 2020 -0500
15672: Delete comment out code
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/src/store/subprocess-panel/subprocess-panel-actions.ts b/src/store/subprocess-panel/subprocess-panel-actions.ts
index d3a230cb..7e8d1e46 100644
--- a/src/store/subprocess-panel/subprocess-panel-actions.ts
+++ b/src/store/subprocess-panel/subprocess-panel-actions.ts
@@ -6,13 +6,6 @@ import { Dispatch } from 'redux';
import { RootState } from '~/store/store';
import { ServiceRepository } from '~/services/services';
import { bindDataExplorerActions } from '~/store/data-explorer/data-explorer-action';
-/* import { setBreadcrumbs } from '~/store/breadcrumbs/breadcrumbs-actions';
-import { dialogActions } from '~/store/dialog/dialog-actions';
-import { ProcessResource } from '~/models/process';
-import { getResource } from '~/store/resources/resources';
-import { snackbarActions, SnackbarKind } from '~/store/snackbar/snackbar-actions';
-import { REMOVE_PROCESS_DIALOG } from '~/store/processes/processes-actions';
-*/
export const SUBPROCESS_PANEL_ID = "subprocessPanel";
export const SUBPROCESS_ATTRIBUTES_DIALOG = 'subprocessAttributesDialog';
export const subprocessPanelActions = bindDataExplorerActions(SUBPROCESS_PANEL_ID);
@@ -21,36 +14,3 @@ export const loadSubprocessPanel = () =>
(dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
dispatch(subprocessPanelActions.REQUEST_ITEMS());
};
-
-/*
-export const openSubprocessAttributesDialog = (uuid: string) =>
- (dispatch: Dispatch, getState: () => RootState) => {
- const { resources } = getState();
- const subprocess = getResource<ProcessResource>(uuid)(resources);
- dispatch(dialogActions.OPEN_DIALOG({ id: SUBPROCESS_ATTRIBUTES_DIALOG, data: { subprocess } }));
- };
-
-export const openLinkRemoveDialog = (uuid: string) =>
- (dispatch: Dispatch, getState: () => RootState) => {
- dispatch(dialogActions.OPEN_DIALOG({
- id: REMOVE_PROCESS_DIALOG,
- data: {
- title: 'Remove process',
- text: 'Are you sure you want to remove this process?',
- confirmButtonLabel: 'Remove',
- uuid
- }
- }));
- };
-
-export const removeSubprocess = (uuid: string) =>
- async (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
- dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'Removing ...', kind: SnackbarKind.INFO }));
- try {
- await services.containerRequestService.delete(uuid);
- dispatch(subprocessPanelActions.REQUEST_ITEMS());
- dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'Process has been successfully removed.', hideDuration: 2000, kind: SnackbarKind.SUCCESS }));
- } catch (e) {
- return;
- }
- };*/
\ No newline at end of file
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list