-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Make dashboard installable as Chrome desktop PWA #23521
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
Conversation
b433355 to
ba39603
Compare
Signed-off-by: nhirokinet <[email protected]>
ba39603 to
c22fd24
Compare
|
I gave this a try and while I do have #23520 applied, Chromium reports that it failed to get (GET, hehe) the Manifest icon:
I manually tried to reach the URL stated in the manifest ( EDIT: Ignore the above sentence. Oh, and I had to add this to the NGINX server block: |
|
@lazerl0rd Oh, I've forgotten that I changed nginx.conf for that. Thank you for your comment! |
|
For |
Yupp, my manifest is as follows: I'm not sure if it's a bug related to my theming options but here they are: (the logo, header image, favicon, and login image are all manually set to different images). And yeah, I do have php-imagick up and running but Nextcloud didn't seem to auto-generate anything beforehand (maybe it's not working, for some reason). PS: I manually just applied your two patches on top of the latest stable Nextcloud. Please do inform me if that means I'm missing something. |
|
I'm not sure what is happening on your server, but if you mean Auto resize in /app/theming/favicon requires php-imagick, with SVG support. In my Ubuntu 20.04 environment I needed to install libmagickcore in addition to php-imagick. |
The thing is, I have About my previous message, the logo/favicon/icon/whatever version number ( About the I manually tried to reach |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Signed-off-by: nhirokinet <[email protected]>
ac59c3e to
d966779
Compare
|
Thanks! Could you elaborate on how to test this pr? |
|
Testing environment is
Then install button is available on the address bar.
Surely, it is just catching and forwarding any fetch, as you said. This is just to be installable PWA for desktop Chrome. Of course this is not ideal PWA, but I thought better than current status. |
|
@nhirokinet is this for any app for "just" for the dashboard app? Great would be if it would work with any app because then not every app would need to implement this feature on its own :) |
|
@szaimen This PR only works for dashboard, because manifest.json is already targeting dashboard. Well... actually I want some features like non-official audio player to be run under PWA. This pull request is intended not to make additional prevention for other app, but still giving nothing to enable other app. In my limited idea at least:
|
|
Superseded by #28459 |


Tried to address #8563.