-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/add oneOf rendering #57
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and made a PR with more typo fixes: CSCfi/metadata-submitter#117
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accessionId
field should be ignored and not displayed as this is generated in the back-end and is not needed on front-end
edit: misunderstood the purpose and make an issue about linking accession IDs #58
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and looks good
There are actually a few different keys without any titles, which should be fixed at some point. See for example https://github.com/CSCfi/metadata-submitter/blob/950555f0b7309fbd4379dc0bbfbf4f13ae96187d/metadata_backend/helpers/schemas/ena_experiment.json#L364 Currently version is to render path of field (such as |
Description
This PR adds support for oneOf-fields: user can select which option he/she wants to use and correct fields are rendering according to selection. Layout issues such as save-button positioning and headings for arrays are also fixed.
Related issues
Fixes #42, #55
Type of change
Testing