[ARVADOS-WORKBENCH2] updated: 1.3.0-169-g7828a0aa

Git user git at public.curoverse.com
Mon Dec 17 09:46:25 EST 2018


Summary of changes:
 src/views-components/main-app-bar/account-menu.tsx | 3 ++-
 src/views/groups-panel/groups-panel.tsx            | 2 --
 2 files changed, 2 insertions(+), 3 deletions(-)

       via  7828a0aa1d5bf4e077a2151380494ebd4e1f1e81 (commit)
       via  80dbbf9199dd7019b22eaadf18112abf1eee1cd7 (commit)
      from  47b1e9b2fa97d03438d4ef35f90a5fd0a33bbe34 (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 7828a0aa1d5bf4e077a2151380494ebd4e1f1e81
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date:   Mon Dec 17 15:46:06 2018 +0100

    Clean up group-panel imports
    
    Feature #14505
    
    Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>

diff --git a/src/views/groups-panel/groups-panel.tsx b/src/views/groups-panel/groups-panel.tsx
index 8fa47f71..f50a344b 100644
--- a/src/views/groups-panel/groups-panel.tsx
+++ b/src/views/groups-panel/groups-panel.tsx
@@ -5,7 +5,6 @@
 import * as React from 'react';
 import { connect } from 'react-redux';
 import { Grid, Button, Typography } from "@material-ui/core";
-
 import { DataExplorer } from "~/views-components/data-explorer/data-explorer";
 import { DataColumns } from '~/components/data-table/data-table';
 import { SortDirection } from '~/components/data-table/data-column';
@@ -19,7 +18,6 @@ import { ContextMenuKind } from '~/views-components/context-menu/context-menu';
 import { getResource, ResourcesState, filterResources } from '~/store/resources/resources';
 import { GroupResource } from '~/models/group';
 import { RootState } from '~/store/store';
-import { Dispatch } from 'redux';
 import { openContextMenu } from '~/store/context-menu/context-menu-actions';
 import { ResourceKind } from '~/models/resource';
 import { LinkClass, LinkResource } from '~/models/link';

commit 80dbbf9199dd7019b22eaadf18112abf1eee1cd7
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date:   Mon Dec 17 15:45:04 2018 +0100

    Restore repositories link to account menu
    
    Feature #14505
    
    Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>

diff --git a/src/views-components/main-app-bar/account-menu.tsx b/src/views-components/main-app-bar/account-menu.tsx
index 028116ea..ec95e38a 100644
--- a/src/views-components/main-app-bar/account-menu.tsx
+++ b/src/views-components/main-app-bar/account-menu.tsx
@@ -11,9 +11,9 @@ import { DispatchProp, connect } from 'react-redux';
 import { logout } from '~/store/auth/auth-action';
 import { RootState } from "~/store/store";
 import { openCurrentTokenDialog } from '~/store/current-token-dialog/current-token-dialog-actions';
-import { navigateToUsers } from '~/store/navigation/navigation-action';
 import { navigateToSshKeysUser, navigateToMyAccount } from '~/store/navigation/navigation-action';
 import { openUserVirtualMachines } from "~/store/virtual-machines/virtual-machines-actions";
+import { openRepositoriesPanel } from '~/store/repositories/repositories-actions';
 
 interface AccountMenuProps {
     user?: User;
@@ -34,6 +34,7 @@ export const AccountMenu = connect(mapStateToProps)(
                     {getUserFullname(user)}
                 </MenuItem>
                 <MenuItem onClick={() => dispatch(openUserVirtualMachines())}>Virtual Machines</MenuItem>
+                {!user.isAdmin && <MenuItem onClick={() => dispatch(openRepositoriesPanel())}>Repositories</MenuItem>}
                 <MenuItem onClick={() => dispatch(openCurrentTokenDialog)}>Current token</MenuItem>
                 <MenuItem onClick={() => dispatch(navigateToSshKeysUser)}>Ssh Keys</MenuItem>
                 <MenuItem onClick={() => dispatch(navigateToMyAccount)}>My account</MenuItem>

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list