X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/de26557e0542c8a003fddc11831cb3646bf5512f..1534032e710b57106297576edb28e84b652a76f0:/src/views/workbench/workbench.tsx diff --git a/src/views/workbench/workbench.tsx b/src/views/workbench/workbench.tsx index 94ef7db1c8..5c4648b6d3 100644 --- a/src/views/workbench/workbench.tsx +++ b/src/views/workbench/workbench.tsx @@ -30,16 +30,19 @@ import { ProcessLogPanel } from '~/views/process-log-panel/process-log-panel'; import { CreateProjectDialog } from '~/views-components/dialog-forms/create-project-dialog'; import { CreateCollectionDialog } from '~/views-components/dialog-forms/create-collection-dialog'; import { CopyCollectionDialog } from '~/views-components/dialog-forms/copy-collection-dialog'; +import { CopyProcessDialog } from '~/views-components/dialog-forms/copy-process-dialog'; import { UpdateCollectionDialog } from '~/views-components/dialog-forms/update-collection-dialog'; +import { UpdateProcessDialog } from '~/views-components/dialog-forms/update-process-dialog'; import { UpdateProjectDialog } from '~/views-components/dialog-forms/update-project-dialog'; +import { MoveProcessDialog } from '~/views-components/dialog-forms/move-process-dialog'; import { MoveProjectDialog } from '~/views-components/dialog-forms/move-project-dialog'; import { MoveCollectionDialog } from '~/views-components/dialog-forms/move-collection-dialog'; import { FilesUploadCollectionDialog } from '~/views-components/dialog-forms/files-upload-collection-dialog'; import { PartialCopyCollectionDialog } from '~/views-components/dialog-forms/partial-copy-collection-dialog'; - import { TrashPanel } from "~/views/trash-panel/trash-panel"; -import { MainContentBar } from '../../views-components/main-content-bar/main-content-bar'; +import { MainContentBar } from '~/views-components/main-content-bar/main-content-bar'; import { Grid } from '@material-ui/core'; +import { ProcessCommandDialog } from '~/views-components/process-command-dialog/process-command-dialog'; type CssRules = 'root' | 'contentWrapper' | 'content' | 'appBar'; @@ -77,8 +80,6 @@ interface WorkbenchGeneralProps { type WorkbenchProps = WorkbenchDataProps & WorkbenchGeneralProps & DispatchProp & WithStyles; interface WorkbenchState { - isCurrentTokenDialogOpen: boolean; - anchorEl: any; searchText: string; } @@ -91,8 +92,6 @@ export const Workbench = withStyles(styles)( )( class extends React.Component { state = { - isCurrentTokenDialogOpen: false, - anchorEl: null, searchText: "", }; @@ -106,7 +105,8 @@ export const Workbench = withStyles(styles)( + onSearch={this.onSearch} + buildInfo={this.props.buildInfo} /> {this.props.user && - + @@ -145,24 +145,25 @@ export const Workbench = withStyles(styles)( } - - + + - - + + - - - - + - + + + + + + + + ; } @@ -175,9 +176,6 @@ export const Workbench = withStyles(styles)( this.props.dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL()); } - toggleCurrentTokenModal = () => { - this.setState({ isCurrentTokenDialogOpen: !this.state.isCurrentTokenDialogOpen }); - } } ) );