[arvados] updated: 2.7.0-5673-g8bd95ffbdc

git repository hosting git at public.arvados.org
Fri Dec 22 16:14:16 UTC 2023


Summary of changes:
 services/workbench2/src/views-components/data-explorer/renderers.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

       via  8bd95ffbdc79c4d6874b33e2f4c6a811285087fe (commit)
       via  4051ef83283239b8990a1308b0bc081af15ba426 (commit)
       via  db70ee7d6c518bad725f4d84ea586a3e420733fe (commit)
      from  bb3aaf6285973dc17afaa1fbea1146425ef2dd3b (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 8bd95ffbdc79c4d6874b33e2f4c6a811285087fe
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Fri Dec 22 11:14:10 2023 -0500

    21200: select user always goes to profile page Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/views-components/data-explorer/renderers.tsx b/services/workbench2/src/views-components/data-explorer/renderers.tsx
index cbea3db94c..9e898b28e7 100644
--- a/services/workbench2/src/views-components/data-explorer/renderers.tsx
+++ b/services/workbench2/src/views-components/data-explorer/renderers.tsx
@@ -53,7 +53,6 @@ import { VirtualMachinesResource } from "models/virtual-machines";
 import { CopyToClipboardSnackbar } from "components/copy-to-clipboard-snackbar/copy-to-clipboard-snackbar";
 import { ProjectResource } from "models/project";
 import { ProcessResource } from "models/process";
-import { setBreadcrumbs } from "store/breadcrumbs/breadcrumbs-actions";
 
 const renderName = (dispatch: Dispatch, item: GroupContentsResource) => {
     const navFunc = "groupClass" in item && item.groupClass === GroupClass.ROLE ? navigateToGroupDetails : navigateTo;
@@ -515,7 +514,7 @@ const getResourceDisplayName = (resource: Resource): string => {
 
 const renderResourceLink = (dispatch: Dispatch, item: Resource ) => {
     var displayName = getResourceDisplayName(item);
-console.log(displayName, item)
+
     return (
         <Typography
             noWrap

commit 4051ef83283239b8990a1308b0bc081af15ba426
Merge: db70ee7d6c bb3aaf6285
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Fri Dec 22 11:10:18 2023 -0500

    21200: rebase Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>


commit db70ee7d6c518bad725f4d84ea586a3e420733fe
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Fri Dec 22 10:54:52 2023 -0500

    21200: select user always goes to profile page Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/views-components/data-explorer/renderers.tsx b/services/workbench2/src/views-components/data-explorer/renderers.tsx
index 0e0db4b8f0..cbea3db94c 100644
--- a/services/workbench2/src/views-components/data-explorer/renderers.tsx
+++ b/services/workbench2/src/views-components/data-explorer/renderers.tsx
@@ -513,9 +513,9 @@ const getResourceDisplayName = (resource: Resource): string => {
     }
 };
 
-const renderResourceLink = (dispatch: Dispatch, item: Resource, userUuid: string = '', breadcrumbs: any[] = []) => {
+const renderResourceLink = (dispatch: Dispatch, item: Resource ) => {
     var displayName = getResourceDisplayName(item);
-
+console.log(displayName, item)
     return (
         <Typography
             noWrap
@@ -524,9 +524,9 @@ const renderResourceLink = (dispatch: Dispatch, item: Resource, userUuid: string
             onClick={() => {
                 item.kind === ResourceKind.GROUP && (item as GroupResource).groupClass === "role"
                     ? dispatch<any>(navigateToGroupDetails(item.uuid))
+                    : item.kind === ResourceKind.USER 
+                    ? dispatch<any>(navigateToUserProfile(item.uuid))
                     : dispatch<any>(navigateTo(item.uuid)); 
-                //don't add breadcrumb when navigating to 'Home Projects'
-                if (item.uuid !== userUuid) setBreadcrumbs(breadcrumbs, item as any);
             }}
         >
             {resourceLabel(item.kind, item && item.kind === ResourceKind.GROUP ? (item as GroupResource).groupClass || "" : "")}:{" "}
@@ -542,10 +542,8 @@ export const ResourceLinkTail = connect((state: RootState, props: { uuid: string
 
     return {
         item: tailResource || { uuid: resource?.tailUuid || "", kind: resource?.tailKind || ResourceKind.NONE },
-        breadcrumbs: state.properties.breadcrumbs || [],
-        userUuid
     };
-})((props: { item: Resource, userUuid: string, breadcrumbs: any[] } & DispatchProp<any>) => renderResourceLink(props.dispatch, props.item, props.userUuid, props.breadcrumbs));
+})((props: { item: Resource } & DispatchProp<any>) => renderResourceLink(props.dispatch, props.item));
 
 export const ResourceLinkHead = connect((state: RootState, props: { uuid: string }) => {
     const resource = getResource<LinkResource>(props.uuid)(state.resources);

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list