projectblacklight / arclight

A Rails engine supporting discovery of archival material
https://samvera.atlassian.net/wiki/spaces/samvera/pages/405211890/ArcLight
Other
39 stars 26 forks source link

Component view layout update: Online content #1168

Closed ggeisler closed 2 years ago

ggeisler commented 2 years ago

One of the UI updates noted in https://github.com/projectblacklight/arclight/issues/1148 involves online content. Currently there is a tab called "Online content" (callout "F" in the screenshot below) that shows a search results list for just the items in the collection that are available online:

Screen Shot 2022-10-12 at 4 03 18 PM

This tab is displayed at the collection level (I'll call that Case A) and at any other component level page if that component is a parent to one or more child components that are available online (Case B). Case A displays all items in the collection that are available online and Case B displays only the items that belong to the current component (i.e., usually a subset of Case A).

In the revised layout, the proposal is to replace the "Online content" tab by:

More detail about each of those steps in the sections below.

Add an info box below the collection title

We can fine-tune this after the layout and functional changes are in place, but generally:

Screen Shot 2022-10-12 at 3 54 19 PM

This is probably obvious but we only display this info box when the collection has at least one item available online (same as we currently only show the "Online content" tab if the collection has items available online).

Redirect the action to a filtered search results page

When the user selects the "Show only online content." link, display a search results page, filtered using the "Collection > [current collection]" and "Access > Online access" facet values:

Screen Shot 2022-10-12 at 3 52 56 PM

This is just a normal faceted search results page.

Eliminate the online content filtering for component-level parents

As noted earlier, ArcLight currently enables the user to filter by online content at specific component levels, such as showing all online items in a given Series rather than all online items in the whole collection. While this is a nice feature, trying to retain that as part of the overall UI layout restructuring doesn't seem worth the effort. If a collection has so many online items where that seems useful, the user could use the updated collection-level filtering described above, and then use additional facets, such as "Level" to further narrow the result set. And the user will still see the online access icon for items in the "Contents" section of a component-level parent page.

Also, if we decide we have eliminated a useful feature here, we potentially could find a way to add back the component-level online item filtering after all of the layout updates have been made and we get a better feel for the new UI.

crugas commented 2 years ago

Would it be possible to make the online content icon hyperlinked to the link providing the online content or have a dedicated button? We at UGA found it worked better for our users when they could access the link to online content more directly from the search results page as shown in the image in "Redirect the action to a filtered search results page" section.

We built a "View Online" button, shown below, so users didn't have to click into an object only to then be able to click a link to get access to the online content.

image


You can also see this behavior in search results for individual items

image

ggeisler commented 2 years ago

@crugas I think I understand your suggestion but am not sure it's a decision we should make in vanilla ArcLight, for a couple of reasons:

Screen Shot 2022-10-31 at 3 49 48 PM

The user sees the online content when they go to the component show page, so the normal content inventory tree and search result links using the item title are sufficient to take the user to the online content with one click.

Let me know if you think I've misunderstood anything about your suggestion.

crugas commented 2 years ago

@ggeisler I think those points are valid and understandable. By attaching a link to the icon, you need to increase the size, which makes keeping the content inventory sidebar compact a challenge and could mess with the sizing of individual search results. Also, I didn’t know about the redesign to fit an online content viewer in the component show page - which is awesome! That was something on our development TODO list if we could get it to work. Could you talk more about how this new online content viewer works? We have a lot of our online content on a IIIF supported host, but there are other legacy links that may not be compatible with this (image/PDF links existing on old servers, for example).

I think you’ve nailed it on the head - we’re trying to reduce the number of clicks it takes for a user to see the online content. Whether that’s with a button or embedded viewer, it simplifies the experience. Though we did like how the button was explicit and simple - being big and, hopefully, obvious to novice users that they can see the content online - it’s difficult to tack it on considering the whole new design.

ggeisler commented 2 years ago

@crugas I'm not a developer so probably not the best one to answer your question about how to integrate the online viewer into the component show page. But you could look at the code where we're doing what I showed in the screenshot above: https://github.com/sul-dlss/nta-arclight and maybe that will help (the site isn't public yet, though).

If you have further questions you could ask the developers via the arclight channel on the code4lib Slack (not sure if you follow that, but if not seems like you might want to check it out).

ggeisler commented 2 years ago

Closing this since I believe all of the requirements of this ticket are completed.