Skip to content

fix: wording while deleting draft dataset#887

Open
g-saracca wants to merge 6 commits intodevelopfrom
884-draft-deleted
Open

fix: wording while deleting draft dataset#887
g-saracca wants to merge 6 commits intodevelopfrom
884-draft-deleted

Conversation

@g-saracca
Copy link
Contributor

What this PR does / why we need it:

Fix wording on delete draft dataset modal.

Which issue(s) this PR closes:

Special notes for your reviewer:

Suggestions on how to test this:

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

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

Additional documentation:

@g-saracca g-saracca moved this to Ready for Review ⏩ in IQSS Dataverse Project Oct 31, 2025
@g-saracca g-saracca added GREI Re-arch GREI re-architecture-related Size: 0.5 A percentage of a sprint. 0.35 hours labels Oct 31, 2025
@coveralls
Copy link

coveralls commented Oct 31, 2025

Coverage Status

coverage: 97.815% (+0.06%) from 97.758%
when pulling b7d74cc on 884-draft-deleted
into 1d0e00e on develop.

Copy link
Contributor

@ChengShi-1 ChengShi-1 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

@github-project-automation github-project-automation bot moved this from Ready for Review ⏩ to Ready for QA ⏩ in IQSS Dataverse Project Nov 3, 2025
@ekraffmiller
Copy link
Contributor

I'm sorry I should have commented on this PR earlier...there is actually some additional logic needed here - if the draft is the only version created for the dataset, it should show the "delete dataset" text, otherwise it should show the delete draft text.
It is a small change. I will put this back into Sprint Ready.

@ekraffmiller ekraffmiller moved this from Ready for QA ⏩ to SPRINT READY in IQSS Dataverse Project Nov 5, 2025
@ekraffmiller ekraffmiller moved this from SPRINT READY to This Sprint 🏃‍♀️ 🏃 in IQSS Dataverse Project Nov 7, 2025
@ekraffmiller ekraffmiller added the FY26 Sprint 10 FY26 Sprint 10 (2025-11-05 - 2025-11-19) label Nov 7, 2025
@cmbz cmbz added the FY26 Sprint 11 FY26 Sprint 11 (2025-11-20 - 2025-12-03) label Nov 22, 2025
@cmbz cmbz added the FY26 Sprint 12 FY26 Sprint 12 (2025-12-03 - 2025-12-17) label Dec 3, 2025
@cmbz cmbz added the FY26 Sprint 13 FY26 Sprint 13 (2025-12-17 - 2025-12-31) label Dec 17, 2025
@cmbz cmbz added the FY26 Sprint 14 FY26 Sprint 14 (2025-12-31 - 2026-01-14) label Dec 31, 2025
@cmbz cmbz added the FY26 Sprint 15 FY26 Sprint 15 (2026-01-14 - 2026-01-28) label Jan 15, 2026
@cmbz cmbz added the FY26 Sprint 16 FY26 Sprint 16 (2026-01-28 - 2026-02-11) label Jan 29, 2026
@ChengShi-1 ChengShi-1 self-assigned this Jan 30, 2026
@ChengShi-1 ChengShi-1 moved this from This Sprint 🏃‍♀️ 🏃 to In Progress 💻 in IQSS Dataverse Project Jan 30, 2026
@ChengShi-1 ChengShi-1 added Size: 3 A percentage of a sprint. 2.1 hours. and removed Size: 3 A percentage of a sprint. 2.1 hours. Size: 0.5 A percentage of a sprint. 0.35 hours labels Jan 30, 2026
@ChengShi-1 ChengShi-1 removed their assignment Jan 30, 2026
@ChengShi-1 ChengShi-1 moved this from In Progress 💻 to Ready for Review ⏩ in IQSS Dataverse Project Jan 30, 2026
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, the text just needs to be changed slightly to match the JSF

"title": "Delete Dataset",
"message": "Are you sure you want to delete this dataset? This action cannot be undone.",
"messageDraft": "Are you sure you want to delete this draft version? You cannot undelete this draft.",
"messageDataset": "Are you sure you want to delete this dataset? You cannot undelete this dataset.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"messageDataset": "Are you sure you want to delete this dataset? You cannot undelete this dataset.",
"messageDataset": "Are you sure you want to delete this dataset and all of its files? You cannot undelete this dataset.",

@ekraffmiller ekraffmiller moved this from Ready for Review ⏩ to In Review 🔎 in IQSS Dataverse Project Feb 5, 2026
Co-authored-by: Ellen Kraffmiller <ekraffmiller@hmdc.harvard.edu>
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 Feb 9, 2026
@cmbz cmbz added the FY26 Sprint 17 FY26 Sprint 17 (2026-02-11 - 2026-02-25) label Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 10 FY26 Sprint 10 (2025-11-05 - 2025-11-19) FY26 Sprint 11 FY26 Sprint 11 (2025-11-20 - 2025-12-03) FY26 Sprint 12 FY26 Sprint 12 (2025-12-03 - 2025-12-17) FY26 Sprint 13 FY26 Sprint 13 (2025-12-17 - 2025-12-31) FY26 Sprint 14 FY26 Sprint 14 (2025-12-31 - 2026-01-14) FY26 Sprint 15 FY26 Sprint 15 (2026-01-14 - 2026-01-28) FY26 Sprint 16 FY26 Sprint 16 (2026-01-28 - 2026-02-11) FY26 Sprint 17 FY26 Sprint 17 (2026-02-11 - 2026-02-25) GREI Re-arch GREI re-architecture-related Size: 3 A percentage of a sprint. 2.1 hours.

Projects

Status: Ready for QA ⏩

Development

Successfully merging this pull request may close these issues.

when deleting a draft for a dataset that has published versions, it should say the draft, not the dataset, was deleted

5 participants