Skip to content

Conversation

@ChengShi-1
Copy link
Contributor

@ChengShi-1 ChengShi-1 commented Apr 28, 2025

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:

image
image

Is there a release notes update needed for this change?:

Additional documentation:

@ChengShi-1 ChengShi-1 linked an issue Apr 28, 2025 that may be closed by this pull request
@github-actions github-actions bot added bug Something isn't working FY25 Sprint 22 FY25 Sprint 22 (2025-04-23 - 2025-05-07) GREI Re-arch GREI re-architecture-related SPA.Q2 Not related to any specific Q2 feature labels Apr 28, 2025
@ChengShi-1 ChengShi-1 moved this to In Progress 💻 in IQSS Dataverse Project Apr 28, 2025
@ChengShi-1 ChengShi-1 added Size: 3 A percentage of a sprint. 2.1 hours. Original size: 3 labels Apr 28, 2025
@coveralls
Copy link

coveralls commented Apr 28, 2025

Coverage Status

coverage: 97.341% (+0.01%) from 97.33%
when pulling 6b2a84a on 667-deaccession-modal-fix-form-behavior-and-formatting
into 888f421 on develop.

@ChengShi-1 ChengShi-1 marked this pull request as ready for review April 29, 2025 18:11
@ChengShi-1 ChengShi-1 moved this from In Progress 💻 to Ready for Review ⏩ in IQSS Dataverse Project Apr 29, 2025
@ChengShi-1 ChengShi-1 removed their assignment Apr 29, 2025
@ekraffmiller ekraffmiller self-assigned this Apr 29, 2025
@ekraffmiller ekraffmiller moved this from Ready for Review ⏩ to In Review 🔎 in IQSS Dataverse Project Apr 29, 2025
ekraffmiller
ekraffmiller previously approved these changes Apr 29, 2025
Copy link
Contributor

@ekraffmiller ekraffmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, approved!

@github-project-automation github-project-automation bot moved this from In Review 🔎 to Ready for QA ⏩ in IQSS Dataverse Project Apr 29, 2025
@ofahimIQSS ofahimIQSS self-assigned this Apr 30, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for QA ⏩ to QA ✅ in IQSS Dataverse Project Apr 30, 2025
@ofahimIQSS
Copy link
Contributor

i see some merge conflicts - can you please update :)

@ofahimIQSS
Copy link
Contributor

Ready to merge once PR is reviewed :), no issues found during testing.

image
image
image

@ChengShi-1
Copy link
Contributor Author

ChengShi-1 commented Apr 30, 2025

@ekraffmiller Hi Ellen, I solved a conflict here so dismiss the review, could you please approve this again? Thanks!

@ChengShi-1 ChengShi-1 requested a review from ekraffmiller April 30, 2025 17:13
@ChengShi-1 ChengShi-1 moved this from QA ✅ to In Progress 💻 in IQSS Dataverse Project May 1, 2025
@ChengShi-1 ChengShi-1 moved this from In Progress 💻 to Ready for Review ⏩ in IQSS Dataverse Project May 1, 2025
Copy link
Contributor

@ekraffmiller ekraffmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, approved!

@github-project-automation github-project-automation bot moved this from Ready for Review ⏩ to Ready for QA ⏩ in IQSS Dataverse Project May 1, 2025
@ChengShi-1 ChengShi-1 moved this from Ready for QA ⏩ to QA ✅ in IQSS Dataverse Project May 1, 2025
@ofahimIQSS ofahimIQSS merged commit 27fb134 into develop May 1, 2025
13 of 14 checks passed
@ofahimIQSS ofahimIQSS deleted the 667-deaccession-modal-fix-form-behavior-and-formatting branch May 1, 2025 18:42
@github-project-automation github-project-automation bot moved this from QA ✅ to Merged 🚀 in IQSS Dataverse Project May 1, 2025
@scolapasta scolapasta moved this from Merged 🚀 to Done 🧹 in IQSS Dataverse Project May 5, 2025
@ofahimIQSS ofahimIQSS removed their assignment Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working FY25 Sprint 22 FY25 Sprint 22 (2025-04-23 - 2025-05-07) GREI Re-arch GREI re-architecture-related Original size: 3 Size: 3 A percentage of a sprint. 2.1 hours. SPA: Dataset page (View) SPA.Q2 Not related to any specific Q2 feature

Projects

Status: Done 🧹

Development

Successfully merging this pull request may close these issues.

Deaccession Modal: fix form behavior and formatting

5 participants