samvera / hyrax

Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
http://hyrax.samvera.org/
Apache License 2.0
183 stars 124 forks source link

Add 'Download All' option for multi-file Works #1203

Open chrisdaaz opened 7 years ago

chrisdaaz commented 7 years ago

Descriptive summary

Relates to Hyrax 1.x

Rationale

Users may want to download all of the files in a Work with one click, such as this example of MATLAB scripts and formatted data.

Story: Reader reads an article that lists the DOI of the article's supporting data set. Reader visits the data set in the institutional repository, represented as a Work. The Work contains X number of files. Reader wants to download a local copy of the data set.

Expected behavior

Here's an example from Figshare:

image

Here's an example from a journal:

image

Actual behavior

Download each file individually.

Related work

If your local instance supports this functionality, please let us know.

chrisdaaz commented 7 years ago

There's the question of nested works. I'm not sure I understand nested works (chapters within a book?) and how they might relate to files within a work. My hunch is to limit this feature to downloading all the files within a single works.

escowles commented 7 years ago

I agree that this feature would be useful even if it was limited to the files in a single work.

I think some nested works might be better if this feature was recursive. For example, we have MultiVolumeWorks, which bundle multiple ScannedResources, where each ScannedResource is a volume in a multi-volume book set. Being able to download the entire set in a single zip file would be better, but being able to download each volume as a zip file would be better than nothing.

mjgiarlo commented 7 years ago

Your thoughts about technical design are welcome, @samvera/hyrax-code-reviewers

And your thoughts about how to make this a pleasant UX are also welcome, @samvera/hyrax-ui-ux-advisors

blancoj commented 7 years ago

We added this to our repository. You can take a look at the way it works here:

https://deepblue.lib.umich.edu/data/concern/generic_works/3f462547h

There was an initial PR for this and then two others to fix some bugs/changes:

https://github.com/mlibrary/umrdr/pulls?utf8=%E2%9C%93&q=is%3Apr%20is%3Aclosed%20download%20all

On Tue, Jun 13, 2017 at 10:59 AM, Michael J. Giarlo < notifications@github.com> wrote:

Your thoughts about technical design are welcome, @samvera/hyrax-code-reviewers https://github.com/orgs/samvera/teams/hyrax-code-reviewers

And your thoughts about how to make this a pleasant UX are also welcome, @samvera/hyrax-ui-ux-advisors https://github.com/orgs/samvera/teams/hyrax-ui-ux-advisors

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/samvera/hyrax/issues/1203#issuecomment-308144772, or mute the thread https://github.com/notifications/unsubscribe-auth/AKlOBs0dK2SZU0Xl79zROcqkbTxygRk4ks5sDqPGgaJpZM4N3p9w .

newmanld commented 7 years ago

Good functionality to add. "Download All Files" as shown on DeepBlue.lib.umich.edu is simple and intuitive.

I agree that even if it does not extend to child works that it is a feature worth adding.

Is it out of scope to provide the metadata of the work as a csv (or xml) included in the zip? That metadata may contain important rights information as well as identify the works. The feature would also then apply to works with a single file attached.

hannahfrost commented 7 years ago

:+1: to download all files + metadata!

julesies commented 4 years ago

Re-upping as important to repo-managers!