[arvados] updated: 2.7.0-6105-g9ef83bc1a6

git repository hosting git at public.arvados.org
Tue Mar 5 16:59:25 UTC 2024


Summary of changes:
 services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts | 1 -
 services/workbench2/src/store/navigation/navigation-action.ts    | 1 -
 services/workbench2/src/store/workbench/workbench-actions.ts     | 6 +-----
 3 files changed, 1 insertion(+), 7 deletions(-)

       via  9ef83bc1a6a2258258096759d079381a1e1a1c5c (commit)
      from  bea6758a63d13f7829bdf68f6c9cbcfa76c2f210 (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 9ef83bc1a6a2258258096759d079381a1e1a1c5c
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Tue Mar 5 11:59:21 2024 -0500

    21412: fixed nav to aonther user root project Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts b/services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts
index 067d79766f..c3f7d8f531 100644
--- a/services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts
+++ b/services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts
@@ -277,7 +277,6 @@ export const setUserProfileBreadcrumbs = (userUuid: string) =>
         try {
             const user = getResource<UserResource>(userUuid)(getState().resources)
                 || await services.userService.get(userUuid, false);
-            const currentCrumbs = getState().properties.breadcrumbs as Breadcrumb[] || [];
             const userProfileBreadcrumbs: Breadcrumb[] = [
                 { label: USERS_PANEL_LABEL, uuid: USERS_PANEL_LABEL },
                 { label: user ? `${user.firstName} ${user.lastName}` : userUuid, uuid: userUuid },
diff --git a/services/workbench2/src/store/navigation/navigation-action.ts b/services/workbench2/src/store/navigation/navigation-action.ts
index 82598e288c..e797dcf7ab 100644
--- a/services/workbench2/src/store/navigation/navigation-action.ts
+++ b/services/workbench2/src/store/navigation/navigation-action.ts
@@ -40,7 +40,6 @@ export const navigateTo = (uuid: string) => async (dispatch: Dispatch, getState:
             return;
         case ResourceKind.WORKFLOW:
             dispatch<any>(pushOrGoto(getNavUrl(uuid, getState().auth)));
-            // dispatch<any>(openDetailsPanel(uuid));
             return;
     }
 
diff --git a/services/workbench2/src/store/workbench/workbench-actions.ts b/services/workbench2/src/store/workbench/workbench-actions.ts
index 83c51f978a..83c457f94d 100644
--- a/services/workbench2/src/store/workbench/workbench-actions.ts
+++ b/services/workbench2/src/store/workbench/workbench-actions.ts
@@ -105,7 +105,6 @@ import { deselectOne } from "store/multiselect/multiselect-actions";
 import { treePickerActions } from "store/tree-picker/tree-picker-actions";
 import { workflowProcessesPanelColumns } from "views/workflow-panel/workflow-processes-panel-root";
 import { workflowProcessesPanelActions } from "store/workflow-panel/workflow-panel-actions";
-import { Breadcrumb } from "components/breadcrumbs/breadcrumbs";
 
 export const WORKBENCH_LOADING_SCREEN = "workbenchLoadingScreen";
 
@@ -248,10 +247,7 @@ export const loadProject = (uuid: string) =>
             if (extractUuidKind(uuid) === ResourceKind.USER && userUuid !== uuid) {
                 // Load another users home projects
                 dispatch(finishLoadingProject(uuid));
-                const prevBreadcrumbs = getState().properties.breadcrumbs as Breadcrumb[] || [];
-                if (prevBreadcrumbs.length === 0) {
-                    dispatch<any>(setSidePanelBreadcrumbs(uuid));
-                }
+                dispatch<any>(setSidePanelBreadcrumbs(uuid));
             } else if (userUuid !== uuid) {
                 await dispatch(finishLoadingProject(uuid));
                 const match = await loadGroupContentsResource({

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list