Clean up workbench and index
authorMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Thu, 11 Oct 2018 11:39:07 +0000 (13:39 +0200)
committerMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Thu, 11 Oct 2018 11:39:07 +0000 (13:39 +0200)
Feature #13862

Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>

src/index.tsx
src/views/workbench/workbench.tsx

index 4998e26f3ec534fca9da09d7ad1513b8eee487c4..c5add22eba18f12290160400784237c9a945e552 100644 (file)
@@ -111,15 +111,6 @@ const initListener = (history: History, store: RootStore, services: ServiceRepos
             initWebSocket(config, services.authService, store);
             await store.dispatch(loadWorkbench());
             addRouteChangeHandlers(history, store);
-            // createEnumCollectorWorkflow(services);
-            store.dispatch(initProjectsTreePicker('testPicker1'));
-            store.dispatch(initProjectsTreePicker('testPicker2'));
-            store.dispatch(initProjectsTreePicker('testPicker3'));
-
-            // await store.dispatch(loadCollection(
-            //     'c97qk-4zz18-9sn8ygaf62chkkd',
-            //     'testPicker',
-            // ));
         }
     };
 };
index b89ee04ab82f48cb2cdff3ff39aca568023c5b88..d326c313dbb52b1212190c09ee3a29c97371873c 100644 (file)
@@ -92,23 +92,6 @@ export const WorkbenchPanel =
                             <MainContentBar />
                         </Grid>
                         <Grid item xs className={classes.content}>
-                            <p>Projects only</p>
-                            <ProjectsTreePicker 
-                                pickerId="testPicker1" 
-                                showSelection/>
-                            <p>Collections included</p>
-                            <ProjectsTreePicker
-                                pickerId="testPicker2"
-                                includeCollections
-                                showSelection
-                            />
-                            <p>Files included</p>
-                            <ProjectsTreePicker
-                                pickerId="testPicker3"
-                                includeCollections
-                                includeFiles
-                                showSelection
-                                toggleItemActive={(...args: any[]) => console.log(args)} />
                             <Switch>
                                 <Route path={Routes.PROJECTS} component={ProjectPanel} />
                                 <Route path={Routes.COLLECTIONS} component={CollectionPanel} />