[arvados-workbench2] updated: 2.7.0-227-g4d3c5f58

git repository hosting git at public.arvados.org
Thu Nov 9 16:12:07 UTC 2023


Summary of changes:
 src/store/navigation/navigation-action.ts            | 3 +++
 src/store/side-panel-tree/side-panel-tree-actions.ts | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

       via  4d3c5f5861ea4c1d5e8491517806651cdfeab57f (commit)
      from  21be228d6b3f99b6c27b2a2a0fd1cc9c46ce6cfb (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 4d3c5f5861ea4c1d5e8491517806651cdfeab57f
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Thu Nov 9 11:12:01 2023 -0500

    19302: tree nav to virtual machines works Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/src/store/navigation/navigation-action.ts b/src/store/navigation/navigation-action.ts
index 61720b56..55112fb0 100644
--- a/src/store/navigation/navigation-action.ts
+++ b/src/store/navigation/navigation-action.ts
@@ -69,6 +69,9 @@ export const navigateTo = (uuid: string) => async (dispatch: Dispatch, getState:
         case SidePanelTreeCategory.ALL_PROCESSES:
             dispatch(navigateToAllProcesses);
             return;
+        case SidePanelTreeCategory.SHELL_ACCESS:
+            dispatch(navigateToUserVirtualMachines)
+            return;
         case USERS_PANEL_LABEL:
             dispatch(navigateToUsers);
             return;
diff --git a/src/store/side-panel-tree/side-panel-tree-actions.ts b/src/store/side-panel-tree/side-panel-tree-actions.ts
index 0abea951..91c19d4e 100644
--- a/src/store/side-panel-tree/side-panel-tree-actions.ts
+++ b/src/store/side-panel-tree/side-panel-tree-actions.ts
@@ -24,7 +24,7 @@ export enum SidePanelTreeCategory {
     PUBLIC_FAVORITES = 'Public Favorites',
     SHARED_WITH_ME = 'Shared with me',
     ALL_PROCESSES = 'All Processes',
-    SHELL_ACCESS = 'Shell access',
+    SHELL_ACCESS = 'Shell Access',
     GROUPS = 'Groups',
     TRASH = 'Trash',
 }
@@ -188,9 +188,9 @@ export const activateSidePanelTreeItem = (id: string) =>
     async (dispatch: Dispatch, getState: () => RootState) => {
         const node = getSidePanelTreeNode(id)(getState().treePicker);
         if (node && !node.active) {
-            dispatch(treePickerActions.ACTIVATE_TREE_PICKER_NODE({ id, pickerId: SIDE_PANEL_TREE }));
-        }
-        if (!isSidePanelTreeCategory(id)) {
+        dispatch(treePickerActions.ACTIVATE_TREE_PICKER_NODE({ id, pickerId: SIDE_PANEL_TREE }));
+    }
+    if (!isSidePanelTreeCategory(id)) {
             await dispatch<any>(activateSidePanelTreeProject(id));
         }
     };

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list