X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/4927f812339c86a8d84354c4080c5a12a3d9ef2b..a2e786b48045eb414c39c3265ab2992712706711:/src/index.tsx diff --git a/src/index.tsx b/src/index.tsx index d83abf76..88fd2298 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -7,7 +7,7 @@ import * as ReactDOM from 'react-dom'; import { Provider } from "react-redux"; import { MainPanel } from './views/main-panel/main-panel'; import './index.css'; -import { Route } from 'react-router'; +import { Route, Switch } from 'react-router'; import createBrowserHistory from "history/createBrowserHistory"; import { History } from "history"; import { configureStore, RootStore } from './store/store'; @@ -25,6 +25,7 @@ import { resourceActionSet } from './views-components/context-menu/action-sets/r import { favoriteActionSet } from "./views-components/context-menu/action-sets/favorite-action-set"; import { collectionFilesActionSet } from './views-components/context-menu/action-sets/collection-files-action-set'; import { collectionFilesItemActionSet } from './views-components/context-menu/action-sets/collection-files-item-action-set'; +import { collectionFilesNotSelectedActionSet } from './views-components/context-menu/action-sets/collection-files-not-selected-action-set'; import { collectionActionSet } from './views-components/context-menu/action-sets/collection-action-set'; import { collectionResourceActionSet } from './views-components/context-menu/action-sets/collection-resource-action-set'; import { processActionSet } from './views-components/context-menu/action-sets/process-action-set'; @@ -47,6 +48,8 @@ import { getBuildInfo } from '~/common/app-info'; import { DragDropContextProvider } from 'react-dnd'; import HTML5Backend from 'react-dnd-html5-backend'; import { initAdvanceFormProjectsTree } from '~/store/search-bar/search-bar-actions'; +import { repositoryActionSet } from '~/views-components/context-menu/action-sets/repository-action-set'; +import { sshKeyActionSet } from '~/views-components/context-menu/action-sets/ssh-key-action-set'; console.log(`Starting arvados [${getBuildInfo()}]`); @@ -55,6 +58,7 @@ addMenuActionSet(ContextMenuKind.PROJECT, projectActionSet); addMenuActionSet(ContextMenuKind.RESOURCE, resourceActionSet); addMenuActionSet(ContextMenuKind.FAVORITE, favoriteActionSet); addMenuActionSet(ContextMenuKind.COLLECTION_FILES, collectionFilesActionSet); +addMenuActionSet(ContextMenuKind.COLLECTION_FILES_NOT_SELECTED, collectionFilesNotSelectedActionSet); addMenuActionSet(ContextMenuKind.COLLECTION_FILES_ITEM, collectionFilesItemActionSet); addMenuActionSet(ContextMenuKind.COLLECTION, collectionActionSet); addMenuActionSet(ContextMenuKind.COLLECTION_RESOURCE, collectionResourceActionSet); @@ -62,6 +66,8 @@ addMenuActionSet(ContextMenuKind.TRASHED_COLLECTION, trashedCollectionActionSet) addMenuActionSet(ContextMenuKind.PROCESS, processActionSet); addMenuActionSet(ContextMenuKind.PROCESS_RESOURCE, processResourceActionSet); addMenuActionSet(ContextMenuKind.TRASH, trashActionSet); +addMenuActionSet(ContextMenuKind.REPOSITORY, repositoryActionSet); +addMenuActionSet(ContextMenuKind.SSH_KEY, sshKeyActionSet); fetchConfig() .then(({ config, apiHost }) => { @@ -91,10 +97,10 @@ fetchConfig() -
+ -
+