fixed conflicts
authorPawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>
Wed, 21 Nov 2018 15:14:05 +0000 (16:14 +0100)
committerPawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>
Wed, 21 Nov 2018 15:14:05 +0000 (16:14 +0100)
Feature #13864

Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>

1  2 
src/components/icon/icon.tsx
src/models/resource.ts
src/routes/route-change-handlers.ts
src/routes/routes.ts
src/services/services.ts
src/store/navigation/navigation-action.ts
src/store/store.ts
src/store/workbench/workbench-actions.ts
src/views-components/main-app-bar/account-menu.tsx
src/views-components/main-content-bar/main-content-bar.tsx
src/views/workbench/workbench.tsx

index 4e1a0635704b533a358adc2e78718e3f575f1c05,b46195de876e385d8ac721b38c88c122945b630c..f0f7da1d5f2694876095dee857d9509e080d7f53
@@@ -3,6 -3,7 +3,6 @@@
  // SPDX-License-Identifier: AGPL-3.0
  
  import * as React from 'react';
 -import AccessTime from '@material-ui/icons/AccessTime';
  import Add from '@material-ui/icons/Add';
  import ArrowBack from '@material-ui/icons/ArrowBack';
  import ArrowDropDown from '@material-ui/icons/ArrowDropDown';
@@@ -31,6 -32,7 +31,7 @@@ import Input from '@material-ui/icons/I
  import InsertDriveFile from '@material-ui/icons/InsertDriveFile';
  import LastPage from '@material-ui/icons/LastPage';
  import LibraryBooks from '@material-ui/icons/LibraryBooks';
+ import ListAlt from '@material-ui/icons/ListAlt';
  import Menu from '@material-ui/icons/Menu';
  import MoreVert from '@material-ui/icons/MoreVert';
  import Mail from '@material-ui/icons/Mail';
@@@ -54,6 -56,7 +55,7 @@@ export type IconType = React.SFC<{ clas
  export const AddIcon: IconType = (props) => <Add {...props} />;
  export const AddFavoriteIcon: IconType = (props) => <StarBorder {...props} />;
  export const AdvancedIcon: IconType = (props) => <SettingsApplications {...props} />;
+ export const AttributesIcon: IconType = (props) => <ListAlt {...props} />;
  export const BackIcon: IconType = (props) => <ArrowBack {...props} />;
  export const CustomizeTableIcon: IconType = (props) => <Menu {...props} />;
  export const CommandIcon: IconType = (props) => <LastPage {...props} />;
@@@ -85,6 -88,7 +87,6 @@@ export const ProcessIcon: IconType = (p
  export const ProjectIcon: IconType = (props) => <Folder {...props} />;
  export const ProjectsIcon: IconType = (props) => <Inbox {...props} />;
  export const ProvenanceGraphIcon: IconType = (props) => <DeviceHub {...props} />;
 -export const RecentIcon: IconType = (props) => <AccessTime {...props} />;
  export const RemoveIcon: IconType = (props) => <Delete {...props} />;
  export const RemoveFavoriteIcon: IconType = (props) => <Star {...props} />;
  export const RenameIcon: IconType = (props) => <Edit {...props} />;
diff --combined src/models/resource.ts
index f200713e6a6ceb4eea96ccec749c1c9534d79922,520520f76eb1d39c65c04378968b9c4de3093e5e..d2f524fc51d47a4537fd624fd47c9c9952e50b05
@@@ -28,8 -28,8 +28,9 @@@ export enum ResourceKind 
      LOG = "arvados#log",
      PROCESS = "arvados#containerRequest",
      PROJECT = "arvados#group",
+     REPOSITORY = "arvados#repository",
      USER = "arvados#user",
 +    VIRTUAL_MACHINE = "arvados#virtualMachine",
      WORKFLOW = "arvados#workflow",
      NONE = "arvados#none"
  }
@@@ -40,8 -40,8 +41,9 @@@ export enum ResourceObjectType 
      CONTAINER_REQUEST = 'xvhdp',
      GROUP = 'j7d0g',
      LOG = '57u5n',
+     REPOSITORY = 's0uqq',
      USER = 'tpzed',
 +    VIRTUAL_MACHINE = '2x53u',
      WORKFLOW = '7fd4e',
  }
  
