-
Notifications
You must be signed in to change notification settings - Fork 0
Change submission status to In Progress regardless of who makes updates #1876
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
Change submission status to In Progress regardless of who makes updates #1876
Conversation
…ardless-of-admin-or-submitter-resuming-a-submission-for-updates
JamesTessmer
left a comment
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 locally and everything works, I don't see any issues with the code so I think it's good to go
…ardless-of-admin-or-submitter-resuming-a-submission-for-updates
|
@samobermiller I pushed a few commits that do the following:
Please give that a test and let me know if you see any issues. |
|
Looks good to me! Are you ready for it to be merged in @pkalita-lbl ? |
Closes microbiomedata/issues#1497
UpdatesRequiredstatus is updated toInProgresswhen submission is saved, regardless of if user has a current role on the submissionUpdatesRequiredtoInProgresswas being captured in postgres but required the user to refresh the page so the Submit button was available. I added a simple endpoint to get submission status from postgres sostatuscan be refreshed on Harmonizer.vue.Submitbutton on Harmonizer.vue was getting more confusing, so I reformatted the various factors (owner/admin, submission status, validated tabs, already submitted) are all addressed in one variable SubmissionState