-
Notifications
You must be signed in to change notification settings - Fork 531
Addition to IQSS/11391 display on create with template #11539
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
Addition to IQSS/11391 display on create with template #11539
Conversation
sekmiller
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 overall. I think we can do one more tiny bit of simplification.
sekmiller
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. thanks for the update
|
tested in internal with displayoncreate set to true. Looks good from my end - merging. |
What this PR does / why we need it:
During review of #11391, I made some suggestions in a PR against that PR that didn't get merged before the main PR went through QA. This PR includes those changes. They shouldn't change functionality:
The change in DatasetField is just a refactor to remove duplicate code per https://github.com/IQSS/dataverse/pull/11411/files#r2072692564
The second change (DatasetVersionUI, MetadataBlock) is just some cleanup after figuring out why shouldDisplayOnCreate in MetadataBlock wasn't working re: discussion in https://github.com/IQSS/dataverse/pull/11411/files#r2072686331.
Which issue(s) this PR closes:
Special notes for your reviewer: #11538 has some additional comments on the code to explain the changes.
Suggestions on how to test this: Veriify the test scenarios in #11391 still work (FWIW: I did those tests and this seems to work).
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: