samvera / hyku

Hyku: A multi-tenant Hyrax application built on the latest and greatest Samvera community components. Brought to you by the Hydra-in-a-Box project partners and IMLS; maintained by the Hyku Interest Group.
https://samvera.atlassian.net/wiki/spaces/hyku/overview
Other
93 stars 46 forks source link

PR Feedback => tickets #2194

Open ShanaLMoore opened 2 months ago

ShanaLMoore commented 2 months ago

ref:

image

I'll create a separate ticket for this to open for discussion. This was contributed back from pals to sort sub collections by title on default. What should the global default behavior be, if otherwise?

image

@orangewolf this comes from pals and it got implemented along with the use roles work. I'm going to leave it for now.

ref:

image

@orangewolf Jeremy left this comment:

    # @note We likely want to extract something like this to Bulkrax.
    #       However, we probably cannot assume that we have a field named
    #       `based_near` that is in fact the Location field.
    #
    #       On possibility is to have a Hash that has key of :name and value
    #       of a lambda; that Lambdawould receive the given :result and return
    #       the correct value.  As we can see in the implementation below, we
    #       need to consider the `Site.instance` which is a Hyku specific
    #       consideration.

so I think he would agree with you but didn't have the time to think about it and follow through. I can make a ticket for us to handle this later.

image

re: @orangewolf

Here is the commit from pals, and here is the original ticket.

also ref ticket

It uses Legato for file analystics reports

It looks like part of this work (app/models/hyrax/statistic_decorator.rb) already got contributed back to hyrax.

file set decorator exists because '# OVERRIDE Hyrax hyrax-v3.5.0 to require Hyrax::Download so the method below doesn't fail'. The only diff between this and the one in hyrax is calling Hyrax::Download

image

re: @orangewolf I think this is ok.

It was taken from pals which duplicates the same exact code in both conditionals; basically it should always display. So it looks like Jeremy dried that bit up and left the remaining conditional to handle collections. Logically I think it looks equivalent.

Moreover, I tested the search and here are my results. We'll have to look into why thumbnails don't render.

https://github.com/scientist-softserv/palni-palci/blob/main/app/views/catalog/_index_header_list_default.html.erb

image

@orangewolf this is the entire commit. Looks to be intentional. The commit message says: " Add render of empty related items partial "

image image image
ShanaLMoore commented 2 months ago

OTHER NOTICED ISSUES

image

image

It should look like: image

RELATED?:

image

generic_work_locations_test.csv

What should the default be?

image
ShanaLMoore commented 2 months ago

HYKU v6.0.0 is a show stopper until we fix:

@ShanaLMoore to create tickets