Merge branch '14148-add-new-icons'
[arvados-workbench2.git] / src / views-components / context-menu / action-sets / process-action-set.ts
index 1d94170bab893483c1dab31388361ec29f53c01d..2897455bc4f2b2479e55f52c91729ab13cd5b995 100644 (file)
@@ -7,9 +7,10 @@ import { ToggleFavoriteAction } from "../actions/favorite-action";
 import { toggleFavorite } from "~/store/favorites/favorites-actions";
 import {
     RenameIcon, ShareIcon, MoveToIcon, CopyIcon, DetailsIcon, ProvenanceGraphIcon,
-    AdvancedIcon, RemoveIcon, ReRunProcessIcon, LogIcon
+    AdvancedIcon, RemoveIcon, ReRunProcessIcon, LogIcon, InputIcon, CommandIcon, OutputIcon
 } from "~/components/icon/icon";
 import { favoritePanelActions } from "~/store/favorite-panel/favorite-panel-action";
+import { navigateToProcessLogs } from '~/store/navigation/navigation-action';
 
 export const processActionSet: ContextMenuActionSet = [[
     {
@@ -55,6 +56,27 @@ export const processActionSet: ContextMenuActionSet = [[
             // add code
         }
     },
+    {
+        icon: InputIcon,
+        name: "Inputs",
+        execute: (dispatch, resource) => {
+            // add code
+        }
+    },
+    {
+        icon: OutputIcon,
+        name: "Outputs",
+        execute: (dispatch, resource) => {
+            // add code
+        }
+    },
+    {
+        icon: CommandIcon,
+        name: "Command",
+        execute: (dispatch, resource) => {
+            // add code
+        }
+    },
     {
         icon: DetailsIcon,
         name: "View details",
@@ -66,7 +88,7 @@ export const processActionSet: ContextMenuActionSet = [[
         icon: LogIcon,
         name: "Log",
         execute: (dispatch, resource) => {
-            // add code
+            dispatch<any>(navigateToProcessLogs(resource.uuid));
         }
     },
     {