-
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/linking accession ids #330
Conversation
…fi/metadata-submitter-frontend into feature/linking-accessionIds
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.
Is it on purpose with FieldArray
fields to automatically choose reference accession ID when clicking Add new item
?
For example in Run
> Experiment Reference
If selection field is visible on initial render, default value is empty. Eg. Experiment
> Study Reference
I think it's ok to work this way and if we want to change it, we can do it afterwards.
Otherwise LGTM!
--> This is not on purpose, a bug actually. I think it shouldn't render any selection in the beginning. It can be fixed in another PR. |
Looks good! however the accession id might be something that users might find difficult to identify. drop down 🔽 When user selects This is not mandatory and could be part of another PR. What do you think? |
Hi! I did some limited testing, and had some trouble.
The site crashes with:
Tested in firefox 89 and chrome 91.0.4472.101. |
This is a good idea. We can put the |
Hi! I hope my latest commit would fix this issue. |
Description
accessionIds
of related objects are now linked.accessionIds
of other submitted objects according to ENA Metadata model: https://metadata-submitter.readthedocs.io/en/docs-metadata-and-auth/metadata.htmlRelated issues
#58
Type of change
Changes Made
dereferencedSchema
inWizardFillObjectDetailsForm
to add arrays ofaccessionId
of otherObjectTypes
accessionIds
of allObjectTypes
Testing
Mentions
Analysis Reference
and inside it there is a field for Accession Id. This could mean that Analysis could link to each other (?)accessionIds
without knowing exactly which submission is which. We can add thetitle
there for ones that havetitle
.