[arvados-workbench2] updated: 2.6.0-46-ge9c6bbeb

git repository hosting git at public.arvados.org
Sat Jul 1 22:53:06 UTC 2023


Summary of changes:
 .../multiselectToolbar/ms-toolbar-action-filters.ts     | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/components/multiselectToolbar/ms-toolbar-action-filters.ts

       via  e9c6bbebe8d9a3e22d239a51b1a0fae575b3dacb (commit)
      from  fb10daa75864def53d1f0ffa7da3cece8cebe9d0 (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 e9c6bbebe8d9a3e22d239a51b1a0fae575b3dacb
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Fri Jun 23 12:53:31 2023 -0400

    15768: added new filters.ts file to commit Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/src/components/multiselectToolbar/ms-toolbar-action-filters.ts b/src/components/multiselectToolbar/ms-toolbar-action-filters.ts
new file mode 100644
index 00000000..7d997496
--- /dev/null
+++ b/src/components/multiselectToolbar/ms-toolbar-action-filters.ts
@@ -0,0 +1,17 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
+import { ContextMenuActionSet } from 'views-components/context-menu/context-menu-action-set';
+import { collectionActionSet } from 'views-components/context-menu/action-sets/collection-action-set';
+import { projectActionSet } from 'views-components/context-menu/action-sets/project-action-set';
+
+export type TMultiselectActionsFilters = Record<string, [ContextMenuActionSet, Array<string>]>;
+
+const collectionMSActionsFilter = ['Make a copy', 'Move to', 'ToggleTrashAction'];
+const projectMSActionsFilter = ['Copy to clipboard', 'Move to', 'ToggleTrashAction'];
+
+export const multiselectActionsFilters: TMultiselectActionsFilters = {
+    'arvados#collection': [collectionActionSet, collectionMSActionsFilter],
+    'arvados#group': [projectActionSet, projectMSActionsFilter],
+};

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list