[ARVADOS-WORKBENCH2] updated: 1.2.0-757-g6a6fea7

Git user git at public.curoverse.com
Tue Oct 30 06:23:32 EDT 2018


Summary of changes:
 .../action-sets/collection-action-set.ts           | 20 ++++++++++++----
 .../action-sets/collection-files-action-set.ts     | 16 +++++++++----
 .../collection-files-item-action-set.ts            |  8 +++++--
 .../action-sets/collection-resource-action-set.ts  | 20 ++++++++++++----
 .../context-menu/action-sets/process-action-set.ts | 28 ++++++++++++++++------
 .../action-sets/process-resource-action-set.ts     | 16 +++++++++----
 .../context-menu/action-sets/project-action-set.ts | 24 ++++++++++++++-----
 .../action-sets/root-project-action-set.ts         |  8 +++++--
 .../context-menu/action-sets/trash-action-set.ts   |  4 +++-
 .../action-sets/trashed-collection-action-set.ts   | 12 +++++++---
 10 files changed, 117 insertions(+), 39 deletions(-)

       via  6a6fea74799f8fc473578978499f66171f5b6ab3 (commit)
      from  92b75858458bfeb573b1e196a44c31aab3869b75 (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 6a6fea74799f8fc473578978499f66171f5b6ab3
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Tue Oct 30 11:23:20 2018 +0100

    context-menu-spacing
    
    Feature #13969
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/views-components/context-menu/action-sets/collection-action-set.ts b/src/views-components/context-menu/action-sets/collection-action-set.ts
index 121fe17..f7dbf3a 100644
--- a/src/views-components/context-menu/action-sets/collection-action-set.ts
+++ b/src/views-components/context-menu/action-sets/collection-action-set.ts
@@ -19,7 +19,9 @@ export const collectionActionSet: ContextMenuActionSet = [[
     {
         icon: RenameIcon,
         name: "Edit collection",
-        execute: (dispatch, resource) => dispatch<any>(openCollectionUpdateDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openCollectionUpdateDialog(resource));
+        }
     },
     {
         icon: ShareIcon,
@@ -43,18 +45,24 @@ export const collectionActionSet: ContextMenuActionSet = [[
     },
     {
         component: ToggleTrashAction,
-        execute: (dispatch, resource) => dispatch<any>(toggleCollectionTrashed(resource.uuid, resource.isTrashed!!))
+        execute: (dispatch, resource) => {
+            dispatch<any>(toggleCollectionTrashed(resource.uuid, resource.isTrashed!!));
+        }
     },
     {
         icon: CopyIcon,
         name: "Copy to project",
-        execute: (dispatch, resource) => dispatch<any>(openCollectionCopyDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openCollectionCopyDialog(resource));
+        }
 
     },
     {
         icon: DetailsIcon,
         name: "View details",
-        execute: dispatch => dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL())
+        execute: dispatch => {
+            dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
+        }
     },
     {
         icon: ProvenanceGraphIcon,
@@ -66,7 +74,9 @@ export const collectionActionSet: ContextMenuActionSet = [[
     {
         icon: AdvancedIcon,
         name: "Advanced",
-        execute: (dispatch, resource) => dispatch<any>(openAdvancedTabDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openAdvancedTabDialog(resource.uuid));
+        }
     },
     {
         icon: RemoveIcon,
diff --git a/src/views-components/context-menu/action-sets/collection-files-action-set.ts b/src/views-components/context-menu/action-sets/collection-files-action-set.ts
index c86f1d7..6029eec 100644
--- a/src/views-components/context-menu/action-sets/collection-files-action-set.ts
+++ b/src/views-components/context-menu/action-sets/collection-files-action-set.ts
@@ -8,17 +8,25 @@ import { openCollectionPartialCopyDialog } from '~/store/collections/collection-
 
 export const collectionFilesActionSet: ContextMenuActionSet = [[{
     name: "Select all",
-    execute: dispatch => dispatch(collectionPanelFilesAction.SELECT_ALL_COLLECTION_FILES())
+    execute: dispatch => {
+        dispatch(collectionPanelFilesAction.SELECT_ALL_COLLECTION_FILES());
+    }
 }, {
     name: "Unselect all",
-    execute: dispatch => dispatch(collectionPanelFilesAction.UNSELECT_ALL_COLLECTION_FILES())
+    execute: dispatch => {
+        dispatch(collectionPanelFilesAction.UNSELECT_ALL_COLLECTION_FILES());
+    }
 }, {
     name: "Remove selected",
-    execute: dispatch => dispatch(openMultipleFilesRemoveDialog())
+    execute: dispatch => {
+        dispatch(openMultipleFilesRemoveDialog());
+    }
 }, {
     name: "Download selected",
     execute: () => { return; }
 }, {
     name: "Create a new collection with selected",
-    execute: dispatch => dispatch<any>(openCollectionPartialCopyDialog())
+    execute: dispatch => { 
+        dispatch<any>(openCollectionPartialCopyDialog());
+    }
 }]];
diff --git a/src/views-components/context-menu/action-sets/collection-files-item-action-set.ts b/src/views-components/context-menu/action-sets/collection-files-item-action-set.ts
index 2baa524..b556489 100644
--- a/src/views-components/context-menu/action-sets/collection-files-item-action-set.ts
+++ b/src/views-components/context-menu/action-sets/collection-files-item-action-set.ts
@@ -11,12 +11,16 @@ import { openFileRemoveDialog, openRenameFileDialog } from '~/store/collection-p
 export const collectionFilesItemActionSet: ContextMenuActionSet = [[{
     name: "Rename",
     icon: RenameIcon,
-    execute: (dispatch, resource) => dispatch<any>(openRenameFileDialog({ name: resource.name, id: resource.uuid }))
+    execute: (dispatch, resource) => {
+        dispatch<any>(openRenameFileDialog({ name: resource.name, id: resource.uuid }));
+    }
 }, {
     component: DownloadCollectionFileAction,
     execute: () => { return; }
 }, {
     name: "Remove",
     icon: RemoveIcon,
-    execute: (dispatch, resource) => dispatch<any>(openFileRemoveDialog(resource.uuid))
+    execute: (dispatch, resource) => {
+        dispatch<any>(openFileRemoveDialog(resource.uuid));
+    }
 }]];
diff --git a/src/views-components/context-menu/action-sets/collection-resource-action-set.ts b/src/views-components/context-menu/action-sets/collection-resource-action-set.ts
index c54d40e..565a7d0 100644
--- a/src/views-components/context-menu/action-sets/collection-resource-action-set.ts
+++ b/src/views-components/context-menu/action-sets/collection-resource-action-set.ts
@@ -18,7 +18,9 @@ export const collectionResourceActionSet: ContextMenuActionSet = [[
     {
         icon: RenameIcon,
         name: "Edit collection",
-        execute: (dispatch, resource) => dispatch<any>(openCollectionUpdateDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openCollectionUpdateDialog(resource));
+        }
     },
     {
         icon: ShareIcon,
@@ -30,7 +32,9 @@ export const collectionResourceActionSet: ContextMenuActionSet = [[
     {
         icon: MoveToIcon,
         name: "Move to",
-        execute: (dispatch, resource) => dispatch<any>(openMoveCollectionDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openMoveCollectionDialog(resource));
+        }
     },
     {
         component: ToggleFavoriteAction,
@@ -42,17 +46,23 @@ export const collectionResourceActionSet: ContextMenuActionSet = [[
     },
     {
         component: ToggleTrashAction,
-        execute: (dispatch, resource) => dispatch<any>(toggleCollectionTrashed(resource.uuid, resource.isTrashed!!))
+        execute: (dispatch, resource) => {
+            dispatch<any>(toggleCollectionTrashed(resource.uuid, resource.isTrashed!!));
+        }
     },
     {
         icon: CopyIcon,
         name: "Copy to project",
-        execute: (dispatch, resource) => dispatch<any>(openCollectionCopyDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openCollectionCopyDialog(resource));
+        }
     },
     {
         icon: DetailsIcon,
         name: "View details",
-        execute: dispatch => dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL())
+        execute: dispatch => {
+            dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
+        }
     },
     {
         icon: RemoveIcon,
diff --git a/src/views-components/context-menu/action-sets/process-action-set.ts b/src/views-components/context-menu/action-sets/process-action-set.ts
index 9447567..d41b59d 100644
--- a/src/views-components/context-menu/action-sets/process-action-set.ts
+++ b/src/views-components/context-menu/action-sets/process-action-set.ts
@@ -22,7 +22,9 @@ export const processActionSet: ContextMenuActionSet = [[
     {
         icon: RenameIcon,
         name: "Edit process",
-        execute: (dispatch, resource) => dispatch<any>(openProcessUpdateDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openProcessUpdateDialog(resource));
+        }
     },
     {
         icon: ShareIcon,
@@ -34,7 +36,9 @@ export const processActionSet: ContextMenuActionSet = [[
     {
         icon: MoveToIcon,
         name: "Move to",
-        execute: (dispatch, resource) => dispatch<any>(openMoveProcessDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openMoveProcessDialog(resource));
+        }
     },
     {
         component: ToggleFavoriteAction,
@@ -47,7 +51,9 @@ export const processActionSet: ContextMenuActionSet = [[
     {
         icon: CopyIcon,
         name: "Copy to project",
-        execute: (dispatch, resource) => dispatch<any>(openCopyProcessDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openCopyProcessDialog(resource));
+        }
     },
     {
         icon: ReRunProcessIcon,
@@ -73,17 +79,23 @@ export const processActionSet: ContextMenuActionSet = [[
     {
         icon: CommandIcon,
         name: "Command",
-        execute: (dispatch, resource) => dispatch<any>(openProcessCommandDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openProcessCommandDialog(resource.uuid));
+        }
     },
     {
         icon: DetailsIcon,
         name: "View details",
-        execute: dispatch => dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL())
+        execute: dispatch => {
+            dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
+        }
     },
     {
         icon: LogIcon,
         name: "Log",
-        execute: (dispatch, resource) => dispatch<any>(navigateToProcessLogs(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(navigateToProcessLogs(resource.uuid));
+        }
     },
     {
         icon: ProvenanceGraphIcon,
@@ -95,7 +107,9 @@ export const processActionSet: ContextMenuActionSet = [[
     {
         icon: AdvancedIcon,
         name: "Advanced",
-        execute: (dispatch, resource) => dispatch<any>(openAdvancedTabDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openAdvancedTabDialog(resource.uuid));
+        }
     },
     {
         icon: RemoveIcon,
diff --git a/src/views-components/context-menu/action-sets/process-resource-action-set.ts b/src/views-components/context-menu/action-sets/process-resource-action-set.ts
index a446dc8..6f3efc3 100644
--- a/src/views-components/context-menu/action-sets/process-resource-action-set.ts
+++ b/src/views-components/context-menu/action-sets/process-resource-action-set.ts
@@ -16,7 +16,9 @@ export const processResourceActionSet: ContextMenuActionSet = [[
     {
         icon: RenameIcon,
         name: "Edit process",
-        execute: (dispatch, resource) => dispatch<any>(openProcessUpdateDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openProcessUpdateDialog(resource));
+        }
     },
     {
         icon: ShareIcon,
@@ -28,7 +30,9 @@ export const processResourceActionSet: ContextMenuActionSet = [[
     {
         icon: MoveToIcon,
         name: "Move to",
-        execute: (dispatch, resource) => dispatch<any>(openMoveProcessDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openMoveProcessDialog(resource));
+        }
     },
     {
         component: ToggleFavoriteAction,
@@ -41,12 +45,16 @@ export const processResourceActionSet: ContextMenuActionSet = [[
     {
         icon: CopyIcon,
         name: "Copy to project",
-        execute: (dispatch, resource) => dispatch<any>(openCopyProcessDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openCopyProcessDialog(resource));
+        }
     },
     {
         icon: DetailsIcon,
         name: "View details",
-        execute: dispatch => dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL())
+        execute: dispatch => {
+            dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
+        }
     },
     {
         icon: RemoveIcon,
diff --git a/src/views-components/context-menu/action-sets/project-action-set.ts b/src/views-components/context-menu/action-sets/project-action-set.ts
index cc57a3f..7171c0a 100644
--- a/src/views-components/context-menu/action-sets/project-action-set.ts
+++ b/src/views-components/context-menu/action-sets/project-action-set.ts
@@ -19,12 +19,16 @@ export const projectActionSet: ContextMenuActionSet = [[
     {
         icon: NewProjectIcon,
         name: "New project",
-        execute: (dispatch, resource) => dispatch<any>(openProjectCreateDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openProjectCreateDialog(resource.uuid));
+        }
     },
     {
         icon: RenameIcon,
         name: "Edit project",
-        execute: (dispatch, resource) => dispatch<any>(openProjectUpdateDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openProjectUpdateDialog(resource));
+        }
     },
     {
         component: ToggleFavoriteAction,
@@ -36,12 +40,16 @@ export const projectActionSet: ContextMenuActionSet = [[
     },
     {
         component: ToggleTrashAction,
-        execute: (dispatch, resource) => dispatch<any>(toggleProjectTrashed(resource.uuid, resource.ownerUuid, resource.isTrashed!!))
+        execute: (dispatch, resource) => {
+            dispatch<any>(toggleProjectTrashed(resource.uuid, resource.ownerUuid, resource.isTrashed!!));
+        }
     },
     {
         icon: MoveToIcon,
         name: "Move to",
-        execute: (dispatch, resource) => dispatch<any>(openMoveProjectDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openMoveProjectDialog(resource));
+        }
     },
     {
         icon: CopyIcon,
@@ -53,11 +61,15 @@ export const projectActionSet: ContextMenuActionSet = [[
     {
         icon: DetailsIcon,
         name: "View details",
-        execute: dispatch => dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL())
+        execute: dispatch => {
+            dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
+        }
     },
     {
         icon: AdvancedIcon,
         name: "Advanced",
-        execute: (dispatch, resource) => dispatch<any>(openAdvancedTabDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openAdvancedTabDialog(resource.uuid));
+        }
     },
 ]];
diff --git a/src/views-components/context-menu/action-sets/root-project-action-set.ts b/src/views-components/context-menu/action-sets/root-project-action-set.ts
index d80fc9d..386c516 100644
--- a/src/views-components/context-menu/action-sets/root-project-action-set.ts
+++ b/src/views-components/context-menu/action-sets/root-project-action-set.ts
@@ -11,11 +11,15 @@ export const rootProjectActionSet: ContextMenuActionSet =  [[
     {
         icon: NewProjectIcon,
         name: "New project",
-        execute: (dispatch, resource) =>  dispatch<any>(openProjectCreateDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openProjectCreateDialog(resource.uuid));
+        }
     },
     {
         icon: CollectionIcon,
         name: "New Collection",
-        execute: (dispatch, resource) => dispatch<any>(openCollectionCreateDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openCollectionCreateDialog(resource.uuid));
+        }
     }
 ]];
diff --git a/src/views-components/context-menu/action-sets/trash-action-set.ts b/src/views-components/context-menu/action-sets/trash-action-set.ts
index f81a995..fafd5fe 100644
--- a/src/views-components/context-menu/action-sets/trash-action-set.ts
+++ b/src/views-components/context-menu/action-sets/trash-action-set.ts
@@ -9,6 +9,8 @@ import { toggleTrashed } from "~/store/trash/trash-actions";
 export const trashActionSet: ContextMenuActionSet = [[
     {
         component: ToggleTrashAction,
-        execute: (dispatch, resource) => dispatch<any>(toggleTrashed(resource.kind, resource.uuid, resource.ownerUuid, resource.isTrashed!!))
+        execute: (dispatch, resource) => {
+            dispatch<any>(toggleTrashed(resource.kind, resource.uuid, resource.ownerUuid, resource.isTrashed!!));
+        }
     },
 ]];
diff --git a/src/views-components/context-menu/action-sets/trashed-collection-action-set.ts b/src/views-components/context-menu/action-sets/trashed-collection-action-set.ts
index e11228b..1f91d7e 100644
--- a/src/views-components/context-menu/action-sets/trashed-collection-action-set.ts
+++ b/src/views-components/context-menu/action-sets/trashed-collection-action-set.ts
@@ -12,7 +12,9 @@ export const trashedCollectionActionSet: ContextMenuActionSet = [[
     {
         icon: DetailsIcon,
         name: "View details",
-        execute: dispatch => dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL())
+        execute: dispatch => {
+            dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
+        }
     },
     {
         icon: ProvenanceGraphIcon,
@@ -24,11 +26,15 @@ export const trashedCollectionActionSet: ContextMenuActionSet = [[
     {
         icon: AdvancedIcon,
         name: "Advanced",
-        execute: (dispatch, resource) => dispatch<any>(openAdvancedTabDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openAdvancedTabDialog(resource.uuid));
+        }
     },
     {
         icon: RestoreFromTrashIcon,
         name: "Restore",
-        execute: (dispatch, resource) => dispatch<any>(toggleCollectionTrashed(resource.uuid, true))
+        execute: (dispatch, resource) => {
+            dispatch<any>(toggleCollectionTrashed(resource.uuid, true));
+        }
     },
 ]];

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list