[arvados-workbench2] updated: 2.4.0-349-g88b93fd1

git repository hosting git at public.arvados.org
Mon Nov 14 18:38:20 UTC 2022


Summary of changes:
 src/views/user-panel/user-panel.tsx | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

       via  88b93fd119eecca0247a9bb5a6fe14015d582826 (commit)
       via  8ad4378f87714aa21f614b4a9414e8c794d7b006 (commit)
      from  1b1b93efdc7ae33d33d63302583b59c6900d7c7a (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 88b93fd119eecca0247a9bb5a6fe14015d582826
Merge: 1b1b93ef 8ad4378f
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Mon Nov 14 13:38:08 2022 -0500

    Merge branch '19627-add-user' refs #19627
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>


commit 8ad4378f87714aa21f614b4a9414e8c794d7b006
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Fri Oct 28 11:11:50 2022 -0400

    19627: Remove the "Add user" button, put a note in its place
    
    Reverse Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/src/views/user-panel/user-panel.tsx b/src/views/user-panel/user-panel.tsx
index f2491dc2..8849c126 100644
--- a/src/views/user-panel/user-panel.tsx
+++ b/src/views/user-panel/user-panel.tsx
@@ -3,7 +3,7 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import React from 'react';
-import { WithStyles, withStyles, Paper, Button, Grid } from '@material-ui/core';
+import { WithStyles, withStyles, Paper, Typography } from '@material-ui/core';
 import { DataExplorer } from "views-components/data-explorer/data-explorer";
 import { connect, DispatchProp } from 'react-redux';
 import { DataColumns } from 'components/data-table/data-table';
@@ -23,7 +23,7 @@ import { navigateToUserProfile } from "store/navigation/navigation-action";
 import { createTree } from 'models/tree';
 import { compose, Dispatch } from 'redux';
 import { UserResource } from 'models/user';
-import { ShareMeIcon, AddIcon } from 'components/icon/icon';
+import { ShareMeIcon } from 'components/icon/icon';
 import { USERS_PANEL_ID, openUserCreateDialog } from 'store/users/users-actions';
 import { noop } from 'lodash';
 
@@ -132,18 +132,20 @@ export const UserPanel = compose(
                 return <Paper className={this.props.classes.root}>
                     <DataExplorer
                         id={USERS_PANEL_ID}
+                        title={
+                            <>
+                                <Typography>
+                                    User records are created automatically on first log in.
+                                </Typography>
+                                <Typography>
+                                    To add a new user, add them to your configured log in provider.
+                                </Typography>
+                            </>}
                         onRowClick={noop}
                         onRowDoubleClick={noop}
                         onContextMenu={this.handleContextMenu}
                         contextMenuColumn={true}
                         hideColumnSelector
-                        actions={
-                            <Grid container justify='flex-end'>
-                                <Button variant="contained" color="primary" onClick={this.props.openUserCreateDialog}>
-                                    <AddIcon /> NEW USER
-                                </Button>
-                            </Grid>
-                        }
                         paperProps={{
                             elevation: 0,
                         }}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list