WebUI: Add Web App manifest to allow standalone usage #21980
+17
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why
I love the WebUI and use it regularly on multiple devices. I've installed it on my homepage of my iPhone so it looks like an app of its own - but it just opens in the browser when I click on it. I would like it to function less like another webpage that opens in a browser tab, and more like a app of its own with its own window.
What
To get an app-like feel, all that is needed in a little
manifest.json
file. So I add that file in this PR. I've tried my best to match the existing logic - adding it to the auto formatter and (hopefully) getting translation working correctly. I don't expect this PR to be approved and merged without some discussion of its merits - but hopefully this gets the ball rolling and we can see where it ends up.Testing
I'm using a mac... I was able to get a successful run of the build commands, but when I try to actually open the app, it just crashes. I think I might not have everything setup correctly with Qt. So... unfortunately that means this PR is fully untested. If there are any docs I can read, please let me know. Otherwise, maybe this PR will still be useful for a discussion if this feature is even wanted by the project or not. I tried searching in advanced, and I couldn't find any similar requests.