Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move first_name and last_name to only be displayed for user importer. #5292

Merged
merged 1 commit into from
Mar 31, 2018

Conversation

dmeltzer
Copy link
Contributor

I've also swapped to sorting items alphabetically regardless of if they are general options, or specific to the category of item being imported. Hopefully this clears up some confusion during mapping.

Long term I think we should standardize on either a "full name" field (currently used in asset importer) or a "first name" and "last name" field (Currently used in user importer.) Too many names.

@snipe
Copy link
Owner

snipe commented Mar 31, 2018

I think we should probably use First Name Last Name for everything. Last Name can be blank tho (since last name isn't required on the user object.)

… Also sort items alphabetically regardless of their source.
@snipe
Copy link
Owner

snipe commented Mar 31, 2018

But that means we'd need to update the createUsernameFromFullName witchcraft as well, since we'd be passing it multiple names instead of one name.

@dmeltzer
Copy link
Contributor Author

Yeah. It also means that people used to the current import format would need to adapt, and I suspect there are more people using the asset importer than the user importer...

Maybe it's extend first_name/last_name support to the asset importer, but leave full name support for backwards compat.

@snipe snipe merged commit 79f061b into snipe:develop Mar 31, 2018
@dmeltzer dmeltzer deleted the importer-names branch July 17, 2018 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants