rename file and path for dialog-forms - move-to
authorJanicki Artur <artur.janicki@contractors.roche.com>
Mon, 27 Aug 2018 11:33:40 +0000 (13:33 +0200)
committerJanicki Artur <artur.janicki@contractors.roche.com>
Mon, 27 Aug 2018 11:33:40 +0000 (13:33 +0200)
Feature #14103

Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki@contractors.roche.com>

src/views-components/dialog-forms/move-collection-dialog.ts
src/views-components/dialog-forms/move-project-dialog.ts
src/views-components/dialog-move/dialog-move-to.tsx [moved from src/views-components/dialog-move/move-to-dialog.tsx with 88% similarity]
src/views-components/form-fields/project-form-fields.tsx

index 1164027153b6c941504b5af77853c7878061fa94..38d6d0339288031485bcd51bbaf98932fc7bcdd7 100644 (file)
@@ -5,7 +5,7 @@
 import { compose } from "redux";
 import { withDialog } from "~/store/dialog/with-dialog";
 import { reduxForm } from 'redux-form';
-import { MoveToFormDialog } from '~/views-components/dialog-move/move-to-dialog';
+import { DialogMoveTo } from '~/views-components/dialog-move/dialog-move-to';
 import { COLLECTION_MOVE_FORM_NAME, moveCollection } from '~/store/collections/collection-move-actions';
 import { MoveToFormDialogData } from '~/store/move-to-dialog/move-to-dialog';
 
@@ -17,4 +17,4 @@ export const MoveCollectionDialog = compose(
             dispatch(moveCollection(data));
         }
     })
-)(MoveToFormDialog);
+)(DialogMoveTo);
index 49e8ead6661bd7759c28f14f52f82915d9ad8649..dd102b145f745d009cbfe2ee6cd7f90b918e525d 100644 (file)
@@ -8,7 +8,7 @@ import { reduxForm } from 'redux-form';
 import { PROJECT_MOVE_FORM_NAME } from '~/store/projects/project-move-actions';
 import { moveProject } from '~/store/projects/project-move-actions';
 import { MoveToFormDialogData } from '~/store/move-to-dialog/move-to-dialog';
-import { MoveToFormDialog } from '~/views-components/dialog-move/move-to-dialog';
+import { DialogMoveTo } from '~/views-components/dialog-move/dialog-move-to';
 
 export const MoveProjectDialog = compose(
     withDialog(PROJECT_MOVE_FORM_NAME),
@@ -18,5 +18,5 @@ export const MoveProjectDialog = compose(
             dispatch(moveProject(data));
         }
     })
-)(MoveToFormDialog);
+)(DialogMoveTo);
 
similarity index 88%
rename from src/views-components/dialog-move/move-to-dialog.tsx
rename to src/views-components/dialog-move/dialog-move-to.tsx
index d8f89d39ac52d29e5fddd687f37dbe6448735d7c..425b9e462a5439b47f3eb82a26fbe4eefe5481e0 100644 (file)
@@ -10,7 +10,7 @@ import { ProjectTreePickerField } from '~/views-components/project-tree-picker/p
 import { MOVE_TO_VALIDATION } from '~/validators/validators';
 import { MoveToFormDialogData } from '~/store/move-to-dialog/move-to-dialog';
 
-export const MoveToFormDialog = (props: WithDialogProps<string> & InjectedFormProps<MoveToFormDialogData>) =>
+export const DialogMoveTo = (props: WithDialogProps<string> & InjectedFormProps<MoveToFormDialogData>) =>
     <FormDialog
         dialogTitle='Move to'
         formFields={MoveToDialogFields}
index 967d3e5b878d9bc63811fd2e3810724ecf05b06f..630877e72f14e5e66729aa07e3b51002d95fbfeb 100644 (file)
@@ -3,7 +3,7 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import * as React from "react";
-import { Field, WrappedFieldProps } from "redux-form";
+import { Field } from "redux-form";
 import { TextField } from "~/components/text-field/text-field";
 import { PROJECT_NAME_VALIDATION, PROJECT_DESCRIPTION_VALIDATION } from "~/validators/validators";