17526: Change webdav dialog title to "Open" to preserve ordering
authorStephen Smith <stephen@curii.com>
Wed, 28 Jul 2021 20:43:05 +0000 (16:43 -0400)
committerStephen Smith <stephen@curii.com>
Wed, 28 Jul 2021 20:43:05 +0000 (16:43 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

cypress/integration/collection.spec.js
src/store/collections/collection-info-actions.ts
src/views-components/context-menu/action-sets/collection-action-set.ts
src/views-components/context-menu/action-sets/project-action-set.ts
src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx

index 73370817f98d8c9b9c556ed7936dbf10c0d35363..92511d4ef5d7cad814c8be5bd0d6eab2a633a73b 100644 (file)
@@ -43,7 +43,7 @@ describe('Collection panel tests', function () {
             cy.goToPath(`/collections/${testCollection.uuid}`);
 
             cy.get('[data-cy=collection-panel-options-btn]').click();
-            cy.get('[data-cy=context-menu]').contains('Access with 3rd party client').click();
+            cy.get('[data-cy=context-menu]').contains('Open with 3rd party client').click();
             cy.get('[data-cy=download-button').click();
 
             const filename = path.join(downloadsFolder, `${testCollection.name}.duck`);
index 4838481e93375fef55281f1502c0b9a0d065b0af..6107c40972d690df30ce36a02ed589f24d67fc13 100644 (file)
@@ -29,7 +29,7 @@ export const openWebDavS3InfoDialog = (uuid: string, activeTab?: number) =>
         dispatch(dialogActions.OPEN_DIALOG({
             id: COLLECTION_WEBDAV_S3_DIALOG_NAME,
             data: {
-                title: 'Access with 3rd party client',
+                title: 'Open with 3rd party client',
                 token: getState().auth.extraApiToken || getState().auth.apiToken,
                 downloadUrl: getState().auth.config.keepWebServiceUrl,
                 collectionsUrl: getState().auth.config.keepWebInlineServiceUrl,
index c4c8788fb4dda01b129e68336bc6fc447a7d548d..9b0efac0409b5787b0c5d28b893441a858ffe475 100644 (file)
@@ -90,7 +90,7 @@ export const readOnlyCollectionActionSet: ContextMenuActionSet = [[
     toggleFavoriteAction,
     {
         icon: FolderSharedIcon,
-        name: "Access with 3rd party client",
+        name: "Open with 3rd party client",
         execute: (dispatch, resource) => {
             dispatch<any>(openWebDavS3InfoDialog(resource.uuid));
         }
index 02a6731ed417ae69370e46c5a21b07063d5e74c0..a079bf4ff3c314b157d9f9bb8977a07a9c8300ee 100644 (file)
@@ -59,7 +59,7 @@ export const readOnlyProjectActionSet: ContextMenuActionSet = [[
     },
     {
         icon: FolderSharedIcon,
-        name: "Access with 3rd party client",
+        name: "Open with 3rd party client",
         execute: (dispatch, resource) => {
             dispatch<any>(openWebDavS3InfoDialog(resource.uuid));
         }
index d6055852d15af5d3ff5a0b8be80a87b67f8f57c2..16fe25260190e0f3fa15b45e69440a4309b0546f 100644 (file)
@@ -148,7 +148,7 @@ export const WebDavS3InfoDialog = compose(
             onClose={props.closeDialog}
             style={{ alignSelf: 'stretch' }}>
             <CardHeader
-                title={`Access with 3rd party client`} />
+                title={`Open with 3rd party client`} />
             <div className={props.classes.details} >
                 <Tabs value={activeTab} onChange={props.data.setActiveTab}>
                     {supportsWebdav && <Tab value={0} key="cyberduck" label="WebDAV" />}