-
Notifications
You must be signed in to change notification settings - Fork 496
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
allow links between dataset types and metadata blocks #11001
Open
pdurbin
wants to merge
20
commits into
develop
Choose a base branch
from
10519-dataset-types
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
264d648
allow links between dataset types and metadata blocks #10519
pdurbin 1b45992
Merge branch 'develop' into 10519-dataset-types #10519
pdurbin b6fb92b
Changed: using JPA criteria instead of code looping for DatasetType q…
GPortas 399fe8d
add missing "Command" suffix #10519
pdurbin be83ada
remove debug line #10519
pdurbin a7eee45
improve docs #10519
pdurbin 4c45fc0
rename "ownerDataverse" to "dataverse", remove TODOs #10519
pdurbin 4f77a3b
enable codeMeta20 test, disable size=6 test #10519
pdurbin e7652db
Fixed: removed distinct modifier in JPA query to avoid ignoring results
GPortas 5afad8e
load codemeta metadata block in docker dev persona #10519
pdurbin 1ffeee7
Merge branch 'develop' into 10519-dataset-types #10519
pdurbin d8a0a54
Merge branch 'develop' of github.com:IQSS/dataverse into 10519-datase…
GPortas 71096f2
fix merge conflicts
stevenwinship a054737
fix merge conflicts
stevenwinship a9ed64e
Merge branch 'develop' into 10519-dataset-types #10519
pdurbin faf1d37
fix JsonPrinter and failing tests #10519
pdurbin 2773c2e
cleanup #10519
pdurbin e52052a
remove unnecessary sending of content type #10519
pdurbin 57e0c71
clarify docs #10519
pdurbin 9b2fb8d
stop loading Codemeta in Docker, add setDisplayOnCreate API #10519
pdurbin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Dataset Types can be linked to Metadata Blocks | ||
|
||
Metadata blocks (e.g. "CodeMeta") can now be linked to dataset types (e.g. "software") using new superuser APIs. | ||
|
||
This will have the following effects for the APIs used by the new Dataverse UI ( https://github.com/IQSS/dataverse-frontend ): | ||
|
||
- The list of fields shown when creating a dataset will include fields marked as "displayoncreate" (in the tsv/database) for metadata blocks (e.g. "CodeMeta") that are linked to the dataset type (e.g. "software") that is passed to the API. | ||
- The metadata blocks shown when editing a dataset will include metadata blocks (e.g. "CodeMeta") that are linked to the dataset type (e.g. "software") that is passed to the API. | ||
|
||
The CodeMeta metadata block is now available in the Dockerized development environment. | ||
|
||
For more information, see the guides and #10519. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Should this parameter also have an action prefix ('returnDataType')? The other params start with the action 'return' or 'onlyDisplayOn'. It's unclear if this is a true/false or a list of datasetTypes
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.
Maybe add it to the example to help clarify it's usage.
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.
I see further down that this is not a true/false but value (I.e. 'software'). Maybe rephrase by removing the 'whether or not'
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.
Good catch. I fixed up the docs in 57e0c71. Please take a look.