[ARVADOS-WORKBENCH2] updated: 1.3.0-30-g0c0daef
Git user
git at public.curoverse.com
Fri Dec 7 03:48:26 EST 2018
Summary of changes:
src/store/users/users-actions.ts | 2 --
.../dialog-create/dialog-user-create.tsx | 4 +---
src/views-components/form-fields/user-form-fields.tsx | 16 ----------------
3 files changed, 1 insertion(+), 21 deletions(-)
via 0c0daef87be8abcbcc3498d817e453d7336554f8 (commit)
from e0effe9fd43b8d7c0d7fcb9aade9b718cf5dddda (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 0c0daef87be8abcbcc3498d817e453d7336554f8
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date: Fri Dec 7 09:48:09 2018 +0100
delete firstName and lastName from form when creating a user
Feature #14504
Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
diff --git a/src/store/users/users-actions.ts b/src/store/users/users-actions.ts
index 7494f98..f39c753 100644
--- a/src/store/users/users-actions.ts
+++ b/src/store/users/users-actions.ts
@@ -19,8 +19,6 @@ export const USER_ATTRIBUTES_DIALOG = 'userAttributesDialog';
export const USER_CREATE_FORM_NAME = 'repositoryCreateFormName';
export interface UserCreateFormDialogData {
- firstName: string;
- lastName: string;
email: string;
identityUrl: string;
virtualMachineName: string;
diff --git a/src/views-components/dialog-create/dialog-user-create.tsx b/src/views-components/dialog-create/dialog-user-create.tsx
index 8090439..14365af 100644
--- a/src/views-components/dialog-create/dialog-user-create.tsx
+++ b/src/views-components/dialog-create/dialog-user-create.tsx
@@ -6,7 +6,7 @@ import * as React from 'react';
import { InjectedFormProps } from 'redux-form';
import { WithDialogProps } from '~/store/dialog/with-dialog';
import { FormDialog } from '~/components/form-dialog/form-dialog';
-import { UserFirstNameField, UserLastNameField, UserEmailField, UserIdentityUrlField, UserVirtualMachineField, UserGroupsVirtualMachineField } from '~/views-components/form-fields/user-form-fields';
+import { UserEmailField, UserIdentityUrlField, UserVirtualMachineField, UserGroupsVirtualMachineField } from '~/views-components/form-fields/user-form-fields';
export type DialogUserProps = WithDialogProps<{}> & InjectedFormProps<any>;
@@ -19,8 +19,6 @@ export const UserRepositoryCreate = (props: DialogUserProps) =>
/>;
const UserAddFields = (props: DialogUserProps) => <span>
- <UserFirstNameField />
- <UserLastNameField />
<UserEmailField />
<UserIdentityUrlField />
<UserVirtualMachineField data={props.data}/>
diff --git a/src/views-components/form-fields/user-form-fields.tsx b/src/views-components/form-fields/user-form-fields.tsx
index 486d90f..8563444 100644
--- a/src/views-components/form-fields/user-form-fields.tsx
+++ b/src/views-components/form-fields/user-form-fields.tsx
@@ -10,22 +10,6 @@ import { NativeSelectField } from "~/components/select-field/select-field";
import { InputLabel } from "@material-ui/core";
import { VirtualMachinesResource } from "~/models/virtual-machines";
-export const UserFirstNameField = () =>
- <Field
- name='firstName'
- component={TextField}
- validate={USER_LENGTH_VALIDATION}
- autoFocus={true}
- label="First name" />;
-
-export const UserLastNameField = () =>
- <Field
- name='lastName'
- component={TextField}
- validate={USER_LENGTH_VALIDATION}
- autoFocus={true}
- label="Last name" />;
-
export const UserEmailField = () =>
<Field
name='email'
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list