@@@ -75,8 -75,8 +77,10 @@@ export const extractUuidKind = (uuid: s
              return ResourceKind.LOG;
          case ResourceObjectType.WORKFLOW:
              return ResourceKind.WORKFLOW;
 +        case ResourceObjectType.VIRTUAL_MACHINE:
 +            return ResourceKind.VIRTUAL_MACHINE;
+         case ResourceObjectType.REPOSITORY:
+             return ResourceKind.REPOSITORY;
          default:
              return undefined;
      }
index ca15a150aa626d8f3d1b3322448b093eb8ba60e2,c7f3555bcf79db6f64448b330cb4132392a913cb..22d0b7c711364d2a466b8b0af5e2b7d465cb73aa
@@@ -4,8 -4,8 +4,8 @@@
  
  import { History, Location } from 'history';
  import { RootStore } from '~/store/store';
- import { matchProcessRoute, matchProcessLogRoute, matchProjectRoute, matchCollectionRoute, matchFavoritesRoute, matchTrashRoute, matchRootRoute, matchSharedWithMeRoute, matchRunProcessRoute, matchWorkflowRoute, matchSearchResultsRoute, matchVirtualMachineRoute } from './routes';
- import { loadProject, loadCollection, loadFavorites, loadTrash, loadProcess, loadProcessLog, loadVirtualMachines } from '~/store/workbench/workbench-actions';
 -import { matchProcessRoute, matchProcessLogRoute, matchProjectRoute, matchCollectionRoute, matchFavoritesRoute, matchTrashRoute, matchRootRoute, matchSharedWithMeRoute, matchRunProcessRoute, matchWorkflowRoute, matchSearchResultsRoute, matchSshKeysRoute, matchRepositoriesRoute } from './routes';
 -import { loadProject, loadCollection, loadFavorites, loadTrash, loadProcess, loadProcessLog, loadSshKeys, loadRepositories } from '~/store/workbench/workbench-actions';
++import { matchProcessRoute, matchProcessLogRoute, matchProjectRoute, matchCollectionRoute, matchFavoritesRoute, matchTrashRoute, matchRootRoute, matchSharedWithMeRoute, matchRunProcessRoute, matchWorkflowRoute, matchSearchResultsRoute, matchSshKeysRoute, matchRepositoriesRoute, matchVirtualMachineRoute } from './routes';
++import { loadProject, loadCollection, loadFavorites, loadTrash, loadProcess, loadProcessLog, loadSshKeys, loadRepositories, loadVirtualMachines } from '~/store/workbench/workbench-actions';
  import { navigateToRootProject } from '~/store/navigation/navigation-action';
  import { loadSharedWithMe, loadRunProcess, loadWorkflow, loadSearchResults } from '~//store/workbench/workbench-actions';
  
@@@ -23,11 -23,12 +23,13 @@@ const handleLocationChange = (store: Ro
      const trashMatch = matchTrashRoute(pathname);
      const processMatch = matchProcessRoute(pathname);
      const processLogMatch = matchProcessLogRoute(pathname);
+     const repositoryMatch = matchRepositoriesRoute(pathname); 
      const searchResultsMatch = matchSearchResultsRoute(pathname);
      const sharedWithMeMatch = matchSharedWithMeRoute(pathname);
      const runProcessMatch = matchRunProcessRoute(pathname);
 +    const virtualMachineMatch = matchVirtualMachineRoute(pathname);
      const workflowMatch = matchWorkflowRoute(pathname);
+     const sshKeysMatch = matchSshKeysRoute(pathname);
  
      if (projectMatch) {
          store.dispatch(loadProject(projectMatch.params.id));
          store.dispatch(loadWorkflow);
      } else if (searchResultsMatch) {
          store.dispatch(loadSearchResults);
 +    } else if (virtualMachineMatch) {
 +        store.dispatch(loadVirtualMachines);
+     } else if(repositoryMatch) {
+         store.dispatch(loadRepositories);
+     } else if (sshKeysMatch) {
+         store.dispatch(loadSshKeys);
      }
  };
