[arvados] updated: 2.7.0-6293-gccf8e339aa

git repository hosting git at public.arvados.org
Tue Apr 9 17:10:33 UTC 2024


Summary of changes:
 .../sharing-dialog/permission-select.tsx           |  1 +
 .../sharing-invitation-form-component.tsx          | 28 ++--------------------
 2 files changed, 3 insertions(+), 26 deletions(-)

       via  ccf8e339aa90742cc9e45e35baa6825695fc90ca (commit)
      from  716f55edbae8b8a16e2479e1f0e75619567df051 (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 ccf8e339aa90742cc9e45e35baa6825695fc90ca
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Tue Apr 9 13:10:27 2024 -0400

    21313: removed underline from permissions select Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/views-components/sharing-dialog/permission-select.tsx b/services/workbench2/src/views-components/sharing-dialog/permission-select.tsx
index 3c4471f648..5201ba00d5 100644
--- a/services/workbench2/src/views-components/sharing-dialog/permission-select.tsx
+++ b/services/workbench2/src/views-components/sharing-dialog/permission-select.tsx
@@ -47,6 +47,7 @@ export const formatPermissionLevel = (value: PermissionLevel) => {
 export const PermissionSelect = (props: SelectProps) =>
     <Select
         {...props}
+        disableUnderline
         renderValue={renderPermissionItem}>
         <MenuItem value={PermissionSelectValue.READ}>
             {renderPermissionItem(PermissionSelectValue.READ)}
diff --git a/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form-component.tsx b/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form-component.tsx
index ca1a83d9c0..81fa557e4e 100644
--- a/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form-component.tsx
+++ b/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form-component.tsx
@@ -4,43 +4,19 @@
 
 import React from 'react';
 import { Field, WrappedFieldProps, FieldArray, WrappedFieldArrayProps } from 'redux-form';
-import { Grid, FormControl, InputLabel, Tooltip, IconButton, StyleRulesCallback, Typography } from '@material-ui/core';
+import { Grid, FormControl, InputLabel, StyleRulesCallback, Divider } from '@material-ui/core';
 import { PermissionSelect, parsePermissionLevel, formatPermissionLevel } from './permission-select';
 import { ParticipantSelect, Participant } from './participant-select';
-import { AddIcon } from 'components/icon/icon';
 import { WithStyles } from '@material-ui/core/styles';
 import withStyles from '@material-ui/core/styles/withStyles';
 import { ArvadosTheme } from 'common/custom-theme';
 
-type SharingStyles = 'root' | 'addButtonRoot' | 'addButtonPrimary' | 'addButtonDisabled' | 'shareWarning' ;
+type SharingStyles = 'root';
 
 const styles: StyleRulesCallback<SharingStyles> = (theme: ArvadosTheme) => ({
     root: {
         padding: `${theme.spacing.unit}px 0`,
     },
-    addButtonRoot: {
-        height: "36px",
-        width: "36px",
-        marginRight: "6px",
-        marginLeft: "6px",
-        marginTop: "12px",
-    },
-    addButtonPrimary: {
-        color: theme.palette.primary.contrastText,
-        background: theme.palette.primary.main,
-        "&:hover": {
-            background: theme.palette.primary.dark,
-        }
-    },
-    addButtonDisabled: {
-        background: 'none',
-    },
-    shareWarning: {
-        color: theme.palette.error.main,
-        marginTop: '-1.1rem',
-        marginBottom: 0,
-        fontSize: '0.75rem',
-    },
 });
 
 const SharingInvitationFormComponent = (props: { onSave: () => void, saveEnabled: boolean }) => <StyledSharingInvitationFormComponent onSave={props.onSave} saveEnabled={props.saveEnabled} />

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list