Skip to content
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

🎁 Add branding persistent volumes to deploys #2219

Closed
wants to merge 15 commits into from

Conversation

ShanaLMoore
Copy link
Collaborator

@ShanaLMoore ShanaLMoore commented May 23, 2024

Collection thumbnail would not display, even though it referenced the correct path. Perhaps we need to add a persistent volume. I will test this branch to verify that it works.

BEFORE

image image

AFTER

NOTES

This has issue has been seen and solve in other projects.

ref:

This commit is required to resolve the issue with uploading images from the Collections' branding tab. Because the symlink wasn't established, a user would not be able to see the images they uploaded even though the path correctly exists.

…from the Collections' branding tab. Because the symlink wasn't established, a user would not be able to see the images they uploaded even though the path correctly exists.

ref:
- notch8/atla-hyku#187
…from the Collections' branding tab. Because the symlink wasn't established, a user would not be able to see the images they uploaded even though the path correctly exists.

ref:
- notch8/atla-hyku#187
ShanaLMoore and others added 9 commits May 23, 2024 15:07
This commit is implemented following the precendence set by collection branding's banner and logo uploads.

TODO:
- add and update specs
- attach image to collection thumbnails
- thumbnails should link to the associated collection
This commit will make the collection thumbnails show up in the views
such as in the dashboard list of collections and also in the catalog
search results.  The gitignore was updated to ignore the path where the
thumbnails are stored.
This commit will fix a bug where if the user sets the thumbnail first
and then later sets the alt text, they would have to have to remove the
thumbnail and re-add it and set the alt text at the same time to get the
alt text to be set.
This commit will add a rake task to migrate the Hyku Commons collection
thumbnails which uses the /uploads/uploaded_collection_thumbnails/ path
as opposed to a downloads controller endpoint.
This commit will address the code review comments with the following:

- remove the /uploads gitignore, turns out there was a deeper issue with
  where collection branding files were being saved
- remove a stray comment
- remove an unnecessary TODO
- remove an unnecessary method definition in the new rake task
…from the Collections' branding tab. Because the symlink wasn't established, a user would not be able to see the images they uploaded even though the path correctly exists.

ref:
- notch8/atla-hyku#187
@ShanaLMoore
Copy link
Collaborator Author

ShanaLMoore commented May 23, 2024

The file displays now, but...
image

Thumbnail is still missing:

image

@ShanaLMoore
Copy link
Collaborator Author

The thumbnail path needs to be
image

TODO

remove the app/samvera/ from the beginning of it

Updates the my collection list view to match the index view. The index list view was correctly rendering thumbnails while the my list view was not.
@orangewolf orangewolf deleted the add-branding-volume branch August 26, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants