dataverse-frontend
dataverse-frontend copied to clipboard
Add Parent Hierarchy link to Cards
DatasetCard, FileCard and CollectionCard need a link to the parent object that they are contained in. To implement this, we need to add UpwardHierarchyNode to the Preview object backing the Card.
Note, the if the object's parent is the Collection that is currently being viewed, then the link does not appear.
Examples from JSF:
File Card
Dataset Cards
Dataverse (Collection) Cards