-
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
Do not allow submissionId to be editable #2334
Conversation
I think your earlier version had this just displayed in a non-editable format? I think that's pretty useful because if the user submitted their sample, which they know only by their own ID |
I guess you did this because of this empty thing. I can try to look into what's going on there. |
Working on: #2336 |
Interestingly I tried on |
@theosanderson thanks for looking into the submitterId - I fixed adding it here to the webpage - will push my changes in a bit! |
5e007a9
to
b4629a8
Compare
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.
This is great! Thanks a lot
I wonder why this was necessary at all? We have a bunch of loculus internal metadata, why did this only show up for the submission id? Is it becaus the submission id somehow made it to the values.yaml although it should be only in the |
Yes I have a feeling that's right and that in fact it was only present for some organisms because I couldn't reproduce this for |
Should we maybe revert this PR and instead fix it in the values.yml (for the sake of complexity)? |
No, this PR achieved stuff we need: the submissionId should be displayed but in a non-editable form. The reason it needs to be displayed is that users need to refer to it to look up the correct metadata to enter |
(the thing that may not be needed is the |
resolves ##2121
preview URL: https://fix-submitterid.loculus.org/
Summary
Current state: submitter Id field is empty (the contents do appear when metadata is downloaded - so I don't know why this is currently empty) and arbitrary content can be added:
There are 2 issues here, the first is that the submitterId is not actually passed to the website from the backend, but also that the submitterId is still in the list of original metadata although the value is not there.
noEdit
field in the config.Testing
Locally I checked that the submitterId is still returned in the downloaded metadata and is seen on the sequence details page after release: