dataverse icon indicating copy to clipboard operation
dataverse copied to clipboard

Feature Request/Idea: Native API access to upload collection logos and Theme specifications

Open Asbjoedt opened this issue 1 year ago • 6 comments

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

Asbjoedt avatar Dec 19 '23 15:12 Asbjoedt

2024/01/29

  • Prioritized at request of @pdurbin

cmbz avatar Jan 29 '24 22:01 cmbz

Thanks. As I said, the new frontend will need this functionality, eventually.

pdurbin avatar Jan 29 '24 23:01 pdurbin

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! 😄

pdurbin avatar Feb 16 '24 15:02 pdurbin

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.?

sekmiller avatar Feb 22 '24 20:02 sekmiller

That would be great! The settings could be sent through one JSON file.

Asbjoedt avatar Feb 22 '24 20:02 Asbjoedt

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 avatar Mar 28 '24 18:03 cmbz

@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.

pdurbin avatar Apr 24 '24 18:04 pdurbin