Logo improvements#9322
Conversation
* Add an API to retrieve group(existing)/sources/site/harvester logo (instead of building path to images) * Source table contains the reference to the logo for the main catalogue, portal and harvester * Group table contains the reference to the group logo * Refactor to have a single utility to return the logo * Allow using SVG for logo Follow up of #1565
josegar74
left a comment
There was a problem hiding this comment.
Some places that have images/logos to review:
There are some additional ones, please check if are required to be updated.
|
Changing a logo in a source / group, doesn't update the logo in the list, even when reloading the full page. |
|
Thanks for checking @josegar74
favicon is not modified by the PR. So this does not change.
Updated (including some other files which were missing).
Fixed.
This is is due to the cache that was added in group logo API https://github.com/geonetwork/core-geonetwork/pull/1565/changes#diff-9559f3495b07382fa74aaac41b6e686a04e5268c57edfb7210e82f1c46be1256R192 I think. I'm not sure how to avoid that? Are we using the group logo API somewhere already? One option is to turn off this cache. What do you think? |
|





Add an API to retrieve logo (instead of building path to images with hard coded extension):
New API
GET operation
/logoadded for:Logo references
In database,
Improvements
Previous related work
Follow up of #1565
Checklist
mainbranch, backports managed with labelREADME.mdfilespom.xmldependency management. Update build documentation with intended library use and library tutorials or documentationFunded by Ifremer