diff --combined src/routes/routes.ts
index 3723847ca8b3ed5cc9632ae547e44f3f3602be91,c9c2ae20e1eff73e55ae7d76b6e52aa3c2658f00..71cdfdacad218da9ea51cf636ffacd2cf95916ad
@@@ -16,11 -16,12 +16,13 @@@ export const Routes = 
      FAVORITES: '/favorites',
      TRASH: '/trash',
      PROCESS_LOGS: `/process-logs/:id(${RESOURCE_UUID_PATTERN})`,
+     REPOSITORIES: '/repositories',
      SHARED_WITH_ME: '/shared-with-me',
      RUN_PROCESS: '/run-process',
 +    VIRTUAL_MACHINES: '/virtual-machines',
      WORKFLOWS: '/workflows',
-     SEARCH_RESULTS: '/search-results'
+     SEARCH_RESULTS: '/search-results',
+     SSH_KEYS: `/ssh-keys`
  };
  
  export const getResourceUrl = (uuid: string) => {
@@@ -78,5 -79,8 +80,11 @@@ export const matchWorkflowRoute = (rout
  export const matchSearchResultsRoute = (route: string) =>
      matchPath<ResourceRouteParams>(route, { path: Routes.SEARCH_RESULTS });
  
 +export const matchVirtualMachineRoute = (route: string) =>
 +    matchPath<ResourceRouteParams>(route, { path: Routes.VIRTUAL_MACHINES });
++    
+ export const matchRepositoriesRoute = (route: string) =>
+     matchPath<ResourceRouteParams>(route, { path: Routes.REPOSITORIES });
+     
+ export const matchSshKeysRoute = (route: string) =>
+     matchPath(route, { path: Routes.SSH_KEYS });
diff --combined src/services/services.ts
index 9e9fcc59d3d72201b26cb2f5614c7349b244997c,308505c5abdbf1ef625b1ff49e038096dad829d5..f1ef86b88555a7760a43d90178b8a7a36d796285
@@@ -24,7 -24,8 +24,9 @@@ import { ApiActions } from "~/services/
  import { WorkflowService } from "~/services/workflow-service/workflow-service";
  import { SearchService } from '~/services/search-service/search-service';
  import { PermissionService } from "~/services/permission-service/permission-service";
 +import { VirtualMachinesService } from "~/services/virtual-machines-service/virtual-machines-service";
+ import { RepositoriesService } from '~/services/repositories-service/repositories-service';
+ import { AuthorizedKeysService } from '~/services/authorized-keys-service/authorized-keys-service';
  
  export type ServiceRepository = ReturnType<typeof createServices>;
  
@@@ -35,6 -36,7 +37,7 @@@ export const createServices = (config: 
      const webdavClient = new WebDAV();
      webdavClient.defaults.baseURL = config.keepWebServiceUrl;
  
+     const authorizedKeysService = new AuthorizedKeysService(apiClient, actions);
      const containerRequestService = new ContainerRequestService(apiClient, actions);
      const containerService = new ContainerService(apiClient, actions);
      const groupsService = new GroupsService(apiClient, actions);
@@@ -43,8 -45,8 +46,9 @@@
      const logService = new LogService(apiClient, actions);
      const permissionService = new PermissionService(apiClient, actions);
      const projectService = new ProjectService(apiClient, actions);
+     const repositoriesService = new RepositoriesService(apiClient, actions);
      const userService = new UserService(apiClient, actions);
 +    const virtualMachineService = new VirtualMachinesService(apiClient, actions);
      const workflowService = new WorkflowService(apiClient, actions);
  
      const ancestorsService = new AncestorService(groupsService, userService);
@@@ -59,6 -61,7 +63,7 @@@
          ancestorsService,
          apiClient,
          authService,
+         authorizedKeysService,
          collectionFilesService,
          collectionService,
          containerRequestService,
          logService,
          permissionService,
          projectService,
+         repositoriesService,
          searchService,
          tagService,
          userService,
 +        virtualMachineService,
          webdavClient,
          workflowService,
      };
index c4cf625271df1820e4742f92b3d92b31c005cce2,fc08f3ac495403949d4aa2fc6f32a82e18db3bba..2bfd8b9944ec75e4911ab2bbd08c19676cab62c5
@@@ -62,4 -62,6 +62,8 @@@ export const navigateToRunProcess = pus
  
  export const navigateToSearchResults = push(Routes.SEARCH_RESULTS);
  
 +export const navigateToVirtualMachines = push(Routes.VIRTUAL_MACHINES);
++
+ export const navigateToRepositories = push(Routes.REPOSITORIES);
+ export const navigateToSshKeys= push(Routes.SSH_KEYS);
diff --combined src/store/store.ts
index 3f1f4a25b4ed4ce6e57b3ecdeb05117c45fe5915,5e648c99ef9efadd32dffba96a493cd8dde2c397..4ab0918e60fb0ac6a636d03e4f95d0d9d3c6e468
@@@ -43,7 -43,7 +43,8 @@@ import { searchBarReducer } from './sea
  import { SEARCH_RESULTS_PANEL_ID } from '~/store/search-results-panel/search-results-panel-actions';
  import { SearchResultsMiddlewareService } from './search-results-panel/search-results-middleware-service';
  import { resourcesDataReducer } from "~/store/resources-data/resources-data-reducer";
 +import { virtualMachinesReducer } from "~/store/virtual-machines/virtual-machines-reducer";
+ import { repositoriesReducer } from '~/store/repositories/repositories-reducer';
  
  const composeEnhancers =
      (process.env.NODE_ENV === 'development' &&
@@@ -113,5 -113,5 +114,6 @@@ const createRootReducer = (services: Se
      runProcessPanel: runProcessPanelReducer,
      appInfo: appInfoReducer,
      searchBar: searchBarReducer,
-     virtualMachines: virtualMachinesReducer
++    virtualMachines: virtualMachinesReducer,
+     repositories: repositoriesReducer
  });
index 52d6c9e62f409aea7f3b7df1c7b007be7c2c887a,5e33661cfff12f9c0442de7f09011f3381e7a1a0..12dbe7b1a8a2d71ebfcd35eb4c2fb27cd8c6fdec
@@@ -3,23 -3,23 +3,23 @@@
  // SPDX-License-Identifier: AGPL-3.0
  
  import { Dispatch } from 'redux';
- import { RootState } from "../store";
+ import { RootState } from "~/store/store";
  import { loadDetailsPanel } from '~/store/details-panel/details-panel-action';
- import { snackbarActions } from '../snackbar/snackbar-actions';
- import { loadFavoritePanel } from '../favorite-panel/favorite-panel-action';
+ import { snackbarActions } from '~/store/snackbar/snackbar-actions';
+ import { loadFavoritePanel } from '~/store/favorite-panel/favorite-panel-action';
  import { openProjectPanel, projectPanelActions, setIsProjectPanelTrashed } from '~/store/project-panel/project-panel-action';
- import { activateSidePanelTreeItem, initSidePanelTree, SidePanelTreeCategory, loadSidePanelTreeProjects } from '../side-panel-tree/side-panel-tree-actions';
- import { loadResource, updateResources } from '../resources/resources-actions';
+ import { activateSidePanelTreeItem, initSidePanelTree, SidePanelTreeCategory, loadSidePanelTreeProjects } from '~/store/side-panel-tree/side-panel-tree-actions';
+ import { loadResource, updateResources } from '~/store/resources/resources-actions';
  import { favoritePanelActions } from '~/store/favorite-panel/favorite-panel-action';
  import { projectPanelColumns } from '~/views/project-panel/project-panel';
  import { favoritePanelColumns } from '~/views/favorite-panel/favorite-panel';
  import { matchRootRoute } from '~/routes/routes';
- import { setSidePanelBreadcrumbs, setProcessBreadcrumbs, setSharedWithMeBreadcrumbs, setTrashBreadcrumbs, setBreadcrumbs } from '../breadcrumbs/breadcrumbs-actions';
- import { navigateToProject } from '../navigation/navigation-action';
+ import { setSidePanelBreadcrumbs, setProcessBreadcrumbs, setSharedWithMeBreadcrumbs, setTrashBreadcrumbs, setBreadcrumbs } from '~/store/breadcrumbs/breadcrumbs-actions';
+ import { navigateToProject } from '~/store/navigation/navigation-action';
  import { MoveToFormDialogData } from '~/store/move-to-dialog/move-to-dialog';
  import { ServiceRepository } from '~/services/services';
- import { getResource } from '../resources/resources';
- import { getProjectPanelCurrentUuid } from '../project-panel/project-panel-action';
+ import { getResource } from '~/store/resources/resources';
+ import { getProjectPanelCurrentUuid } from '~/store/project-panel/project-panel-action';
  import * as projectCreateActions from '~/store/projects/project-create-actions';
  import * as projectMoveActions from '~/store/projects/project-move-actions';
  import * as projectUpdateActions from '~/store/projects/project-update-actions';
@@@ -27,21 -27,22 +27,22 @@@ import * as collectionCreateActions fro
  import * as collectionCopyActions from '~/store/collections/collection-copy-actions';
  import * as collectionUpdateActions from '~/store/collections/collection-update-actions';
  import * as collectionMoveActions from '~/store/collections/collection-move-actions';
- import * as processesActions from '../processes/processes-actions';
+ import * as processesActions from '~/store/processes/processes-actions';
  import * as processMoveActions from '~/store/processes/process-move-actions';
  import * as processUpdateActions from '~/store/processes/process-update-actions';
  import * as processCopyActions from '~/store/processes/process-copy-actions';
  import { trashPanelColumns } from "~/views/trash-panel/trash-panel";
  import { loadTrashPanel, trashPanelActions } from "~/store/trash-panel/trash-panel-action";
- import { initProcessLogsPanel } from '../process-logs-panel/process-logs-panel-actions';
+ import { initProcessLogsPanel } from '~/store/process-logs-panel/process-logs-panel-actions';
  import { loadProcessPanel } from '~/store/process-panel/process-panel-actions';
  import { sharedWithMePanelActions } from '~/store/shared-with-me-panel/shared-with-me-panel-actions';
- import { loadSharedWithMePanel } from '../shared-with-me-panel/shared-with-me-panel-actions';
+ import { loadSharedWithMePanel } from '~/store/shared-with-me-panel/shared-with-me-panel-actions';
  import { CopyFormDialogData } from '~/store/copy-dialog/copy-dialog';
  import { loadWorkflowPanel, workflowPanelActions } from '~/store/workflow-panel/workflow-panel-actions';
+ import { loadSshKeysPanel } from '~/store/auth/auth-action';
  import { workflowPanelColumns } from '~/views/workflow-panel/workflow-panel-view';
  import { progressIndicatorActions } from '~/store/progress-indicator/progress-indicator-actions';
- import { getProgressIndicator } from '../progress-indicator/progress-indicator-reducer';
+ import { getProgressIndicator } from '~/store/progress-indicator/progress-indicator-reducer';
  import { ResourceKind, extractUuidKind } from '~/models/resource';
  import { FilterBuilder } from '~/services/api/filter-builder';
  import { GroupContentsResource } from '~/services/groups-service/groups-service';
@@@ -53,7 -54,7 +54,8 @@@ import { collectionPanelActions } from 
  import { CollectionResource } from "~/models/collection";
  import { searchResultsPanelActions, loadSearchResultsPanel } from '~/store/search-results-panel/search-results-panel-actions';
  import { searchResultsPanelColumns } from '~/views/search-results-panel/search-results-panel-view';
 +import { loadVirtualMachinesPanel } from '~/store/virtual-machines/virtual-machines-actions';
+ import { loadRepositoriesPanel } from '~/store/repositories/repositories-actions';
  
  export const WORKBENCH_LOADING_SCREEN = 'workbenchLoadingScreen';
  
@@@ -391,11 -392,16 +393,22 @@@ export const loadSearchResults = handle
          await dispatch(loadSearchResultsPanel());
      });
  
 +export const loadVirtualMachines = handleFirstTimeLoad(
 +    async (dispatch: Dispatch<any>) => {
 +        await dispatch(loadVirtualMachinesPanel());
 +        dispatch(setBreadcrumbs([{ label: 'Virtual Machines' }]));
 +    });
