X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/24ddc06cb04b124d337e91c190230bfad83e490b..f2b031de2183439f8aade2f290cd0e3f95f6438c:/src/index.tsx diff --git a/src/index.tsx b/src/index.tsx index 49c421382f..faaf6b81ec 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -23,30 +23,41 @@ import { rootProjectActionSet } from "./views-components/context-menu/action-set import { projectActionSet } from "./views-components/context-menu/action-sets/project-action-set"; import { resourceActionSet } from './views-components/context-menu/action-sets/resource-action-set'; 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 { 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 { initPickerProjectTree } from './views-components/project-tree-picker/project-tree-picker'; addMenuActionSet(ContextMenuKind.ROOT_PROJECT, rootProjectActionSet); addMenuActionSet(ContextMenuKind.PROJECT, projectActionSet); addMenuActionSet(ContextMenuKind.RESOURCE, resourceActionSet); addMenuActionSet(ContextMenuKind.FAVORITE, favoriteActionSet); +addMenuActionSet(ContextMenuKind.COLLECTION_FILES, collectionFilesActionSet); +addMenuActionSet(ContextMenuKind.COLLECTION_FILES_ITEM, collectionFilesItemActionSet); +addMenuActionSet(ContextMenuKind.COLLECTION, collectionActionSet); +addMenuActionSet(ContextMenuKind.COLLECTION_RESOURCE, collectionResourceActionSet); fetchConfig() .then(config => { const history = createBrowserHistory(); - const services = createServices(config.API_HOST); + const services = createServices(config); const store = configureStore(history, services); store.dispatch(initAuth()); store.dispatch(getProjectList(services.authService.getUuid())); - - const Token = (props: any) => ; + store.dispatch(initPickerProjectTree()); + + const TokenComponent = (props: any) => ; + const WorkbenchComponent = (props: any) => ; const App = () =>
- - + +