[arvados-workbench2] updated: 2.7.0-259-g25c3b17a

git repository hosting git at public.arvados.org
Mon Dec 18 16:33:23 UTC 2023


Summary of changes:
 .../copy-to-clipboard-snackbar/copy-to-clipboard-snackbar.tsx        | 2 +-
 src/components/data-explorer/data-explorer.tsx                       | 5 ++++-
 src/views-components/data-explorer/renderers.tsx                     | 5 ++++-
 3 files changed, 9 insertions(+), 3 deletions(-)

       via  25c3b17ad0dc0e70b48911c5a818bbcf6851352e (commit)
      from  7cecf0e11177b410341113726ed3cee282da8004 (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 25c3b17ad0dc0e70b48911c5a818bbcf6851352e
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Mon Dec 18 11:33:19 2023 -0500

    21128: fixed unwanted rowselects on other operational clicks Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/src/components/copy-to-clipboard-snackbar/copy-to-clipboard-snackbar.tsx b/src/components/copy-to-clipboard-snackbar/copy-to-clipboard-snackbar.tsx
index 586bb13b..3ef483df 100644
--- a/src/components/copy-to-clipboard-snackbar/copy-to-clipboard-snackbar.tsx
+++ b/src/components/copy-to-clipboard-snackbar/copy-to-clipboard-snackbar.tsx
@@ -48,7 +48,7 @@ export const CopyToClipboardSnackbar = connect()(
             render() {
                 const { children, value, classes } = this.props;
                 return (
-                    <Tooltip title='Copy to clipboard'>
+                    <Tooltip title='Copy to clipboard' onClick={(ev) => ev.stopPropagation()}>
                         <span className={classes.copyIcon}>
                             <CopyToClipboard text={value} onCopy={this.onCopy}>
                                 {children || <CopyIcon />}
diff --git a/src/components/data-explorer/data-explorer.tsx b/src/components/data-explorer/data-explorer.tsx
index ad5762df..f9c62a09 100644
--- a/src/components/data-explorer/data-explorer.tsx
+++ b/src/components/data-explorer/data-explorer.tsx
@@ -368,7 +368,10 @@ export const DataExplorer = withStyles(styles)(
                 >
                     <IconButton
                         className={this.props.classes.moreOptionsButton}
-                        onClick={event => this.props.onContextMenu(event, item)}
+                        onClick={event => {
+                            event.stopPropagation()
+                            this.props.onContextMenu(event, item)
+                        }}
                     >
                         <MoreVerticalIcon />
                     </IconButton>
diff --git a/src/views-components/data-explorer/renderers.tsx b/src/views-components/data-explorer/renderers.tsx
index 257eacfb..13f0a6d4 100644
--- a/src/views-components/data-explorer/renderers.tsx
+++ b/src/views-components/data-explorer/renderers.tsx
@@ -68,7 +68,10 @@ const renderName = (dispatch: Dispatch, item: GroupContentsResource) => {
                 <Typography
                     color="primary"
                     style={{ width: "auto", cursor: "pointer" }}
-                    onClick={() => dispatch<any>(navFunc(item.uuid))}
+                    onClick={(ev) => {
+                        ev.stopPropagation()
+                        dispatch<any>(navFunc(item.uuid))
+                    }}
                 >
                     {item.kind === ResourceKind.PROJECT || item.kind === ResourceKind.COLLECTION ? <IllegalNamingWarning name={item.name} /> : null}
                     {item.name}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list