-
Notifications
You must be signed in to change notification settings - Fork 339
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
Improve PWA capabilities #630
Improve PWA capabilities #630
Conversation
875e591
to
7c383b6
Compare
@sissbruecker could you take a look at this? :) |
7c383b6
to
21aead7
Compare
53d7a0b
to
3d8fa20
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the effort, added a few comments.
@@ -26,8 +108,90 @@ def test_manifest_respects_context_path(self): | |||
response_body = response.json() | |||
expected_body = { | |||
"short_name": "linkding", | |||
"name": "linkding", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Instead of duplicating everything, maybe extract the common parts and reuse them in individual tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noticed that a lot of URLs are different. Nevermind then, can be improved if more tests are added. As it is it's a pretty decent snapshot test.
766304c
to
0a2f744
Compare
66af08d
to
1ab640f
Compare
I'm still not getting this on Firefox, only the standard "Add to Home Screen". Are other people getting Install in the menu or Is it just a quirk of my install? I'm on Nightly. |
I do get "Install" as an option on Firefox Android. Though I've installed it via Chrome because only Chrome supports the share target and shortcuts |
I can confirm this, works on Android (14) with Firefox and Chrome Edit: I double checked, it works an "normal" Firefox, Firefox nightly does not show me an install option as well @dahamsta |
Just occurred to me to test in standard Firefox, Install appears there but still not in Nightly, even with all extensions disabled. Would someone mind confirming please? https://play.google.com/store/apps/details?id=org.mozilla.fenix |
Improves the manifest.json to make the app installable on devices.
share_target
that allows sharing links to linkding when the PWA is installed (this works really well!)