dataverse
dataverse copied to clipboard
Feature Request/Idea: Native API access to upload collection logos and Theme specifications
Overview of the Feature Request
Currently, it is possible to customize collection (Dataverse) logo images through the UI under "Theme + Widgets". We want this option to also be possible through Native API so we can automate customization using Ansible. Also, new SPA UI should retain option to customize collection (Dataverse) logo images.
What kind of user is the feature intended for?
Sysadmin
What inspired the request?
Ansible automation of installation process.
What existing behavior do you want changed?
Native API. No way to upload collection logos.
Any open or closed issues related to this feature request?
- https://github.com/IQSS/dataverse-frontend/issues/268
2024/01/29
- Prioritized at request of @pdurbin
Thanks. As I said, the new frontend will need this functionality, eventually.
For whoever picks this up, there's some commented code called setDataverseLogo at https://github.com/IQSS/dataverse/blob/v6.1/src/main/java/edu/harvard/iq/dataverse/api/Dataverses.java#L1098 you might want to use as a starting point. In 2017 I added it in 49c6ec55ae52a80ef8bd2dd472eb672c28cd9c0a (includes some tests) but later commented it out in a1eec7d3a872b8abc12c70468bb17ce8830204c5. That said, I won't be offended if you start fresh! 😄
Should the scope be expanded to include all of the settings available on the Theme + Widgets page of edit Dataverse including "TagLine", "WebSite", colors, etc.?
That would be great! The settings could be sent through one JSON file.
2024/03/28
- Related: https://github.com/IQSS/dataverse/issues/10433
- Moved to Waiting as per conversation in Zulip with @pdurbin and @DS-INRA
- @DS-INRA will get back to us when work is ready
@cmbz and I just discussed this issue. Our understanding is that @DS-INRA will have one of his developers work on this at some point so we're removing this from our board. Thanks, Dimitri! Please just let us know if anything changes.