sul-dlss / earthworks

Geospatial discovery application for Stanford University Libraries.
https://earthworks.stanford.edu
Other
21 stars 3 forks source link

Consider presenting Download and Export options differently #646

Closed ggeisler closed 2 months ago

ggeisler commented 4 years ago

(I considered submitting this to the GeoBlacklight repo, since it seems like a common pattern other institutions might benefit from changing, but there is enough variation among institutions that I worry it might be too big of a change to impose in GeoBlacklight. @mejackreed will probably have a better sense of whether we do this locally or suggest for GeoBlacklight, if we decide to make a change.)

I'm concerned about the amount of sidebar space that is used by the download and export options, especially if we introduce some form of relations box in the sidebar. I'm also concerned about having a handful of similarly-looking boxes in the sidebar, some of which might be more important than others. (I'd like to rethink the Tools box as well, but will create a separate ticket for that.)

I also have some concerns about how the export and download affordances are presented. Those details combined with the use of boxes to contain everything make the sidebar kind of large and busy, in my opinion.


Screen Shot 2020-06-12 at 1 30 57 PM

A - Downloads

B - Export formats

Proposed revision

Screen Shot 2020-06-12 at 2 00 04 PM
jvine commented 4 years ago

Tagging with a11y because it covers #659

mejackreed commented 4 years ago

@ggeisler an additional consideration here is the hopeful expansion of the actual "Downloads" to handle multiple downloads. An example of how data could look would be something like this:

https://geo.nyu.edu/catalog/nyu-2451-38644

Screen Shot 2020-06-16 at 10 30 21 AM

This is an intended feature in GeoBlacklight but might be something we will need to eventually consider.

ggeisler commented 4 years ago

@mejackreed Sure, I was taking that possibility into account in my suggestion above:

For both download and export, use a single button to present the applicable options

If there is more than one option, use a split button with the different download/export options

In other words, unless there is a good reason not to, we would treat the Export and Download options in the same way, using a split button if there are multiples in the category. So the NYU example above would present those download options with a split button:

Download > LAZ (point-cloud) LAZ (full-waveform) GeoTIFF (geo-referenced RGB) GeoTIFF (geo-referenced CIR) JPG (oblique photos)

(where button label is "Download" and the lines below are the menu options)

mejackreed commented 4 years ago

Great thanks! One thing I just want to call out is there a way for users to know about the data that is available to download? maybe that is less important just that they can download something?

ggeisler commented 4 years ago

If what you're getting at is by putting the download options into a split button, we're hiding the specific format options available because the user now has to actually select the button to see them, then yes, that's definitely the tradeoff. Immediate visibility of the options versus compactness of the sidebar.

My feeling is it is enough that the user knows downloads are available; if that user is actually interested in downloading something, then I assume they'll be motivated to click the button to see what formats they can download.

I acknowledge this is a tradeoff, though. I'm just concerned about simplifying the sidebar so it is easier to scan and doesn't detract from the main content area by potentially being very busy with a lot of buttons.

I'll discuss this more with @jvine in the context of related things, like the Tools box and the new relationships box we're hoping to add.

ggeisler commented 4 years ago

@mejackreed You asked earlier if this was ready to work on. Yes, with one addition to the design above.

The strategy outlined above for the download and export button labeling and using a single button/multi-select button is still valid.

A new related suggestion is that the Download and Export buttons, when present for an item, should go into a sidebar box/card labeled "Services".

I'll be posting some more detailed tickets related to the Services box idea soon, but the basic idea is that we want to group Download, Export, Web services, and Open in Carto (and any other services, if there are any) into this box:

Screen Shot 2020-06-30 at 3 04 35 PM

This box would go below any Data Relations boxes.

thatbudakguy commented 1 year ago

It looks like the initial portion of this has already been implemented in GeoBlacklight v4 — the downloads are stacked inside a collapsible button. Here's an example on a fresh install of GeoBlacklight v4:

Screenshot 2023-03-29 at 13 41 04

Rather than trying to backport this UI change to v3.x, I think we should consider this blocked until we can upgrade Earthworks to Geoblacklight v4+ (related to #936). Then, we can address the other change Gary proposed of moving download/export/web services into a single panel.

dbranchini commented 3 months ago

Addressed by new designs:

Image

https://www.figma.com/proto/nkgg905s5FyXoyPZjVMco0/EarthWorks?page-id=0%3A1&node-id=971-31966&viewport=-7294%2C1192%2C0.56&t=kYki5n8Z1jZKPmeu-1&scaling=min-zoom&content-scaling=fixed&starting-point-node-id=971%3A31966