FlexMeasures / flexmeasures

The intelligent & developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.
https://flexmeasures.io
Apache License 2.0
143 stars 36 forks source link

Account-specific logo, adaptable in backend #1073

Closed nhoening closed 1 month ago

nhoening commented 4 months ago

To support white-labeling, we need custom colors and logo. #471 is about the colors, here we deal with the logo.

In the end, users with role account-admin should be able to upload a logo, which gets saved to the database (in the account table). Of course, the size should be limited. The SO link here is a good inspiration for the whole roundtrip, but this issue only deals with making it possible for FlexMeasures admins to set the logo.

This requires:

Not included: API endpoint to patch an account and a form to upload logo.

joshuaunity commented 1 month ago

Hi Nicolas, I was thinking what if we collect a URL instead of them uploading an actual image which we have to process?

nhoening commented 1 month ago

I forgot my counterargument. Maybe you are right and that is an easier path for now.