openApiClientAuthorizationRemoveDialog,
} from "store/api-client-authorizations/api-client-authorizations-actions";
import { openAdvancedTabDialog } from "store/advanced-tab/advanced-tab";
-import { ContextMenuActionSet } from "views-components/context-menu/context-menu-action-set";
+import { ContextMenuActionSet, ContextMenuActionNames } from "views-components/context-menu/context-menu-action-set";
import { AdvancedIcon, RemoveIcon, AttributesIcon } from "components/icon/icon";
export const apiClientAuthorizationActionSet: ContextMenuActionSet = [
[
{
- name: "Attributes",
+ name: ContextMenuActionNames.ATTRIBUTES,
icon: AttributesIcon,
execute: (dispatch, resources) => {
dispatch<any>(openApiClientAuthorizationAttributesDialog(resources[0].uuid));
},
},
{
- name: "API Details",
+ name: ContextMenuActionNames.API_DETAILS,
icon: AdvancedIcon,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
- name: "Remove",
+ name: ContextMenuActionNames.REMOVE,
icon: RemoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openApiClientAuthorizationRemoveDialog(resources[0].uuid));
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuAction, ContextMenuActionSet } from "../context-menu-action-set";
+import { ContextMenuAction, ContextMenuActionSet, ContextMenuActionNames } from "../context-menu-action-set";
import { ToggleFavoriteAction } from "../actions/favorite-action";
import { toggleFavorite } from "store/favorites/favorites-actions";
import {
const toggleFavoriteAction: ContextMenuAction = {
component: ToggleFavoriteAction,
- name: "Add to Favorites",
+ name: ContextMenuActionNames.ADD_TO_FAVORITES,
execute: (dispatch, resources) => {
for (const resource of [...resources]) {
dispatch<any>(toggleFavorite(resource)).then(() => {
[
{
icon: OpenIcon,
- name: "Open in new tab",
+ name: ContextMenuActionNames.OPEN_IN_NEW_TAB,
execute: (dispatch, resources) => {
dispatch<any>(openInNewTabAction(resources[0]));
},
},
{
icon: Link,
- name: "Copy to clipboard",
+ name: ContextMenuActionNames.COPY_TO_CLIPBOARD,
execute: (dispatch, resources) => {
dispatch<any>(copyToClipboardAction(resources));
},
},
{
icon: CopyIcon,
- name: "Make a copy",
+ name: ContextMenuActionNames.MAKE_A_COPY,
execute: (dispatch, resources) => {
if (resources[0].fromContextMenu || resources.length === 1) dispatch<any>(openCollectionCopyDialog(resources[0]));
else dispatch<any>(openMultiCollectionCopyDialog(resources[0]));
},
{
icon: DetailsIcon,
- name: "View details",
+ name: ContextMenuActionNames.VIEW_DETAILS,
execute: dispatch => {
dispatch<any>(toggleDetailsPanel());
},
},
{
icon: AdvancedIcon,
- name: "API Details",
+ name: ContextMenuActionNames.API_DETAILS,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
toggleFavoriteAction,
{
icon: FolderSharedIcon,
- name: "Open with 3rd party client",
+ name: ContextMenuActionNames.OPEN_WITH_3RD_PARTY_CLIENT,
execute: (dispatch, resources) => {
dispatch<any>(openWebDavS3InfoDialog(resources[0].uuid));
},
...readOnlyCollectionActionSet.reduce((prev, next) => prev.concat(next), []),
{
icon: RenameIcon,
- name: "Edit collection",
+ name: ContextMenuActionNames.EDIT_COLLECTION,
execute: (dispatch, resources) => {
dispatch<any>(openCollectionUpdateDialog(resources[0]));
},
},
{
icon: ShareIcon,
- name: "Share",
+ name: ContextMenuActionNames.SHARE,
execute: (dispatch, resources) => {
dispatch<any>(openSharingDialog(resources[0].uuid));
},
},
{
icon: MoveToIcon,
- name: "Move to",
+ name: ContextMenuActionNames.MOVE_TO,
execute: (dispatch, resources) => dispatch<any>(openMoveCollectionDialog(resources[0])),
},
{
component: ToggleTrashAction,
- name: "Move to trash",
+ name: ContextMenuActionNames.MOVE_TO_TRASH,
execute: (dispatch, resources: ContextMenuResource[]) => {
for (const resource of [...resources]) {
dispatch<any>(toggleCollectionTrashed(resource.uuid, resource.isTrashed!!));
...collectionActionSet.reduce((prev, next) => prev.concat(next), []),
{
component: TogglePublicFavoriteAction,
- name: "Add to public favorites",
+ name: ContextMenuActionNames.ADD_TO_PUBLIC_FAVORITES,
execute: (dispatch, resources) => {
for (const resource of [...resources]) {
dispatch<any>(togglePublicFavorite(resource)).then(() => {
...commonActionSet.reduce((prev, next) => prev.concat(next), []),
{
icon: RestoreVersionIcon,
- name: "Restore version",
+ name: ContextMenuActionNames.RESTORE_VERSION,
execute: (dispatch, resources) => {
for (const resource of [...resources]) {
dispatch<any>(openRestoreCollectionVersionDialog(resource.uuid));
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuAction, ContextMenuActionSet } from "views-components/context-menu/context-menu-action-set";
+import { ContextMenuAction, ContextMenuActionSet, ContextMenuActionNames } from "views-components/context-menu/context-menu-action-set";
import { collectionPanelFilesAction, openMultipleFilesRemoveDialog } from "store/collection-panel/collection-panel-files/collection-panel-files-actions";
import {
openCollectionPartialCopyMultipleToNewCollectionDialog,
const copyActions: ContextMenuAction[] = [
{
- name: "Copy selected into new collection",
+ name: ContextMenuActionNames.COPY_SELECTED_INTO_NEW_COLLECTION,
icon: FileCopyIcon,
execute: dispatch => {
dispatch<any>(openCollectionPartialCopyMultipleToNewCollectionDialog());
}
},
{
- name: "Copy selected into existing collection",
+ name: ContextMenuActionNames.COPY_SELECTED_INTO_EXISTING_COLLECTION,
icon: FileCopyIcon,
execute: dispatch => {
dispatch<any>(openCollectionPartialCopyMultipleToExistingCollectionDialog());
const copyActionsMultiple: ContextMenuAction[] = [
...copyActions,
{
- name: "Copy selected into separate collections",
+ name: ContextMenuActionNames.COPY_SELECTED_INTO_SEPARATE_COLLECTIONS,
icon: FileCopyIcon,
execute: dispatch => {
dispatch<any>(openCollectionPartialCopyToSeparateCollectionsDialog());
const moveActions: ContextMenuAction[] = [
{
- name: "Move selected into new collection",
+ name: ContextMenuActionNames.MOVE_SELECTED_INTO_NEW_COLLECTION,
icon: FileMoveIcon,
execute: dispatch => {
dispatch<any>(openCollectionPartialMoveMultipleToNewCollectionDialog());
}
},
{
- name: "Move selected into existing collection",
+ name: ContextMenuActionNames.MOVE_SELECTED_INTO_EXISTING_COLLECTION,
icon: FileMoveIcon,
execute: dispatch => {
dispatch<any>(openCollectionPartialMoveMultipleToExistingCollectionDialog());
const moveActionsMultiple: ContextMenuAction[] = [
...moveActions,
{
- name: "Move selected into separate collections",
+ name: ContextMenuActionNames.MOVE_SELECTED_INTO_SEPARATE_COLLECTIONS,
icon: FileMoveIcon,
execute: dispatch => {
dispatch<any>(openCollectionPartialMoveToSeparateCollectionsDialog());
const selectActions: ContextMenuAction[] = [
{
- name: "Select all",
+ name: ContextMenuActionNames.SELECT_ALL,
icon: SelectAllIcon,
execute: dispatch => {
dispatch(collectionPanelFilesAction.SELECT_ALL_COLLECTION_FILES());
}
},
{
- name: "Unselect all",
+ name: ContextMenuActionNames.UNSELECT_ALL,
icon: SelectNoneIcon,
execute: dispatch => {
dispatch(collectionPanelFilesAction.UNSELECT_ALL_COLLECTION_FILES());
];
const removeAction: ContextMenuAction = {
- name: "Remove selected",
+ name: ContextMenuActionNames.REMOVE_SELECTED,
icon: RemoveIcon,
execute: dispatch => {
dispatch(openMultipleFilesRemoveDialog());
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from "../context-menu-action-set";
+import { ContextMenuActionSet, ContextMenuActionNames } from "../context-menu-action-set";
import { FileCopyIcon, FileMoveIcon, RemoveIcon, RenameIcon } from "components/icon/icon";
import { DownloadCollectionFileAction } from "../actions/download-collection-file-action";
import { openFileRemoveDialog, openRenameFileDialog } from "store/collection-panel/collection-panel-files/collection-panel-files-actions";
export const readOnlyCollectionDirectoryItemActionSet: ContextMenuActionSet = [
[
{
- name: "Copy item into new collection",
+ name: ContextMenuActionNames.COPY_ITEM_INTO_NEW_COLLECTION,
icon: FileCopyIcon,
execute: (dispatch, resources) => {
dispatch<any>(openCollectionPartialCopyToNewCollectionDialog(resources[0]));
},
},
{
- name: "Copy item into existing collection",
+ name: ContextMenuActionNames.COPY_ITEM_INTO_EXISTING_COLLECTION,
icon: FileCopyIcon,
execute: (dispatch, resources) => {
dispatch<any>(openCollectionPartialCopyToExistingCollectionDialog(resources[0]));
},
{
component: CollectionFileViewerAction,
- name: "Open in new tab",
+ name: ContextMenuActionNames.OPEN_IN_NEW_TAB,
execute: () => {
return;
},
},
{
component: CollectionCopyToClipboardAction,
- name: "Copy to clipboard",
+ name: ContextMenuActionNames.COPY_TO_CLIPBOARD,
execute: () => {
return;
},
[
{
component: DownloadCollectionFileAction,
- name: "Download",
+ name: ContextMenuActionNames.DOWNLOAD,
execute: () => {
return;
},
const writableActionSet: ContextMenuActionSet = [
[
{
- name: "Move item into new collection",
+ name: ContextMenuActionNames.MOVE_ITEM_INTO_NEW_COLLECTION,
icon: FileMoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openCollectionPartialMoveToNewCollectionDialog(resources[0]));
},
},
{
- name: "Move item into existing collection",
+ name: ContextMenuActionNames.MOVE_ITEM_INTO_EXISTING_COLLECTION,
icon: FileMoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openCollectionPartialMoveToExistingCollectionDialog(resources[0]));
},
},
{
- name: "Rename",
+ name: ContextMenuActionNames.RENAME,
icon: RenameIcon,
execute: (dispatch, resources) => {
dispatch<any>(
},
},
{
- name: "Remove",
+ name: ContextMenuActionNames.REMOVE,
icon: RemoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openFileRemoveDialog(resources[0].uuid));
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from "views-components/context-menu/context-menu-action-set";
+import { ContextMenuActionSet, ContextMenuActionNames } from "views-components/context-menu/context-menu-action-set";
import { collectionPanelFilesAction } from "store/collection-panel/collection-panel-files/collection-panel-files-actions";
import { SelectAllIcon } from "components/icon/icon";
export const collectionFilesNotSelectedActionSet: ContextMenuActionSet = [[{
- name: "Select all",
+ name: ContextMenuActionNames.SELECT_ALL,
icon: SelectAllIcon,
execute: dispatch => {
dispatch(collectionPanelFilesAction.SELECT_ALL_COLLECTION_FILES());
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from '../context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from '../context-menu-action-set';
import { ToggleFavoriteAction } from '../actions/favorite-action';
import { toggleFavorite } from 'store/favorites/favorites-actions';
import { favoritePanelActions } from 'store/favorite-panel/favorite-panel-action';
[
{
component: ToggleFavoriteAction,
- name: 'Add to Favorites',
+ name: ContextMenuActionNames.ADD_TO_FAVORITES,
execute: (dispatch, resources) => {
resources.forEach((resource) =>
dispatch<any>(toggleFavorite(resource)).then(() => {
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from 'views-components/context-menu/context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from 'views-components/context-menu/context-menu-action-set';
import { RenameIcon, AdvancedIcon, RemoveIcon, AttributesIcon } from 'components/icon/icon';
import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
import { openGroupAttributes, openRemoveGroupDialog, openGroupUpdateDialog } from 'store/groups-panel/groups-panel-actions';
export const groupActionSet: ContextMenuActionSet = [
[
{
- name: 'Rename',
+ name: ContextMenuActionNames.RENAME,
icon: RenameIcon,
execute: (dispatch, resources) => {
dispatch<any>(openGroupUpdateDialog(resources[0]))
},
},
{
- name: 'Attributes',
+ name: ContextMenuActionNames.ATTRIBUTES,
icon: AttributesIcon,
execute: (dispatch, resources) => {
dispatch<any>(openGroupAttributes(resources[0].uuid))
},
},
{
- name: 'API Details',
+ name: ContextMenuActionNames.API_DETAILS,
icon: AdvancedIcon,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
- name: 'Remove',
+ name: ContextMenuActionNames.REMOVE,
icon: RemoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openRemoveGroupDialog(resources[0].uuid));
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from 'views-components/context-menu/context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from 'views-components/context-menu/context-menu-action-set';
import { AdvancedIcon, RemoveIcon, AttributesIcon } from 'components/icon/icon';
import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
import { openGroupMemberAttributes, openRemoveGroupMemberDialog } from 'store/group-details-panel/group-details-panel-actions';
export const groupMemberActionSet: ContextMenuActionSet = [
[
{
- name: 'Attributes',
+ name: ContextMenuActionNames.ATTRIBUTES,
icon: AttributesIcon,
execute: (dispatch, resources) => {
dispatch<any>(openGroupMemberAttributes(resources[0].uuid));
},
},
{
- name: 'API Details',
+ name: ContextMenuActionNames.API_DETAILS,
icon: AdvancedIcon,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
- name: 'Remove',
+ name: ContextMenuActionNames.REMOVE,
icon: RemoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openRemoveGroupMemberDialog(resources[0].uuid));
import { openKeepServiceAttributesDialog, openKeepServiceRemoveDialog } from 'store/keep-services/keep-services-actions';
import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
-import { ContextMenuActionSet } from 'views-components/context-menu/context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from 'views-components/context-menu/context-menu-action-set';
import { AdvancedIcon, RemoveIcon, AttributesIcon } from 'components/icon/icon';
export const keepServiceActionSet: ContextMenuActionSet = [
[
{
- name: 'Attributes',
+ name: ContextMenuActionNames.ATTRIBUTES,
icon: AttributesIcon,
execute: (dispatch, resources) => {
dispatch<any>(openKeepServiceAttributesDialog(resources[0].uuid));
},
},
{
- name: 'API Details',
+ name: ContextMenuActionNames.API_DETAILS,
icon: AdvancedIcon,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
- name: 'Remove',
+ name: ContextMenuActionNames.REMOVE,
icon: RemoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openKeepServiceRemoveDialog(resources[0].uuid));
import { openLinkAttributesDialog, openLinkRemoveDialog } from 'store/link-panel/link-panel-actions';
import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
-import { ContextMenuActionSet } from 'views-components/context-menu/context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from 'views-components/context-menu/context-menu-action-set';
import { AdvancedIcon, RemoveIcon, AttributesIcon } from 'components/icon/icon';
export const linkActionSet: ContextMenuActionSet = [
[
{
- name: 'Attributes',
+ name: ContextMenuActionNames.ATTRIBUTES,
icon: AttributesIcon,
execute: (dispatch, resources) => {
dispatch<any>(openLinkAttributesDialog(resources[0].uuid));
},
},
{
- name: 'API Details',
+ name: ContextMenuActionNames.API_DETAILS,
icon: AdvancedIcon,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
- name: 'Remove',
+ name: ContextMenuActionNames.REMOVE,
icon: RemoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openLinkRemoveDialog(resources[0].uuid));
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from 'views-components/context-menu/context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from 'views-components/context-menu/context-menu-action-set';
import { CanReadIcon, CanManageIcon, CanWriteIcon } from 'components/icon/icon';
import { editPermissionLevel } from 'store/group-details-panel/group-details-panel-actions';
import { PermissionLevel } from 'models/permission';
export const permissionEditActionSet: ContextMenuActionSet = [
[
{
- name: 'Read',
+ name: ContextMenuActionNames.READ,
icon: CanReadIcon,
execute: (dispatch, resources) => {
resources.forEach((resource) => dispatch<any>(editPermissionLevel(resource.uuid, PermissionLevel.CAN_READ)));
},
},
{
- name: 'Write',
+ name: ContextMenuActionNames.WRITE,
icon: CanWriteIcon,
execute: (dispatch, resources) => {
resources.forEach((resource) => dispatch<any>(editPermissionLevel(resource.uuid, PermissionLevel.CAN_WRITE)));
},
},
{
- name: 'Manage',
+ name: ContextMenuActionNames.MANAGE,
icon: CanManageIcon,
execute: (dispatch, resources) => {
resources.forEach((resource) => dispatch<any>(editPermissionLevel(resource.uuid, PermissionLevel.CAN_MANAGE)));
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from "../context-menu-action-set";
+import { ContextMenuActionSet, ContextMenuActionNames } from "../context-menu-action-set";
import { ToggleFavoriteAction } from "../actions/favorite-action";
import { toggleFavorite } from "store/favorites/favorites-actions";
import {
[
{
component: ToggleFavoriteAction,
- name: "Add to Favorites",
+ name: ContextMenuActionNames.ADD_TO_FAVORITES,
execute: (dispatch, resources) => {
dispatch<any>(toggleFavorite(resources[0])).then(() => {
dispatch<any>(favoritePanelActions.REQUEST_ITEMS());
},
{
icon: OpenIcon,
- name: "Open in new tab",
+ name: ContextMenuActionNames.OPEN_IN_NEW_TAB,
execute: (dispatch, resources) => {
dispatch<any>(openInNewTabAction(resources[0]));
},
},
{
icon: ReRunProcessIcon,
- name: "Copy and re-run process",
+ name: ContextMenuActionNames.COPY_AND_RERUN_PROCESS,
execute: (dispatch, resources) => {
dispatch<any>(openCopyProcessDialog(resources[0]));
},
},
{
icon: OutputIcon,
- name: "Outputs",
+ name: ContextMenuActionNames.OUTPUTS,
execute: (dispatch, resources) => {
if (resources[0]) {
dispatch<any>(navigateToOutput(resources[0]));
},
{
icon: DetailsIcon,
- name: "View details",
+ name: ContextMenuActionNames.VIEW_DETAILS,
execute: dispatch => {
dispatch<any>(toggleDetailsPanel());
},
},
{
icon: AdvancedIcon,
- name: "API Details",
+ name: ContextMenuActionNames.API_DETAILS,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
...readOnlyProcessResourceActionSet.reduce((prev, next) => prev.concat(next), []),
{
icon: RenameIcon,
- name: "Edit process",
+ name: ContextMenuActionNames.EDIT_PROCESS,
execute: (dispatch, resources) => {
dispatch<any>(openProcessUpdateDialog(resources[0]));
},
},
{
icon: ShareIcon,
- name: "Share",
+ name: ContextMenuActionNames.SHARE,
execute: (dispatch, resources) => {
dispatch<any>(openSharingDialog(resources[0].uuid));
},
},
{
icon: MoveToIcon,
- name: "Move to",
+ name: ContextMenuActionNames.MOVE_TO,
execute: (dispatch, resources) => {
dispatch<any>(openMoveProcessDialog(resources[0]));
},
},
{
- name: "Remove",
+ name: ContextMenuActionNames.REMOVE,
icon: RemoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openRemoveProcessDialog(resources[0], resources.length));
const runningProcessOnlyActionSet: ContextMenuActionSet = [
[
{
- name: "CANCEL",
+ name: ContextMenuActionNames.CANCEL,
icon: StopIcon,
execute: (dispatch, resources) => {
dispatch<any>(cancelRunningWorkflow(resources[0].uuid));
...processResourceActionSet.reduce((prev, next) => prev.concat(next), []),
{
component: TogglePublicFavoriteAction,
- name: "Add to public favorites",
+ name: ContextMenuActionNames.ADD_TO_PUBLIC_FAVORITES,
execute: (dispatch, resources) => {
dispatch<any>(togglePublicFavorite(resources[0])).then(() => {
dispatch<any>(publicFavoritePanelActions.REQUEST_ITEMS());
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from "../context-menu-action-set";
+import { ContextMenuActionSet, ContextMenuActionNames } from "../context-menu-action-set";
import { NewProjectIcon, RenameIcon, MoveToIcon, DetailsIcon, AdvancedIcon, OpenIcon, Link, FolderSharedIcon } from "components/icon/icon";
import { ToggleFavoriteAction } from "../actions/favorite-action";
import { toggleFavorite } from "store/favorites/favorites-actions";
export const toggleFavoriteAction = {
component: ToggleFavoriteAction,
- name: "Add to Favorites",
+ name: ContextMenuActionNames.ADD_TO_FAVORITES,
execute: (dispatch, resources) => {
dispatch(toggleFavorite(resources[0])).then(() => {
dispatch(favoritePanelActions.REQUEST_ITEMS());
export const openInNewTabMenuAction = {
icon: OpenIcon,
- name: "Open in new tab",
+ name: ContextMenuActionNames.OPEN_IN_NEW_TAB,
execute: (dispatch, resources) => {
dispatch(openInNewTabAction(resources[0]));
},
export const copyToClipboardMenuAction = {
icon: Link,
- name: "Copy to clipboard",
+ name: ContextMenuActionNames.COPY_TO_CLIPBOARD,
execute: (dispatch, resources) => {
dispatch(copyToClipboardAction(resources));
},
export const viewDetailsAction = {
icon: DetailsIcon,
- name: "View details",
+ name: ContextMenuActionNames.VIEW_DETAILS,
execute: dispatch => {
dispatch(toggleDetailsPanel());
},
export const advancedAction = {
icon: AdvancedIcon,
- name: "API Details",
+ name: ContextMenuActionNames.API_DETAILS,
execute: (dispatch, resources) => {
dispatch(openAdvancedTabDialog(resources[0].uuid));
},
export const openWith3rdPartyClientAction = {
icon: FolderSharedIcon,
- name: "Open with 3rd party client",
+ name: ContextMenuActionNames.OPEN_WITH_3RD_PARTY_CLIENT,
execute: (dispatch, resources) => {
dispatch(openWebDavS3InfoDialog(resources[0].uuid));
},
export const editProjectAction = {
icon: RenameIcon,
- name: "Edit project",
+ name: ContextMenuActionNames.EDIT_PROJECT,
execute: (dispatch, resources) => {
dispatch(openProjectUpdateDialog(resources[0]));
},
export const shareAction = {
icon: ShareIcon,
- name: "Share",
+ name: ContextMenuActionNames.SHARE,
execute: (dispatch, resources) => {
dispatch(openSharingDialog(resources[0].uuid));
},
export const moveToAction = {
icon: MoveToIcon,
- name: "Move to",
+ name: ContextMenuActionNames.MOVE_TO,
execute: (dispatch, resource) => {
dispatch(openMoveProjectDialog(resource[0]));
},
export const toggleTrashAction = {
component: ToggleTrashAction,
- name: "Move to trash",
+ name: ContextMenuActionNames.MOVE_TO_TRASH,
execute: (dispatch, resources) => {
dispatch(toggleProjectTrashed(resources[0].uuid, resources[0].ownerUuid, resources[0].isTrashed!!, resources.length > 1));
},
export const freezeProjectAction = {
component: ToggleLockAction,
- name: "Freeze Project",
+ name: ContextMenuActionNames.FREEZE_PROJECT,
execute: (dispatch, resources) => {
if (resources[0].isFrozen) {
dispatch(unfreezeProject(resources[0].uuid));
export const newProjectAction: any = {
icon: NewProjectIcon,
- name: "New project",
+ name: ContextMenuActionNames.NEW_PROJECT,
execute: (dispatch, resources): void => {
dispatch(openProjectCreateDialog(resources[0].uuid));
},
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from "../context-menu-action-set";
+import { ContextMenuActionSet, ContextMenuActionNames } from "../context-menu-action-set";
import { TogglePublicFavoriteAction } from "views-components/context-menu/actions/public-favorite-action";
import { togglePublicFavorite } from "store/public-favorites/public-favorites-actions";
import { publicFavoritePanelActions } from "store/public-favorites-panel/public-favorites-action";
export const togglePublicFavoriteAction = {
component: TogglePublicFavoriteAction,
- name: "Add to public favorites",
+ name: ContextMenuActionNames.ADD_TO_PUBLIC_FAVORITES,
execute: (dispatch, resources) => {
dispatch(togglePublicFavorite(resources[0])).then(() => {
dispatch(publicFavoritePanelActions.REQUEST_ITEMS());
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from 'views-components/context-menu/context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from 'views-components/context-menu/context-menu-action-set';
import { AdvancedIcon, RemoveIcon, ShareIcon, AttributesIcon } from 'components/icon/icon';
import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
import { openRepositoryAttributes, openRemoveRepositoryDialog } from 'store/repositories/repositories-actions';
export const repositoryActionSet: ContextMenuActionSet = [
[
{
- name: 'Attributes',
+ name: ContextMenuActionNames.ATTRIBUTES,
icon: AttributesIcon,
execute: (dispatch, resources) => {
dispatch<any>(openRepositoryAttributes(resources[0].uuid));
},
},
{
- name: 'Share',
+ name: ContextMenuActionNames.SHARE,
icon: ShareIcon,
execute: (dispatch, resources) => {
dispatch<any>(openSharingDialog(resources[0].uuid));
},
},
{
- name: 'API Details',
+ name: ContextMenuActionNames.API_DETAILS,
icon: AdvancedIcon,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
- name: 'Remove',
+ name: ContextMenuActionNames.REMOVE,
icon: RemoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openRemoveRepositoryDialog(resources[0].uuid));
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from '../context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from '../context-menu-action-set';
import { ToggleFavoriteAction } from '../actions/favorite-action';
import { toggleFavorite } from 'store/favorites/favorites-actions';
[
{
component: ToggleFavoriteAction,
- name: 'Add to Favorites',
+ name: ContextMenuActionNames.ADD_TO_FAVORITES,
execute: (dispatch, resources) => {
resources.forEach((resource) => dispatch<any>(toggleFavorite(resource)));
},
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from '../context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from '../context-menu-action-set';
import { openCollectionCreateDialog } from 'store/collections/collection-create-actions';
import { NewProjectIcon, CollectionIcon } from 'components/icon/icon';
import { openProjectCreateDialog } from 'store/projects/project-create-actions';
[
{
icon: NewProjectIcon,
- name: 'New project',
+ name: ContextMenuActionNames.NEW_PROJECT,
execute: (dispatch, resources) => {
dispatch<any>(openProjectCreateDialog(resources[0].uuid));
},
},
{
icon: CollectionIcon,
- name: 'New Collection',
+ name: ContextMenuActionNames.NEW_COLLECTION,
execute: (dispatch, resources) => {
dispatch<any>(openCollectionCreateDialog(resources[0].uuid));
},
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from '../context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from '../context-menu-action-set';
import { DetailsIcon, AdvancedIcon, OpenIcon, Link } from 'components/icon/icon';
import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
import { toggleDetailsPanel } from 'store/details-panel/details-panel-action';
[
{
icon: OpenIcon,
- name: 'Open in new tab',
+ name: ContextMenuActionNames.OPEN_IN_NEW_TAB,
execute: (dispatch, resources) => {
resources.forEach((resource) => dispatch<any>(openInNewTabAction(resource)));
},
},
{
icon: Link,
- name: 'Copy to clipboard',
+ name: ContextMenuActionNames.COPY_TO_CLIPBOARD,
execute: (dispatch, resources) => {
dispatch<any>(copyToClipboardAction(resources));
},
},
{
icon: DetailsIcon,
- name: 'View details',
+ name: ContextMenuActionNames.VIEW_DETAILS,
execute: (dispatch) => {
dispatch<any>(toggleDetailsPanel());
},
},
{
icon: AdvancedIcon,
- name: 'API Details',
+ name: ContextMenuActionNames.API_DETAILS,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from 'views-components/context-menu/context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from 'views-components/context-menu/context-menu-action-set';
import { AdvancedIcon, RemoveIcon, AttributesIcon } from 'components/icon/icon';
import { openSshKeyRemoveDialog, openSshKeyAttributesDialog } from 'store/auth/auth-action-ssh';
import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
export const sshKeyActionSet: ContextMenuActionSet = [
[
{
- name: 'Attributes',
+ name: ContextMenuActionNames.ATTRIBUTES,
icon: AttributesIcon,
execute: (dispatch, resources) => {
dispatch<any>(openSshKeyAttributesDialog(resources[0].uuid));
},
},
{
- name: 'API Details',
+ name: ContextMenuActionNames.API_DETAILS,
icon: AdvancedIcon,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
- name: 'Remove',
+ name: ContextMenuActionNames.REMOVE,
icon: RemoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openSshKeyRemoveDialog(resources[0].uuid));
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from '../context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from '../context-menu-action-set';
import { ToggleTrashAction } from 'views-components/context-menu/actions/trash-action';
import { toggleTrashed } from 'store/trash/trash-actions';
[
{
component: ToggleTrashAction,
- name: 'Move to Trash',
+ name: ContextMenuActionNames.MOVE_TO_TRASH,
execute: (dispatch, resources) => {
resources.forEach((resource) => dispatch<any>(toggleTrashed(resource.kind, resource.uuid, resource.ownerUuid, resource.isTrashed!!)));
},
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from '../context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from '../context-menu-action-set';
import { DetailsIcon, ProvenanceGraphIcon, AdvancedIcon, RestoreFromTrashIcon } from 'components/icon/icon';
import { toggleCollectionTrashed } from 'store/trash/trash-actions';
import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
[
{
icon: DetailsIcon,
- name: 'View details',
+ name: ContextMenuActionNames.VIEW_DETAILS,
execute: (dispatch) => {
dispatch<any>(toggleDetailsPanel());
},
},
{
icon: ProvenanceGraphIcon,
- name: 'Provenance graph',
+ name: ContextMenuActionNames.PROVENANCE_GRAPH,
execute: (dispatch, resource) => {
// add code
},
},
{
icon: AdvancedIcon,
- name: 'API Details',
+ name: ContextMenuActionNames.API_DETAILS,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
icon: RestoreFromTrashIcon,
- name: 'Restore',
+ name: ContextMenuActionNames.RESTORE,
execute: (dispatch, resources) => {
resources.forEach((resource) => dispatch<any>(toggleCollectionTrashed(resource.uuid, true)));
},
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from 'views-components/context-menu/context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from 'views-components/context-menu/context-menu-action-set';
import {
AdvancedIcon,
ProjectIcon,
export const userActionSet: ContextMenuActionSet = [
[
{
- name: 'Attributes',
+ name: ContextMenuActionNames.ATTRIBUTES,
icon: AttributesIcon,
execute: (dispatch, resources) => {
dispatch<any>(openUserAttributes(resources[0].uuid));
},
},
{
- name: 'Project',
+ name: ContextMenuActionNames.HOME_PROJECT,
icon: ProjectIcon,
execute: (dispatch, resources) => {
dispatch<any>(openUserProjects(resources[0].uuid));
},
},
{
- name: 'API Details',
+ name: ContextMenuActionNames.API_DETAILS,
icon: AdvancedIcon,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
- name: 'Account Settings',
+ name: ContextMenuActionNames.ACCOUNT_SETTINGS,
icon: UserPanelIcon,
execute: (dispatch, resources) => {
dispatch<any>(navigateToUserProfile(resources[0].uuid));
],
[
{
- name: 'Activate User',
+ name: ContextMenuActionNames.ACTIVATE_USER,
icon: ActiveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openActivateDialog(resources[0].uuid));
filters: [isAdmin, canActivateUser],
},
{
- name: 'Setup User',
+ name: ContextMenuActionNames.SETUP_USER,
icon: AdminMenuIcon,
execute: (dispatch, resources) => {
dispatch<any>(openSetupDialog(resources[0].uuid));
filters: [isAdmin, canSetupUser],
},
{
- name: 'Deactivate User',
+ name: ContextMenuActionNames.DEACTIVATE_USER,
icon: DeactivateUserIcon,
execute: (dispatch, resources) => {
dispatch<any>(openDeactivateDialog(resources[0].uuid));
filters: [isAdmin, canDeactivateUser],
},
{
- name: 'Login As User',
+ name: ContextMenuActionNames.LOGIN_AS_USER,
icon: LoginAsIcon,
execute: (dispatch, resources) => {
dispatch<any>(loginAs(resources[0].uuid));
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from 'views-components/context-menu/context-menu-action-set';
+import { ContextMenuActionSet, ContextMenuActionNames } from 'views-components/context-menu/context-menu-action-set';
import { AdvancedIcon, RemoveIcon, AttributesIcon } from 'components/icon/icon';
import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
import { openVirtualMachineAttributes, openRemoveVirtualMachineDialog } from 'store/virtual-machines/virtual-machines-actions';
export const virtualMachineActionSet: ContextMenuActionSet = [
[
{
- name: 'Attributes',
+ name: ContextMenuActionNames.ATTRIBUTES,
icon: AttributesIcon,
execute: (dispatch, resources) => {
dispatch<any>(openVirtualMachineAttributes(resources[0].uuid));
},
},
{
- name: 'API Details',
+ name: ContextMenuActionNames.API_DETAILS,
icon: AdvancedIcon,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
- name: 'Remove',
+ name: ContextMenuActionNames.REMOVE,
icon: RemoveIcon,
execute: (dispatch, resources) => {
dispatch<any>(openRemoveVirtualMachineDialog(resources[0].uuid));
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuActionSet } from "views-components/context-menu/context-menu-action-set";
+import { ContextMenuActionSet, ContextMenuActionNames } from "views-components/context-menu/context-menu-action-set";
import { openRunProcess, deleteWorkflow } from "store/workflow-panel/workflow-panel-actions";
import { DetailsIcon, AdvancedIcon, OpenIcon, Link, StartIcon, TrashIcon } from "components/icon/icon";
import { copyToClipboardAction, openInNewTabAction } from "store/open-in-new-tab/open-in-new-tab.actions";
[
{
icon: OpenIcon,
- name: "Open in new tab",
+ name: ContextMenuActionNames.OPEN_IN_NEW_TAB,
execute: (dispatch, resources) => {
dispatch<any>(openInNewTabAction(resources[0]));
},
},
{
icon: Link,
- name: "Copy to clipboard",
+ name: ContextMenuActionNames.COPY_TO_CLIPBOARD,
execute: (dispatch, resources) => {
dispatch<any>(copyToClipboardAction(resources));
},
},
{
icon: DetailsIcon,
- name: "View details",
+ name: ContextMenuActionNames.VIEW_DETAILS,
execute: dispatch => {
dispatch<any>(toggleDetailsPanel());
},
},
{
icon: AdvancedIcon,
- name: "API Details",
+ name: ContextMenuActionNames.API_DETAILS,
execute: (dispatch, resources) => {
dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
icon: StartIcon,
- name: "Run Workflow",
+ name: ContextMenuActionNames.RUN_WORKFLOW,
execute: (dispatch, resources) => {
dispatch<any>(openRunProcess(resources[0].uuid, resources[0].ownerUuid, resources[0].name));
},
...readOnlyWorkflowActionSet[0],
{
icon: TrashIcon,
- name: "Delete Workflow",
+ name: ContextMenuActionNames.DELETE_WORKFLOW,
execute: (dispatch, resources) => {
dispatch<any>(deleteWorkflow(resources[0].uuid, resources[0].ownerUuid));
},
export enum ContextMenuActionNames {
ACCOUNT_SETTINGS = 'Account settings',
ACTIVATE_USER = 'Activate user',
- ADD_TO_FAVORITES = 'Add to Favorites',
+ ADD_TO_FAVORITES = 'Add to favorites',
ADD_TO_PUBLIC_FAVORITES = 'Add to public favorites',
ATTRIBUTES = 'Attributes',
API_DETAILS = 'API Details',
EDIT_COLLECTION = 'Edit collection',
EDIT_PROCESS = 'Edit process',
EDIT_PROJECT = 'Edit project',
- FREEZE_PROJECT = 'Freeze Project',
+ FREEZE_PROJECT = 'Freeze project',
+ HOME_PROJECT = 'Home project',
LOGIN_AS_USER = 'Login as user',
MAKE_A_COPY = 'Make a copy',
MANAGE = 'Manage',
MOVE_SELECTED_INTO_SEPARATE_COLLECTIONS = 'Move selected into separate collections',
MOVE_TO = 'Move to',
MOVE_TO_TRASH = 'Move to trash',
- NEW_COLLECTION = 'New Collection',
+ NEW_COLLECTION = 'New collection',
NEW_PROJECT = 'New project',
OPEN_IN_NEW_TAB = 'Open in new tab',
- OPEN_W_3RD_PARTY_CLIENT = 'Open with 3rd party client',
+ OPEN_WITH_3RD_PARTY_CLIENT = 'Open with 3rd party client',
OUTPUTS = 'Outputs',
PROVENANCE_GRAPH = 'Provenance graph',
READ = 'Read',
REMOVE = 'Remove',
REMOVE_SELECTED = 'Remove selected',
RENAME = 'Rename',
+ RESTORE = 'Restore',
RESTORE_VERSION = 'Restore version',
RUN_WORKFLOW = 'Run Workflow',
SELECT_ALL = 'Select all',
import { copyToClipboardAction } from "store/open-in-new-tab/open-in-new-tab.actions";
import { openWebDavS3InfoDialog } from "store/collections/collection-info-actions";
-const { MAKE_A_COPY, MOVE_TO, MOVE_TO_TRASH, EDIT_COLLECTION, OPEN_IN_NEW_TAB, OPEN_W_3RD_PARTY_CLIENT, COPY_TO_CLIPBOARD, VIEW_DETAILS, API_DETAILS, ADD_TO_FAVORITES, SHARE} = MultiSelectMenuActionNames;
+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} = MultiSelectMenuActionNames;
const msCopyCollection: MultiSelectMenuAction = {
name: MAKE_A_COPY,
};
const msOpenWith3rdPartyClientAction: MultiSelectMenuAction = {
- name: OPEN_W_3RD_PARTY_CLIENT,
+ name: OPEN_WITH_3RD_PARTY_CLIENT,
icon: FolderSharedIcon,
hasAlts: false,
isForMulti: false,
],
];
-export const msReadOnlyCollectionActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_TO_CLIPBOARD, MAKE_A_COPY, VIEW_DETAILS, API_DETAILS, ADD_TO_FAVORITES, OPEN_W_3RD_PARTY_CLIENT]);
-export const msCommonCollectionActionFilter = new Set([OPEN_IN_NEW_TAB, COPY_TO_CLIPBOARD, MAKE_A_COPY, VIEW_DETAILS, API_DETAILS, OPEN_W_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_W_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_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
MOVE_TO = 'Move to',
NEW_PROJECT = 'New project',
OPEN_IN_NEW_TAB = 'Open in new tab',
- OPEN_W_3RD_PARTY_CLIENT = 'Open with 3rd party client',
+ OPEN_WITH_3RD_PARTY_CLIENT = 'Open with 3rd party client',
OUTPUTS = 'Outputs',
REMOVE = 'Remove',
RUN_WORKFLOW = 'Run Workflow',
COPY_TO_CLIPBOARD,
VIEW_DETAILS,
API_DETAILS,
- OPEN_W_3RD_PARTY_CLIENT,
+ OPEN_WITH_3RD_PARTY_CLIENT,
EDIT_PROJECT,
SHARE,
MOVE_TO,
};
const msOpenWith3rdPartyClientAction: MultiSelectMenuAction = {
- name: OPEN_W_3RD_PARTY_CLIENT,
+ name: OPEN_WITH_3RD_PARTY_CLIENT,
icon: FolderSharedIcon,
hasAlts: false,
isForMulti: false,
MOVE_TO,
NEW_PROJECT,
OPEN_IN_NEW_TAB,
- OPEN_W_3RD_PARTY_CLIENT,
+ OPEN_WITH_3RD_PARTY_CLIENT,
SHARE,
VIEW_DETAILS,
]);
-export const msReadOnlyProjectActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_W_3RD_PARTY_CLIENT, VIEW_DETAILS,]);
-export const msFrozenProjectActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_W_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_W_3RD_PARTY_CLIENT, VIEW_DETAILS, SHARE, FREEZE_PROJECT, ADD_TO_PUBLIC_FAVORITES])
+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 msFilterGroupActionFilter = new Set<string>([ADD_TO_FAVORITES, API_DETAILS, COPY_TO_CLIPBOARD, OPEN_IN_NEW_TAB, OPEN_W_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_W_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_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