-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default Collection thumbnail bug #886
Labels
Comments
ShanaLMoore
added
bug
something isn't working
cutover bug
and removed
bug
something isn't working
labels
Nov 11, 2024
I am able to reproduce this issue locally and is a bug in Hyku |
related: |
ShanaLMoore
added a commit
to samvera/hyku
that referenced
this issue
Nov 13, 2024
The default work thumbnail was displaying even though the default collection thumbnail was set. Issue: - scientist-softserv/adventist_knapsack#886
3 tasks
ShanaLMoore
added a commit
to samvera/hyku
that referenced
this issue
Nov 14, 2024
…athServiceDecorator The default work thumbnail was displaying even though the default collection thumbnail was set. Issue: - scientist-softserv/adventist_knapsack#886 - Updated #call method to use default_collection_image for collection resources when thumbnail_id is blank. - Ensures collections without specific thumbnails use the site-wide default collection image instead of the default work image. - Improved fallback logic to distinguish between collections and works, avoiding issues with collections displaying the work default image.
ShanaLMoore
added a commit
that referenced
this issue
Nov 14, 2024
3 tasks
ShanaLMoore
added a commit
that referenced
this issue
Nov 15, 2024
Issue: - #886 ref: - HYKU: samvera/hyku#2381 # When No Collection Branding is Set ## When Default Collection Thumbnail is Set - [ ] Collections should render the default thumbnail ![Screenshot 2024-11-13 at 13-49-38 Show Appearance __ Hyku](https://github.com/user-attachments/assets/e569edc4-4ae7-4117-bd2c-86259054aab1) ![Screenshot 2024-11-13 at 13-50-18 Collections](https://github.com/user-attachments/assets/58f5a5eb-e693-4afc-aa43-a02d21e47b71) ## When Default Collection Thumbnail is NOT set - [ ] Collections should render Hyrax's default thumbnail ![Screenshot 2024-11-13 at 13-50-54 Show Appearance __ Hyku](https://github.com/user-attachments/assets/29a74933-c7f1-40b5-b20d-a46fe28bd1da) ![Screenshot 2024-11-13 at 13-51-05 Collections](https://github.com/user-attachments/assets/ce945c3b-41c8-4a4d-b22b-6e5fd79dddce) # When Collection Branding is Set ## When Default Collection Thumbnail is Set - [ ] Collections should render the Branding thumbnail ![Screenshot 2024-11-13 at 13-50-37 Edit User Collection es __ Hyku](https://github.com/user-attachments/assets/78569507-1f36-4c99-8879-fd391b4929f6) ![Screenshot 2024-11-13 at 15-40-53 Collections](https://github.com/user-attachments/assets/fe0b7100-0404-43b1-a074-d26fa4f3fea9)
QA Results: ✅ Pass After reindexing a collection (via edit/save) that was using the work's default image, it now shows the tenant's default image. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
The default collection thumbnail is set to a different image than what is displaying
inspect tool:
Acceptance Criteria
Testing Instructions
NOTE: You may have to reindex works and collections for changes to take
In the Admin Dashboard, go to settings > Appearance > Default Image
If a collection image is not uploaded here, upload one an save.
Create a new or edit a collection with no thumbnail and save.
Go to the collections index page. The thumbnail should reflect the chosen default image.
Notes
The text was updated successfully, but these errors were encountered: