-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize appearance (logo, favicon, PWA manifest name and icons) #2752
Comments
According to the discussion on this PR, I propose these next steps :
@Chocobozzz @rigelk all these steps seem reachable to you ? Some steps contain improvements for the plugin API, it's well in the roadmap ? |
Yes I think
No, it's not planned in the roadmap but we can try to implement them if we have some time. |
Great idea! But do we need a web UI to customize the manifest? In most cases it's just something that you configure once, therefore I'd suggest to handle this during the client build time. It should be easy to solve with webpack, I think webpack-pwa-manifest-plugin solves our needs? That should be possible to use together with angular-builders. |
@kontrollanten most servers are not (re)building their code. |
No, but most servers build their code ;) As I mentioned I think this is a one time configuration that is done during installation. |
@kontrollanten I think this is a good idea to explore but we don't have to force any admin to build anything since PeerTube releases and host builds and official docker images. We need to think for both case because not every PeerTube admins have the ability to build their own client bundles.
Some instances may want to update their logo for special events, in this case we can't re-build clients bundles :/ |
@Chocobozzz, @rigelk, @kontrollanten I don't say it's a priority but maybe we'll need to create a new input type for plugins; an input to upload images strictly in client-overrides directory to avoid security issues. This could be a good compromise to not engage more core development :
What do you think ? |
Reviving a dead thread. I updated the |
If you want to change PWA icon, try to add the following paths in your client_overrides directory:
|
Thanks, but that didn't seem to work.
|
Yes. You can check:
|
Everything is correct there. Hm. Maybe I have to make the icons the actual size. |
It's not showing up in the PWA for Brave but it is in Firefox, so I'm guessing it's installed correctly. |
I'm thinking about a plugin to customize appearance with the new helper plugin
getRouter
.This plugin would add in
/admin/config/edit-custom
, advanced config tab the ability to :This plugin would also :
For the last feature, I think a hook would be required to trigguer any change of the name and description instance.
The text was updated successfully, but these errors were encountered: