-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve person / organization switching
- fix bug in contributor serializer when submitting an organization with only a given name and no email - use ROR affiliations search generate Contributor.given_name, should find a way to limit jsonAffiliations and ResearchOrgListField to a single entry - add reset button to reset contributor entirely if we want to start over but needs additional work, see below TODO: reset works fine for new contributors but should also offer a pathway to allow resetting and starting over with an existing contributor. perhaps needs a clean way to clear the disabled attributes for the entire modal, maybe bubble an event up to the ContributorsPage component?
- Loading branch information
Showing
5 changed files
with
60 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters