[ARVADOS-WORKBENCH2] updated: 1.2.0-813-gfa13298
Git user
git at public.curoverse.com
Tue Nov 6 09:25:29 EST 2018
Summary of changes:
.../context-menu/action-sets/collection-resource-action-set.ts | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
via fa13298b95d060e0e37493810e460a6f24e63e21 (commit)
from 2fe0b9581f05dc2f74ad1d2fea169e40df29eb9e (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 fa13298b95d060e0e37493810e460a6f24e63e21
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date: Tue Nov 6 15:25:22 2018 +0100
add advance option to collection on table view
Feature #14315_fix_columns_height_and_sort_more_options_for_items
Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>
diff --git a/src/views-components/context-menu/action-sets/collection-resource-action-set.ts b/src/views-components/context-menu/action-sets/collection-resource-action-set.ts
index 1e2ac04..c398a0a 100644
--- a/src/views-components/context-menu/action-sets/collection-resource-action-set.ts
+++ b/src/views-components/context-menu/action-sets/collection-resource-action-set.ts
@@ -6,7 +6,7 @@ import { ContextMenuActionSet } from "../context-menu-action-set";
import { ToggleFavoriteAction } from "../actions/favorite-action";
import { ToggleTrashAction } from "~/views-components/context-menu/actions/trash-action";
import { toggleFavorite } from "~/store/favorites/favorites-actions";
-import { RenameIcon, ShareIcon, MoveToIcon, CopyIcon, DetailsIcon, RemoveIcon } from "~/components/icon/icon";
+import { RenameIcon, ShareIcon, MoveToIcon, CopyIcon, DetailsIcon, RemoveIcon, AdvancedIcon } from '~/components/icon/icon';
import { openCollectionUpdateDialog } from "~/store/collections/collection-update-actions";
import { favoritePanelActions } from "~/store/favorite-panel/favorite-panel-action";
import { openMoveCollectionDialog } from '~/store/collections/collection-move-actions';
@@ -14,6 +14,7 @@ import { openCollectionCopyDialog } from '~/store/collections/collection-copy-ac
import { toggleCollectionTrashed } from "~/store/trash/trash-actions";
import { detailsPanelActions } from '~/store/details-panel/details-panel-action';
import { openSharingDialog } from "~/store/sharing-dialog/sharing-dialog-actions";
+import { openAdvancedTabDialog } from '~/store/advanced-tab/advanced-tab';
export const collectionResourceActionSet: ContextMenuActionSet = [[
{
@@ -64,6 +65,13 @@ export const collectionResourceActionSet: ContextMenuActionSet = [[
execute: dispatch => {
dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
}
+ },
+ {
+ icon: AdvancedIcon,
+ name: "Advanced",
+ execute: (dispatch, resource) => {
+ dispatch<any>(openAdvancedTabDialog(resource.uuid));
+ }
}
// {
// icon: RemoveIcon,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list