open-build-service
open-build-service copied to clipboard
Allow setting logo in the admin config
Lets you change the logo in the frontend
For reviewers: https://obs-reviewlab.opensuse.org/hellcp-work-logo-upload-ui/configuration
:warning: Please make sure the migration is shipped in an independent Pull Request. :warning: :heavy_check_mark: You can include schema changes, annotations and validations for consistency but :x: avoid committing other changes with it.
Review app will appear here: http://obs-reviewlab.opensuse.org/hellcp-work-logo-upload-ui
@hellcp-work I get an error when I try to update the logo
@krauselukas, the error was related to the cache. I added a couple of commits. It should work now.
Just a couple of things:
- Will we provide a way to reset the image to the default?
- I tried to upload an SVG file and it didn't work.
Just a couple of things:
- Will we provide a way to reset the image to the default?
I have to have a look how to go about this
- I tried to upload an SVG file and it didn't work.
https://github.com/rails/rails/issues/34665#issuecomment-445888009, though we can always overwrite this behavior, if we are sure we don't start using activestorage for user submitted content at any point