Skip to content

11376 add version note to diff summary#11390

Merged
ofahimIQSS merged 5 commits intodevelopfrom
11376-add-version-note-to-diff-summary
Apr 9, 2025
Merged

11376 add version note to diff summary#11390
ofahimIQSS merged 5 commits intodevelopfrom
11376-add-version-note-to-diff-summary

Conversation

@sekmiller
Copy link
Copy Markdown
Contributor

What this PR does / why we need it: Add the new Version Note to version differences and summary

Which issue(s) this PR closes:

Special notes for your reviewer:

Suggestions on how to test this:
You'll need to set the feature flag for enabling version notes

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?: No

Additional documentation: none

@github-actions github-actions Bot added FY25 Sprint 20 FY25 Sprint 20 (2025-03-26 - 2025-04-09) GREI Re-arch Issues related to the GREI Dataverse rearchitecture Original size: 10 Size: 10 A percentage of a sprint. 7 hours. SPA These changes are required for the Dataverse SPA SPA.Q1.6 File Page: File Edit Options Type: Feature a feature request labels Apr 2, 2025
@sekmiller sekmiller moved this to Ready for Review ⏩ in IQSS Dataverse Project Apr 2, 2025
@github-actions

This comment has been minimized.

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 3, 2025

Coverage Status

coverage: 23.007% (+0.001%) from 23.006%
when pulling ec14707 on 11376-add-version-note-to-diff-summary
into e3bc7cf on develop.

@github-actions

This comment has been minimized.

@stevenwinship stevenwinship self-assigned this Apr 8, 2025
@stevenwinship stevenwinship moved this from Ready for Review ⏩ to In Review 🔎 in IQSS Dataverse Project Apr 8, 2025
JsonObjectBuilder jobVersion = new NullSafeJsonBuilder();
jobVersion.add("versionNumber", originalVersion.getFriendlyVersionNumber());
jobVersion.add("versionState", originalVersion.getVersionState().name());
jobVersion.add("versionNote", originalVersion.getVersionNote());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like versionNote can be null. Surround with if != null to prevent the field from being added when null.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

never mind I didn't see the NullSafeJsonBuilder

Copy link
Copy Markdown
Contributor

@stevenwinship stevenwinship left a comment

Choose a reason for hiding this comment

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

Looks like versionNote can be null. Surround with if != null to prevent the field from being added when null.

never mind I didn't see the NullSafeJsonBuilder

@github-project-automation github-project-automation Bot moved this from In Review 🔎 to Ready for QA ⏩ in IQSS Dataverse Project Apr 8, 2025
@ofahimIQSS ofahimIQSS self-assigned this Apr 9, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for QA ⏩ to QA ✅ in IQSS Dataverse Project Apr 9, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2025

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:11376-add-version-note-to-diff-summary
ghcr.io/gdcc/configbaker:11376-add-version-note-to-diff-summary

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

@GPortas GPortas added the SPA.Q2 Not related to any specific Q2 feature label Apr 9, 2025
@ofahimIQSS
Copy link
Copy Markdown
Contributor

Looks good, merging.

image

@ofahimIQSS ofahimIQSS merged commit cd48216 into develop Apr 9, 2025
26 checks passed
@ofahimIQSS ofahimIQSS deleted the 11376-add-version-note-to-diff-summary branch April 9, 2025 19:18
@github-project-automation github-project-automation Bot moved this from QA ✅ to Merged 🚀 in IQSS Dataverse Project Apr 9, 2025
@ofahimIQSS ofahimIQSS removed their assignment Apr 9, 2025
@pdurbin pdurbin added this to the 6.7 milestone Apr 9, 2025
@scolapasta scolapasta moved this from Merged 🚀 to Done 🧹 in IQSS Dataverse Project Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY25 Sprint 20 FY25 Sprint 20 (2025-03-26 - 2025-04-09) GREI Re-arch Issues related to the GREI Dataverse rearchitecture Original size: 10 Size: 10 A percentage of a sprint. 7 hours. SPA.Q1.6 File Page: File Edit Options SPA.Q2 Not related to any specific Q2 feature SPA These changes are required for the Dataverse SPA Type: Feature a feature request

Projects

Status: Done 🧹

Development

Successfully merging this pull request may close these issues.

Feature Request: Dataset Versions Summary extension: versionNote

7 participants