-
Notifications
You must be signed in to change notification settings - Fork 20
Dataset Deaccession Modal should filter out versions that were deaccessioned #669
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
Dataset Deaccession Modal should filter out versions that were deaccessioned #669
Conversation
ekraffmiller
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.
looks good, approved!
|
i see some merge conflicts - can you please update :) |
|
@ekraffmiller Hi Ellen, I solved a conflict here so dismiss the review, could you please approve this again? Thanks! |
ekraffmiller
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.
looks good, approved!



What this PR does / why we need it:
There is not enough border in the modal. This can be fixed by rendering the form group as a column, for example
<Form.Group as={Col}>
If a dataset has a previous dataset version has been deaccessioned, it should not appear in the list of versions that can be deaccessioned.
When the deaccession modal is submitted, there is no loading indicator and button is not disabled while submitting.
Which issue(s) this PR closes:
Special notes for your reviewer:
Suggestions on how to test this:
Create datasets and make changes on them for forming multiple dataset versions. Deaccession some of them, test if the Deaccession Modal shows the versions being deaccessioned. (it should not show deaccessioned version).
- If only one version is able to be deaccessioned, there is no version list in the modal.
When Deaccession button => deaccession modal => confirmation model, clicked "Yes", there is a spinner for loading status and all buttons are disabled.
Check if the Deaccession button is hidden while the dataset is a draft or is deaccessioned
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?:
Additional documentation: