[ARVADOS-WORKBENCH2] updated: 1.1.4-391-ge7d5aed

Git user git at public.curoverse.com
Tue Jul 24 07:38:46 EDT 2018


Summary of changes:
 src/views/favorite-panel/favorite-panel.tsx | 30 +++++++----------------------
 1 file changed, 7 insertions(+), 23 deletions(-)

       via  e7d5aed05a563ee1c4ce7fc15181306abc0952d6 (commit)
      from  98237b19875f6437fa1e01845ad9c911d886cf04 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e7d5aed05a563ee1c4ce7fc15181306abc0952d6
Author: Daniel Kos <daniel.kos at contractors.roche.com>
Date:   Tue Jul 24 13:38:19 2018 +0200

    Remove blue buttons
    
    Feature #13753
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos at contractors.roche.com>

diff --git a/src/views/favorite-panel/favorite-panel.tsx b/src/views/favorite-panel/favorite-panel.tsx
index 6f4cedb..8f49450 100644
--- a/src/views/favorite-panel/favorite-panel.tsx
+++ b/src/views/favorite-panel/favorite-panel.tsx
@@ -196,31 +196,15 @@ export const FavoritePanel = withStyles(styles)(
     connect((state: RootState) => ({ currentItemId: state.projects.currentItemId }))(
         class extends React.Component<FavoritePanelProps> {
             render() {
-                const { classes } = this.props;
-                return <div>
-                    <div className={classes.toolbar}>
-                        <Button color="primary" variant="raised" className={classes.button}>
-                            Create a collection
-                        </Button>
-                        <Button color="primary" variant="raised" className={classes.button}>
-                            Run a process
-                        </Button>
-                        <Button color="primary" onClick={this.handleNewProjectClick} variant="raised" className={classes.button}>
-                            New project
-                        </Button>
-                    </div>
-                    <DataExplorer
-                        id={FAVORITE_PANEL_ID}
-                        onRowClick={this.props.onItemClick}
-                        onRowDoubleClick={this.props.onItemDoubleClick}
-                        onContextMenu={this.props.onContextMenu}
-                        extractKey={(item: FavoritePanelItem) => item.uuid} />
-                </div>;
+                return <DataExplorer
+                    id={FAVORITE_PANEL_ID}
+                    onRowClick={this.props.onItemClick}
+                    onRowDoubleClick={this.props.onItemDoubleClick}
+                    onContextMenu={this.props.onContextMenu}
+                    extractKey={(item: FavoritePanelItem) => item.uuid} />
+                ;
             }
 
-            handleNewProjectClick = () => {
-                this.props.onDialogOpen(this.props.currentItemId);
-            }
             componentWillReceiveProps({ match, currentItemId, onItemRouteChange }: FavoritePanelProps) {
                 if (match.params.id !== currentItemId) {
                     onItemRouteChange(match.params.id);

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list