projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '14503_keep_services_panel'
[arvados-workbench2.git]
/
src
/
views-components
/
context-menu
/
action-sets
/
collection-action-set.ts
diff --git
a/src/views-components/context-menu/action-sets/collection-action-set.ts
b/src/views-components/context-menu/action-sets/collection-action-set.ts
index 07e150245486d85442034849250a2a41acdb4d0d..9d26fad2ff86a7659b90d1dfdd21b2e679576208 100644
(file)
--- a/
src/views-components/context-menu/action-sets/collection-action-set.ts
+++ b/
src/views-components/context-menu/action-sets/collection-action-set.ts
@@
-15,6
+15,7
@@
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";
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";
+import { toggleDetailsPanel } from '~/store/details-panel/details-panel-action';
export const collectionActionSet: ContextMenuActionSet = [[
{
export const collectionActionSet: ContextMenuActionSet = [[
{
@@
-31,11
+32,6
@@
export const collectionActionSet: ContextMenuActionSet = [[
dispatch<any>(openSharingDialog(uuid));
}
},
dispatch<any>(openSharingDialog(uuid));
}
},
- {
- icon: MoveToIcon,
- name: "Move to",
- execute: (dispatch, resource) => dispatch<any>(openMoveCollectionDialog(resource))
- },
{
component: ToggleFavoriteAction,
execute: (dispatch, resource) => {
{
component: ToggleFavoriteAction,
execute: (dispatch, resource) => {
@@
-50,6
+46,11
@@
export const collectionActionSet: ContextMenuActionSet = [[
dispatch<any>(toggleCollectionTrashed(resource.uuid, resource.isTrashed!!));
}
},
dispatch<any>(toggleCollectionTrashed(resource.uuid, resource.isTrashed!!));
}
},
+ {
+ icon: MoveToIcon,
+ name: "Move to",
+ execute: (dispatch, resource) => dispatch<any>(openMoveCollectionDialog(resource))
+ },
{
icon: CopyIcon,
name: "Copy to project",
{
icon: CopyIcon,
name: "Copy to project",
@@
-62,28
+63,28
@@
export const collectionActionSet: ContextMenuActionSet = [[
icon: DetailsIcon,
name: "View details",
execute: dispatch => {
icon: DetailsIcon,
name: "View details",
execute: dispatch => {
- dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
- }
- },
- {
- icon: ProvenanceGraphIcon,
- name: "Provenance graph",
- execute: (dispatch, resource) => {
- // add code
+ dispatch<any>(toggleDetailsPanel());
}
},
}
},
+ // {
+ // icon: ProvenanceGraphIcon,
+ // name: "Provenance graph",
+ // execute: (dispatch, resource) => {
+ // // add code
+ // }
+ // },
{
icon: AdvancedIcon,
name: "Advanced",
execute: (dispatch, resource) => {
dispatch<any>(openAdvancedTabDialog(resource.uuid));
}
{
icon: AdvancedIcon,
name: "Advanced",
execute: (dispatch, resource) => {
dispatch<any>(openAdvancedTabDialog(resource.uuid));
}
- },
- {
- icon: RemoveIcon,
- name: "Remove",
- execute: (dispatch, resource) => {
- // add code
- }
}
}
+ // {
+ // icon: RemoveIcon,
+ // name: "Remove",
+ // execute: (dispatch, resource) => {
+ // // add code
+ // }
+ // }
]];
]];