Skip to content
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

ENH: Linked data rendering in additional_display tab #405

Merged
merged 2 commits into from
Dec 12, 2023
Merged

Conversation

jsheunis
Copy link
Member

Closes #404

This PR adds a new component to render an 'additional_tab_display' with @context information as per json-ld format.

This update stems from the work done on the SFB1451 catalog regarding the rendering of semantic information, see:
https://github.com/psychoinformatics-de/sfb1451-projects-catalog/pull/62/files.

A new async component is introduced to encapsulate any rendering of 'additional_tab_display's that have an '@context' key in their 'content' field. The component was created to remove specific implementation details related to semantics from the overall dataset page rendering (i.e. from the dataset-template component). This allows for future changes to the semantic tab rendering without affecting how the component is invoked.

The PR also adds test data containing semantic fields, both to the datalad_catalog/tests/data as test data and to the demo catalog.

This work can be tested locally by checking out the PR branch, installing datalad-catalog, running:

datalad catalog-serve -c datalad_catalog/catalog

and navigating to http://localhost:8000/#/dataset/c475969b-2919-57b1-a3e6-71770acaa222/0.1.0

…information

This update stems from the work done on the SFB1451 catalog regarding
the rendering of semantic information, see:
https://github.com/psychoinformatics-de/sfb1451-projects-catalog/pull/62/files.
A new async component is introduced to encapsulate any rendering of 'additional_tab_display's
that have an '@context' key in their 'content' field. The component was created to remove
specific implementation details related to semantics from the overall dataset page rendering
(i.e. from the dataset-template component). This allows for future changes to the semantic tab
rendering without affecting how the component is invoked.
@jsheunis jsheunis merged commit 7e85f00 into main Dec 12, 2023
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to render linked data in an intuitive way
1 participant