Closed ShanaLMoore closed 1 year ago
Recommendation: Skip thumbnail in feed (attaching it to the work), Generate from primary file instead.
The consequence of this would mean we completely ignore any pre-generated thumbnails. If that is not acceptable, we have some work that can re-purpose existing thumbnails and attach them to the archival PDF.
scenario (data already exists)
option 1: We can either clean up the data. query solr for filenames that end in .TN.jpg, delete and eradicate them. Change bulkrax to not import them.
option 2: change the manifest to skip anything that has a filename that ends with .TN.jpg etc.
We a choosing to override the manifest. (option 2 as it is the easier lift)
Spacestone may handle when data does not exist. Then option 1 can be handled then too.
blocked, staging adl tenant is busted
removed blocked label. try testing using the sdapi tenant
This passes SoftServ QA: See attached screenshot.
tested on:
cc @KatharineV for client QA, you'll want to use the sdapi tenant after we reindex it. We plan on doing so tonight. Otherwise we can provide videos or screenshots if you'd like a faster review.
Tested on SDAPI staging and found that thumbs are excluded from the UV. Hooray! Thank you.
Tested this ticket on production with a Book uploaded as Published Work on 2023-03-30. The book has a thumbnail in the Items list, but it does not show in the UV. All is working as expected.
Summary
TN.jpg files are being rendered in the UV.
Per Katharine,
"Can we exclude thumbnails from showing in the UV? As in this example, it loads first and it creates a confusing user experience."
Acceptance Criteria
Screenshots or Video
link to example: https://adl.s2.adventistdigitallibrary.org/concern/published_works/20214381_an_appeal_to_the_youth_funeral_address_of_henry_n_white?locale=en
Testing Instructions
Ask katharine or jeremy how to import a thumbnail file.
Update per Jeremy:
The thumbnail file is imported via the OAI importer. You can create an OAI import with: metadataPrefix: “oai_adl” set: “adl:thesis” URL: http://oai.adventistdigitallibrary.org/OAI-script And limit the import to one or two (the first and second record has a thumbnail).
After that, visit the work's show page/UV and verify that the file ending with TN.jpg shows up in the items section, but not in the UV
Notes