[arvados] updated: 2.7.0-6275-g73aff80c1f
git repository hosting
git at public.arvados.org
Mon Apr 1 15:07:35 UTC 2024
Summary of changes:
services/workbench2/cypress/e2e/collection.cy.js | 14 +++++++-------
services/workbench2/cypress/e2e/process.cy.js | 13 ++++++-------
services/workbench2/cypress/e2e/project.cy.js | 16 ++++++++--------
services/workbench2/cypress/e2e/workflow.cy.js | 8 ++++----
.../multiselect-toolbar/MultiselectToolbar.tsx | 2 +-
.../context-menu/action-sets/collection-action-set.ts | 2 +-
.../action-sets/collection-files-item-action-set.ts | 2 +-
.../context-menu/action-sets/project-action-set.ts | 2 +-
.../action-sets/search-results-action-set.ts | 2 +-
.../context-menu/action-sets/workflow-action-set.ts | 2 +-
.../context-menu/context-menu-action-set.ts | 2 +-
.../src/views-components/context-menu/menu-item-sort.ts | 12 ++++++------
.../multiselect-toolbar/ms-collection-action-set.ts | 10 +++++-----
.../multiselect-toolbar/ms-project-action-set.ts | 16 ++++++++--------
.../multiselect-toolbar/ms-workflow-action-set.ts | 8 ++++----
15 files changed, 55 insertions(+), 56 deletions(-)
via 73aff80c1f97e854203f75375dbef1924671667e (commit)
from 4151c412724bc38745958d0c62a427fabff1ac0d (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 73aff80c1f97e854203f75375dbef1924671667e
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Mon Apr 1 11:07:01 2024 -0400
21448: changed int tests to new menu orders Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/services/workbench2/cypress/e2e/collection.cy.js b/services/workbench2/cypress/e2e/collection.cy.js
index 3a5cc27ec5..b715cd08b1 100644
--- a/services/workbench2/cypress/e2e/collection.cy.js
+++ b/services/workbench2/cypress/e2e/collection.cy.js
@@ -30,17 +30,17 @@ describe("Collection panel tests", function () {
it('shows the appropriate buttons in the toolbar', () => {
const msButtonTooltips = [
- 'API Details',
- 'Add to favorites',
+ 'View details',
+ 'Open in new tab',
'Copy link to clipboard',
+ 'Open with 3rd party client',
+ 'API Details',
'Edit collection',
- 'Make a copy',
+ 'Share',
'Move to',
+ 'Make a copy',
'Move to trash',
- 'Open in new tab',
- 'Open with 3rd party client',
- 'Share',
- 'View details',
+ 'Add to favorites',
];
cy.loginAs(activeUser);
diff --git a/services/workbench2/cypress/e2e/process.cy.js b/services/workbench2/cypress/e2e/process.cy.js
index ccef34efbc..a0893bbde0 100644
--- a/services/workbench2/cypress/e2e/process.cy.js
+++ b/services/workbench2/cypress/e2e/process.cy.js
@@ -89,17 +89,16 @@ describe("Process tests", function () {
it('shows the appropriate buttons in the toolbar', () => {
const msButtonTooltips = [
+ 'View details',
+ 'Open in new tab',
+ 'Outputs',
'API Details',
- 'Add to favorites',
- 'CANCEL',
- 'Copy and re-run process',
'Edit process',
+ 'Copy and re-run process',
+ 'CANCEL',
'Move to',
- 'Open in new tab',
- 'Outputs',
'Remove',
- 'Share',
- 'View details',
+ 'Add to favorites',
];
createContainerRequest(
diff --git a/services/workbench2/cypress/e2e/project.cy.js b/services/workbench2/cypress/e2e/project.cy.js
index 912e765a88..f16805149a 100644
--- a/services/workbench2/cypress/e2e/project.cy.js
+++ b/services/workbench2/cypress/e2e/project.cy.js
@@ -219,18 +219,18 @@ describe("Project tests", function () {
it('shows the appropriate buttons in the multiselect toolbar', () => {
const msButtonTooltips = [
- 'API Details',
- 'Add to favorites',
+ 'View details',
+ 'Open in new tab',
'Copy link to clipboard',
+ 'Open with 3rd party client',
+ 'API Details',
+ 'New project',
'Edit project',
- 'Freeze project',
+ 'Share',
'Move to',
'Move to trash',
- 'New project',
- 'Open in new tab',
- 'Open with 3rd party client',
- 'Share',
- 'View details',
+ 'Freeze project',
+ 'Add to favorites',
];
cy.loginAs(activeUser);
diff --git a/services/workbench2/cypress/e2e/workflow.cy.js b/services/workbench2/cypress/e2e/workflow.cy.js
index f0c91a7722..b9cf86c556 100644
--- a/services/workbench2/cypress/e2e/workflow.cy.js
+++ b/services/workbench2/cypress/e2e/workflow.cy.js
@@ -269,12 +269,12 @@ describe('Registered workflow panel tests', function() {
it('shows the appropriate buttons in the multiselect toolbar', () => {
const msButtonTooltips = [
- 'API Details',
- 'Copy link to clipboard',
- 'Delete Workflow',
+ 'View details',
'Open in new tab',
+ 'Copy link to clipboard',
+ 'API Details',
'Run Workflow',
- 'View details',
+ 'Delete Workflow',
];
cy.createResource(activeUser.token, "workflows", {workflow: {name: "Test wf"}})
diff --git a/services/workbench2/src/components/multiselect-toolbar/MultiselectToolbar.tsx b/services/workbench2/src/components/multiselect-toolbar/MultiselectToolbar.tsx
index d8a5fe9023..cf7763b19c 100644
--- a/services/workbench2/src/components/multiselect-toolbar/MultiselectToolbar.tsx
+++ b/services/workbench2/src/components/multiselect-toolbar/MultiselectToolbar.tsx
@@ -339,7 +339,7 @@ function mapDispatchToProps(dispatch: Dispatch) {
const action = findActionByName(selectedAction.name as string, kindToActionSet[firstResource.kind]);
if (action) action.execute(dispatch, kindGroups[firstResource.kind]);
break;
- case ContextMenuActionNames.COPY_TO_CLIPBOARD:
+ case ContextMenuActionNames.COPY_LINK_TO_CLIPBOARD:
const selectedResources = selectedToArray(checkedList).map(uuid => getResource(uuid)(resources));
dispatch<any>(copyToClipboardAction(selectedResources));
break;
diff --git a/services/workbench2/src/views-components/context-menu/action-sets/collection-action-set.ts b/services/workbench2/src/views-components/context-menu/action-sets/collection-action-set.ts
index f046ebece3..7f8ad9e9e0 100644
--- a/services/workbench2/src/views-components/context-menu/action-sets/collection-action-set.ts
+++ b/services/workbench2/src/views-components/context-menu/action-sets/collection-action-set.ts
@@ -56,7 +56,7 @@ const commonActionSet: ContextMenuActionSet = [
},
{
icon: Link,
- name: ContextMenuActionNames.COPY_TO_CLIPBOARD,
+ name: ContextMenuActionNames.COPY_LINK_TO_CLIPBOARD,
execute: (dispatch, resources) => {
dispatch<any>(copyToClipboardAction(resources));
},
diff --git a/services/workbench2/src/views-components/context-menu/action-sets/collection-files-item-action-set.ts b/services/workbench2/src/views-components/context-menu/action-sets/collection-files-item-action-set.ts
index d22c1dcdb0..68edb13433 100644
--- a/services/workbench2/src/views-components/context-menu/action-sets/collection-files-item-action-set.ts
+++ b/services/workbench2/src/views-components/context-menu/action-sets/collection-files-item-action-set.ts
@@ -42,7 +42,7 @@ export const readOnlyCollectionDirectoryItemActionSet: ContextMenuActionSet = [
},
{
component: CollectionCopyToClipboardAction,
- name: ContextMenuActionNames.COPY_TO_CLIPBOARD,
+ name: ContextMenuActionNames.COPY_LINK_TO_CLIPBOARD,
execute: () => {
return;
},
diff --git a/services/workbench2/src/views-components/context-menu/action-sets/project-action-set.ts b/services/workbench2/src/views-components/context-menu/action-sets/project-action-set.ts
index 1be6c8f13b..8ef968eea9 100644
--- a/services/workbench2/src/views-components/context-menu/action-sets/project-action-set.ts
+++ b/services/workbench2/src/views-components/context-menu/action-sets/project-action-set.ts
@@ -41,7 +41,7 @@ export const openInNewTabMenuAction = {
export const copyToClipboardMenuAction = {
icon: Link,
- name: ContextMenuActionNames.COPY_TO_CLIPBOARD,
+ name: ContextMenuActionNames.COPY_LINK_TO_CLIPBOARD,
execute: (dispatch, resources) => {
dispatch(copyToClipboardAction(resources));
},
diff --git a/services/workbench2/src/views-components/context-menu/action-sets/search-results-action-set.ts b/services/workbench2/src/views-components/context-menu/action-sets/search-results-action-set.ts
index 54315d5877..debaf2dabf 100644
--- a/services/workbench2/src/views-components/context-menu/action-sets/search-results-action-set.ts
+++ b/services/workbench2/src/views-components/context-menu/action-sets/search-results-action-set.ts
@@ -19,7 +19,7 @@ export const searchResultsActionSet: ContextMenuActionSet = [
},
{
icon: Link,
- name: ContextMenuActionNames.COPY_TO_CLIPBOARD,
+ name: ContextMenuActionNames.COPY_LINK_TO_CLIPBOARD,
execute: (dispatch, resources) => {
dispatch<any>(copyToClipboardAction(resources));
},
diff --git a/services/workbench2/src/views-components/context-menu/action-sets/workflow-action-set.ts b/services/workbench2/src/views-components/context-menu/action-sets/workflow-action-set.ts
index e0787f94ee..f03340db4b 100644
--- a/services/workbench2/src/views-components/context-menu/action-sets/workflow-action-set.ts
+++ b/services/workbench2/src/views-components/context-menu/action-sets/workflow-action-set.ts
@@ -20,7 +20,7 @@ export const readOnlyWorkflowActionSet: ContextMenuActionSet = [
},
{
icon: Link,
- name: ContextMenuActionNames.COPY_TO_CLIPBOARD,
+ name: ContextMenuActionNames.COPY_LINK_TO_CLIPBOARD,
execute: (dispatch, resources) => {
dispatch<any>(copyToClipboardAction(resources));
},
diff --git a/services/workbench2/src/views-components/context-menu/context-menu-action-set.ts b/services/workbench2/src/views-components/context-menu/context-menu-action-set.ts
index d67c4ea7f8..38de735e29 100644
--- a/services/workbench2/src/views-components/context-menu/context-menu-action-set.ts
+++ b/services/workbench2/src/views-components/context-menu/context-menu-action-set.ts
@@ -20,7 +20,7 @@ export enum ContextMenuActionNames {
COPY_SELECTED_INTO_EXISTING_COLLECTION = 'Copy selected into existing collection',
COPY_SELECTED_INTO_SEPARATE_COLLECTIONS = 'Copy selected into separate collections',
COPY_SELECTED_INTO_NEW_COLLECTION = 'Copy selected into new collection',
- COPY_TO_CLIPBOARD = 'Copy link to clipboard',
+ COPY_LINK_TO_CLIPBOARD = 'Copy link to clipboard',
DEACTIVATE_USER = 'Deactivate user',
DELETE_WORKFLOW = 'Delete Workflow',
DIVIDER = 'Divider',
diff --git a/services/workbench2/src/views-components/context-menu/menu-item-sort.ts b/services/workbench2/src/views-components/context-menu/menu-item-sort.ts
index b178edfe10..d11866f121 100644
--- a/services/workbench2/src/views-components/context-menu/menu-item-sort.ts
+++ b/services/workbench2/src/views-components/context-menu/menu-item-sort.ts
@@ -65,6 +65,7 @@ const processOrder = [
ContextMenuActionNames.DIVIDER,
ContextMenuActionNames.EDIT_PROCESS,
ContextMenuActionNames.COPY_AND_RERUN_PROCESS,
+ ContextMenuActionNames.CANCEL,
ContextMenuActionNames.MOVE_TO,
ContextMenuActionNames.REMOVE,
ContextMenuActionNames.DIVIDER,
@@ -75,7 +76,7 @@ const processOrder = [
const projectOrder = [
ContextMenuActionNames.VIEW_DETAILS,
ContextMenuActionNames.OPEN_IN_NEW_TAB,
- ContextMenuActionNames.COPY_TO_CLIPBOARD,
+ ContextMenuActionNames.COPY_LINK_TO_CLIPBOARD,
ContextMenuActionNames.OPEN_WITH_3RD_PARTY_CLIENT,
ContextMenuActionNames.API_DETAILS,
ContextMenuActionNames.DIVIDER,
@@ -83,7 +84,7 @@ const projectOrder = [
ContextMenuActionNames.EDIT_PROJECT,
ContextMenuActionNames.SHARE,
ContextMenuActionNames.MOVE_TO,
- ContextMenuActionNames.REMOVE,
+ ContextMenuActionNames.MOVE_TO_TRASH,
ContextMenuActionNames.DIVIDER,
ContextMenuActionNames.FREEZE_PROJECT,
ContextMenuActionNames.ADD_TO_FAVORITES,
@@ -93,11 +94,10 @@ const projectOrder = [
const collectionOrder = [
ContextMenuActionNames.VIEW_DETAILS,
ContextMenuActionNames.OPEN_IN_NEW_TAB,
- ContextMenuActionNames.COPY_TO_CLIPBOARD,
+ ContextMenuActionNames.COPY_LINK_TO_CLIPBOARD,
ContextMenuActionNames.OPEN_WITH_3RD_PARTY_CLIENT,
ContextMenuActionNames.API_DETAILS,
ContextMenuActionNames.DIVIDER,
- ContextMenuActionNames.NEW_COLLECTION,
ContextMenuActionNames.EDIT_COLLECTION,
ContextMenuActionNames.SHARE,
ContextMenuActionNames.MOVE_TO,
@@ -111,11 +111,11 @@ const collectionOrder = [
const workflowOrder = [
ContextMenuActionNames.VIEW_DETAILS,
ContextMenuActionNames.OPEN_IN_NEW_TAB,
- ContextMenuActionNames.COPY_TO_CLIPBOARD,
+ ContextMenuActionNames.COPY_LINK_TO_CLIPBOARD,
ContextMenuActionNames.API_DETAILS,
ContextMenuActionNames.DIVIDER,
ContextMenuActionNames.RUN_WORKFLOW,
- ContextMenuActionNames.REMOVE,
+ ContextMenuActionNames.DELETE_WORKFLOW,
]
const kindToOrder: Record<string, ContextMenuActionNames[]> = {
diff --git a/services/workbench2/src/views-components/multiselect-toolbar/ms-collection-action-set.ts b/services/workbench2/src/views-components/multiselect-toolbar/ms-collection-action-set.ts
index d2e7b51e1d..19709faec4 100644
--- a/services/workbench2/src/views-components/multiselect-toolbar/ms-collection-action-set.ts
+++ b/services/workbench2/src/views-components/multiselect-toolbar/ms-collection-action-set.ts
@@ -16,7 +16,7 @@ import { openWebDavS3InfoDialog } from "store/collections/collection-info-action
import { openSharingDialog } from "store/sharing-dialog/sharing-dialog-actions";
-const { MAKE_A_COPY, MOVE_TO, MOVE_TO_TRASH, EDIT_COLLECTION, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, COPY_TO_CLIPBOARD, VIEW_DETAILS, API_DETAILS, ADD_TO_FAVORITES, SHARE} = ContextMenuActionNames;
+const { MAKE_A_COPY, MOVE_TO, MOVE_TO_TRASH, EDIT_COLLECTION, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, COPY_LINK_TO_CLIPBOARD, VIEW_DETAILS, API_DETAILS, ADD_TO_FAVORITES, SHARE} = ContextMenuActionNames;
const msCopyCollection: MultiSelectMenuAction = {
name: MAKE_A_COPY,
@@ -60,7 +60,7 @@ const msEditCollection: MultiSelectMenuAction = {
}
const msCopyToClipboardMenuAction: MultiSelectMenuAction = {
- name: COPY_TO_CLIPBOARD,
+ name: COPY_LINK_TO_CLIPBOARD,
icon: Link,
hasAlts: false,
isForMulti: false,
@@ -102,6 +102,6 @@ export const msCollectionActionSet: MultiSelectMenuActionSet = [
],
];
-export const msReadOnlyCollectionActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_TO_CLIPBOARD, MAKE_A_COPY, VIEW_DETAILS, API_DETAILS, ADD_TO_FAVORITES, OPEN_WITH_3RD_PARTY_CLIENT]);
-export const msCommonCollectionActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_TO_CLIPBOARD, MAKE_A_COPY, VIEW_DETAILS, API_DETAILS, OPEN_WITH_3RD_PARTY_CLIENT, EDIT_COLLECTION, SHARE, MOVE_TO, ADD_TO_FAVORITES, MOVE_TO_TRASH])
-export const msOldCollectionActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_TO_CLIPBOARD, MAKE_A_COPY, VIEW_DETAILS, API_DETAILS, OPEN_WITH_3RD_PARTY_CLIENT, EDIT_COLLECTION, SHARE, MOVE_TO, ADD_TO_FAVORITES, MOVE_TO_TRASH])
\ No newline at end of file
+export const msReadOnlyCollectionActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_LINK_TO_CLIPBOARD, MAKE_A_COPY, VIEW_DETAILS, API_DETAILS, ADD_TO_FAVORITES, OPEN_WITH_3RD_PARTY_CLIENT]);
+export const msCommonCollectionActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_LINK_TO_CLIPBOARD, MAKE_A_COPY, VIEW_DETAILS, API_DETAILS, OPEN_WITH_3RD_PARTY_CLIENT, EDIT_COLLECTION, SHARE, MOVE_TO, ADD_TO_FAVORITES, MOVE_TO_TRASH])
+export const msOldCollectionActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_LINK_TO_CLIPBOARD, MAKE_A_COPY, VIEW_DETAILS, API_DETAILS, OPEN_WITH_3RD_PARTY_CLIENT, EDIT_COLLECTION, SHARE, MOVE_TO, ADD_TO_FAVORITES, MOVE_TO_TRASH])
\ No newline at end of file
diff --git a/services/workbench2/src/views-components/multiselect-toolbar/ms-project-action-set.ts b/services/workbench2/src/views-components/multiselect-toolbar/ms-project-action-set.ts
index 849dedd36d..0723eaa497 100644
--- a/services/workbench2/src/views-components/multiselect-toolbar/ms-project-action-set.ts
+++ b/services/workbench2/src/views-components/multiselect-toolbar/ms-project-action-set.ts
@@ -27,7 +27,7 @@ const {
ADD_TO_FAVORITES,
ADD_TO_PUBLIC_FAVORITES,
OPEN_IN_NEW_TAB,
- COPY_TO_CLIPBOARD,
+ COPY_LINK_TO_CLIPBOARD,
VIEW_DETAILS,
API_DETAILS,
OPEN_WITH_3RD_PARTY_CLIENT,
@@ -40,7 +40,7 @@ const {
} = ContextMenuActionNames;
const msCopyToClipboardMenuAction: MultiSelectMenuAction = {
- name: COPY_TO_CLIPBOARD,
+ name: COPY_LINK_TO_CLIPBOARD,
icon: Link,
hasAlts: false,
isForMulti: false,
@@ -153,7 +153,7 @@ export const msCommonProjectActionFilter = new Set<string>([
ADD_TO_FAVORITES,
MOVE_TO_TRASH,
API_DETAILS,
- COPY_TO_CLIPBOARD,
+ COPY_LINK_TO_CLIPBOARD,
EDIT_PROJECT,
FREEZE_PROJECT,
MOVE_TO,
@@ -163,9 +163,9 @@ export const msCommonProjectActionFilter = new Set<string>([
SHARE,
VIEW_DETAILS,
]);
-export const msReadOnlyProjectActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, VIEW_DETAILS,]);
-export const msFrozenProjectActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, VIEW_DETAILS, SHARE, FREEZE_PROJECT])
-export const msAdminFrozenProjectActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, VIEW_DETAILS, SHARE, FREEZE_PROJECT, ADD_TO_PUBLIC_FAVORITES])
+export const msReadOnlyProjectActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_LINK_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, VIEW_DETAILS,]);
+export const msFrozenProjectActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_LINK_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, VIEW_DETAILS, SHARE, FREEZE_PROJECT])
+export const msAdminFrozenProjectActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_LINK_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, VIEW_DETAILS, SHARE, FREEZE_PROJECT, ADD_TO_PUBLIC_FAVORITES])
-export const msFilterGroupActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, VIEW_DETAILS, SHARE, MOVE_TO_TRASH, EDIT_PROJECT, MOVE_TO])
-export const msAdminFilterGroupActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, VIEW_DETAILS, SHARE, MOVE_TO_TRASH, EDIT_PROJECT, MOVE_TO, ADD_TO_PUBLIC_FAVORITES])
\ No newline at end of file
+export const msFilterGroupActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_LINK_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, VIEW_DETAILS, SHARE, MOVE_TO_TRASH, EDIT_PROJECT, MOVE_TO])
+export const msAdminFilterGroupActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_LINK_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_WITH_3RD_PARTY_CLIENT, VIEW_DETAILS, SHARE, MOVE_TO_TRASH, EDIT_PROJECT, MOVE_TO, ADD_TO_PUBLIC_FAVORITES])
\ No newline at end of file
diff --git a/services/workbench2/src/views-components/multiselect-toolbar/ms-workflow-action-set.ts b/services/workbench2/src/views-components/multiselect-toolbar/ms-workflow-action-set.ts
index 25b015b47a..9c5cdd79e0 100644
--- a/services/workbench2/src/views-components/multiselect-toolbar/ms-workflow-action-set.ts
+++ b/services/workbench2/src/views-components/multiselect-toolbar/ms-workflow-action-set.ts
@@ -10,7 +10,7 @@ import { copyToClipboardAction } from 'store/open-in-new-tab/open-in-new-tab.act
import { openSharingDialog } from 'store/sharing-dialog/sharing-dialog-actions';
import { ShareIcon } from 'components/icon/icon';
-const { OPEN_IN_NEW_TAB, COPY_TO_CLIPBOARD, VIEW_DETAILS, API_DETAILS, RUN_WORKFLOW, DELETE_WORKFLOW, SHARE } = ContextMenuActionNames;
+const { OPEN_IN_NEW_TAB, COPY_LINK_TO_CLIPBOARD, VIEW_DETAILS, API_DETAILS, RUN_WORKFLOW, DELETE_WORKFLOW, SHARE } = ContextMenuActionNames;
const msRunWorkflow: MultiSelectMenuAction = {
name: RUN_WORKFLOW,
@@ -33,7 +33,7 @@ const msDeleteWorkflow: MultiSelectMenuAction = {
};
const msCopyToClipboardMenuAction: MultiSelectMenuAction = {
- name: COPY_TO_CLIPBOARD,
+ name: COPY_LINK_TO_CLIPBOARD,
icon: Link,
hasAlts: false,
isForMulti: false,
@@ -54,5 +54,5 @@ const msShareAction: MultiSelectMenuAction = {
export const msWorkflowActionSet: MultiSelectMenuActionSet = [[...msCommonActionSet, msRunWorkflow, msDeleteWorkflow, msCopyToClipboardMenuAction, msShareAction]];
-export const msReadOnlyWorkflowActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_TO_CLIPBOARD, VIEW_DETAILS, API_DETAILS, RUN_WORKFLOW ]);
-export const msWorkflowActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_TO_CLIPBOARD, VIEW_DETAILS, API_DETAILS, RUN_WORKFLOW, DELETE_WORKFLOW]);
+export const msReadOnlyWorkflowActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_LINK_TO_CLIPBOARD, VIEW_DETAILS, API_DETAILS, RUN_WORKFLOW ]);
+export const msWorkflowActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_LINK_TO_CLIPBOARD, VIEW_DETAILS, API_DETAILS, RUN_WORKFLOW, DELETE_WORKFLOW]);
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list