metacatui icon indicating copy to clipboard operation
metacatui copied to clipboard

Folders in datasets

Open laurenwalker opened this issue 5 years ago • 1 comments

Add support to the dataset editor for adding folders and organizing files into folders, which uses the prov:atLocation work that Tommy has implemented in Metacat.

I'm creating this issue as an Epic (in Zenhub) since there are many ways this should be supported:

  • [x] Design mockups (Issue #1454)
  • [x] Show folder structure in MetadataView (issue #1452)
  • [ ] Show folder structure in dataset editor (issue #1452)
  • [ ] Allow editing of folder structure in dataset editor (issue #1453)
  • [x] Use the DataPackageView in the MetadataView to display the package instead of the PackageTableView. Then we only have to add support to a single view. (The DataPackageView has a better design anyway). (issue #1452)

laurenwalker avatar Jul 15 '20 16:07 laurenwalker

Background

  • Some data packages make use of a file system structure to organize and present data objects, but currently in MetacatUI, all data objects can only be displayed and uploaded in a flat structure, like so:

Display view display of files

Editing view editing files

  • DataONE resource maps now make use of a atLocation property that indicates the location of files in a data package relative to others.
  • Metacat supports this feature already, in that when you download a package with atLocation information in the resource map, the folder structure is preserved in the downloaded zip.
  • We would like the display and editing of packages in MetacatUI to reflect the atLocation feature.

Examples

Resources

robyngit avatar Sep 01 '22 16:09 robyngit