++    
+ export const loadRepositories = handleFirstTimeLoad(
+     async (dispatch: Dispatch<any>) => {
+         await dispatch(loadRepositoriesPanel());
+         dispatch(setBreadcrumbs([{ label: 'Repositories' }]));
+     });
+ export const loadSshKeys = handleFirstTimeLoad(
+     async (dispatch: Dispatch<any>) => {
+         await dispatch(loadSshKeysPanel());
+     });
  
  const finishLoadingProject = (project: GroupContentsResource | string) =>
      async (dispatch: Dispatch<any>) => {
index baf893e2e77e7da55fe5eced464096bd574d8d36,f00c678e15c573abe0572c6e729bafd887edff3d..ca88021ccdb04c6491ec5389f94dade7ccd35424
@@@ -8,10 -8,11 +8,12 @@@ import { User, getUserFullname } from "
  import { DropdownMenu } from "~/components/dropdown-menu/dropdown-menu";
  import { UserPanelIcon } from "~/components/icon/icon";
  import { DispatchProp, connect } from 'react-redux';
- import { logout } from "~/store/auth/auth-action";
+ import { logout } from '~/store/auth/auth-action';
  import { RootState } from "~/store/store";
- import { openCurrentTokenDialog } from '../../store/current-token-dialog/current-token-dialog-actions';
+ import { openCurrentTokenDialog } from '~/store/current-token-dialog/current-token-dialog-actions';
+ import { openRepositoriesPanel } from "~/store/repositories/repositories-actions";
+ import { navigateToSshKeys } from '~/store/navigation/navigation-action';
 +import { openVirtualMachines } from "~/store/virtual-machines/virtual-machines-actions";
  
  interface AccountMenuProps {
      user?: User;
@@@ -31,8 -32,9 +33,10 @@@ export const AccountMenu = connect(mapS
                  <MenuItem>
                      {getUserFullname(user)}
                  </MenuItem>
 +                <MenuItem onClick={() => dispatch(openVirtualMachines())}>Virtual Machines</MenuItem>
+                 <MenuItem onClick={() => dispatch(openRepositoriesPanel())}>Repositories</MenuItem>
                  <MenuItem onClick={() => dispatch(openCurrentTokenDialog)}>Current token</MenuItem>
+                 <MenuItem onClick={() => dispatch(navigateToSshKeys)}>Ssh Keys</MenuItem>
                  <MenuItem>My account</MenuItem>
                  <MenuItem onClick={() => dispatch(logout())}>Logout</MenuItem>
              </DropdownMenu>
index b38f85b5ff32cd44fe5aee2cd88934fcca93e753,741a7e00f68481b07c24895cbcd5ecf05b8f8290..6b84bde2b6143a6e00abd80e6a17068eb27be66c
@@@ -6,11 -6,10 +6,10 @@@ import * as React from "react"
  import { Toolbar, IconButton, Tooltip, Grid } from "@material-ui/core";
  import { DetailsIcon } from "~/components/icon/icon";
  import { Breadcrumbs } from "~/views-components/breadcrumbs/breadcrumbs";
- import { detailsPanelActions } from "~/store/details-panel/details-panel-action";
  import { connect } from 'react-redux';
  import { RootState } from '~/store/store';
- import { matchWorkflowRoute } from '~/routes/routes';
- import { matchVirtualMachineRoute } from '~/routes/routes';
 -import { matchWorkflowRoute, matchSshKeysRoute, matchRepositoriesRoute } from '~/routes/routes';
++import { matchWorkflowRoute, matchSshKeysRoute, matchRepositoriesRoute, matchVirtualMachineRoute } from '~/routes/routes';
+ import { toggleDetailsPanel } from '~/store/details-panel/details-panel-action';
  
  interface MainContentBarProps {
      onDetailsPanelToggle: () => void;
@@@ -23,16 -22,22 +22,28 @@@ const isWorkflowPath = ({ router }: Roo
      return !!match;
  };
  
 +const isVirtualMachinePath = ({ router }: RootState) => {
 +    const pathname = router.location ? router.location.pathname : '';
 +    const match = matchVirtualMachineRoute(pathname);
 +    return !!match;
 +};
 +
+ const isRepositoriesPath = ({ router }: RootState) => {
+     const pathname = router.location ? router.location.pathname : '';
+     const match = matchRepositoriesRoute(pathname);
+     return !!match;
+ };
+ const isSshKeysPath = ({ router }: RootState) => {
+     const pathname = router.location ? router.location.pathname : '';
+     const match = matchSshKeysRoute(pathname);
+     return !!match;
+ };
  export const MainContentBar = connect((state: RootState) => ({
-     buttonVisible: !isWorkflowPath(state) && !isVirtualMachinePath(state)
 -    buttonVisible: !isWorkflowPath(state) && !isSshKeysPath(state) && !isRepositoriesPath(state)
++    buttonVisible: !isWorkflowPath(state) && !isSshKeysPath(state) && !isRepositoriesPath(state) && !isVirtualMachinePath(state)
  }), {
-         onDetailsPanelToggle: detailsPanelActions.TOGGLE_DETAILS_PANEL
+         onDetailsPanelToggle: toggleDetailsPanel
      })((props: MainContentBarProps) =>
          <Toolbar>
              <Grid container>
index 4ebc99bd4754c94128643a6fee1336f3daf063dc,ebdf57c3a7a9ac9f2adbb9a944fd3a472db7fc08..5ebf10567f1d87b1d0edc52343659f0cf645bedf
@@@ -44,10 -44,17 +44,18 @@@ import { RunProcessPanel } from '~/view
  import SplitterLayout from 'react-splitter-layout';
  import { WorkflowPanel } from '~/views/workflow-panel/workflow-panel';
  import { SearchResultsPanel } from '~/views/search-results-panel/search-results-panel';
+ import { SshKeyPanel } from '~/views/ssh-key-panel/ssh-key-panel';
  import { SharingDialog } from '~/views-components/sharing-dialog/sharing-dialog';
  import { AdvancedTabDialog } from '~/views-components/advanced-tab-dialog/advanced-tab-dialog';
  import { ProcessInputDialog } from '~/views-components/process-input-dialog/process-input-dialog';
 +import { VirtualMachinePanel } from '~/views/virtual-machine-panel/virtual-machine-panel';
+ import { ProjectPropertiesDialog } from '~/views-components/project-properties-dialog/project-properties-dialog';
+ import { RepositoriesPanel } from '~/views/repositories-panel/repositories-panel';
+ import { RepositoriesSampleGitDialog } from '~/views-components/repositories-sample-git-dialog/repositories-sample-git-dialog';
+ import { RepositoryAttributesDialog } from '~/views-components/repository-attributes-dialog/repository-attributes-dialog';
+ import { CreateRepositoryDialog } from '~/views-components/dialog-forms/create-repository-dialog';
+ import { RemoveRepositoryDialog } from '~/views-components/repository-remove-dialog/repository-remove-dialog';
+ import { CreateSshKeyDialog } from '~/views-components/dialog-forms/create-ssh-key-dialog';
  
  type CssRules = 'root' | 'container' | 'splitter' | 'asidePanel' | 'contentWrapper' | 'content';
  
@@@ -117,7 -124,8 +125,9 @@@ export const WorkbenchPanel 
                                  <Route path={Routes.RUN_PROCESS} component={RunProcessPanel} />
                                  <Route path={Routes.WORKFLOWS} component={WorkflowPanel} />
                                  <Route path={Routes.SEARCH_RESULTS} component={SearchResultsPanel} />
 +                                <Route path={Routes.VIRTUAL_MACHINES} component={VirtualMachinePanel} />
+                                 <Route path={Routes.REPOSITORIES} component={RepositoriesPanel} />
+                                 <Route path={Routes.SSH_KEYS} component={SshKeyPanel} />
                              </Switch>
                          </Grid>
                      </Grid>
              <CopyProcessDialog />
              <CreateCollectionDialog />
              <CreateProjectDialog />
+             <CreateRepositoryDialog />
+             <CreateSshKeyDialog />
              <CurrentTokenDialog />
              <FileRemoveDialog />
              <FilesUploadCollectionDialog />
              <PartialCopyCollectionDialog />
              <ProcessCommandDialog />
              <ProcessInputDialog />
+             <ProjectPropertiesDialog />
              <RemoveProcessDialog />
+             <RemoveRepositoryDialog />
              <RenameFileDialog />
+             <RepositoryAttributesDialog />
+             <RepositoriesSampleGitDialog />
              <RichTextEditorDialog />
              <SharingDialog />
              <Snackbar />