-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Basic PWA support #4430
Basic PWA support #4430
Conversation
Hmm, could someone suggest where to move manifest definition array so 'codeclimate' is happy ? |
Thanks for offering this @GamerClassN7! |
Hello @ssddanbrown, regarding the technical implementation, i jus use Laravel router to emulate manifest.json file and add proper colors and names from application settings :) BR |
Okay, so to summarize this is specifically targeted at making it easier for users to add to their mobile devices for an app-like experience. In regard to the technical side, I'll probably give this a review in the later part of the release cycle (later this month) for initial feedback. Thanks again! |
@ssddanbrown will be WATING for your feedback :) feel free to contact me any time. And thank you once more for this amazing OS Software :) |
@Daveyvdweide Thanks for offering a review but I'm going to resolve your comments since I don't want @GamerClassN7 to needlessly spend time on addressing these points. Syntax and formatting can be picked up by our tooling, and fixed when I merge in the code. In regards to the |
Okay, Sorry for the delay again @GamerClassN7, ended up being after the last release cycle as time got a bit more limited. I've now given this a play in my dev environment. It did indeed change the behaviour of using "Add to homescreen" on both iOS/Safari and Chrome/Android, to be a more "contained" app-like experience, so that's working well! In regard to the code, looks like a good start but a few things that need to be amended:
Hope that all makes sense and is reasonable. Are you happy to make those changes? Thanks again for offering this PR to make a start on this. |
Hello @ssddanbrown 👋 thank you for your feedback. I will try to read it tomorrow in more detail. Could you before hand specifically where I should put the New PWA class you are mentioning ? |
@GamerClassN7 Just throw it in the |
@ssddanbrown Hi, Finally had some time :) I would need little help with followings:
BR |
Thanks @GamerClassN7!
Are those a suggestion or a requirement for PWAs on windows? What happens without 48px icons? I'd prefer to leave those out as long as things gracefully fall back rather than complicate anything our side to suit Windows suggestions.
Okay, would you like me to take those on or are you looking to learn that under some guidance? |
Thays are in guidelines for PWA, shouldn't be too hard right since you are already makings all of those icons.. (Manifest is not compliant without them) |
@ssddanbrown any news ? :) |
@GamerClassN7 Not really. Sorry, I tend to bundle PRs and go through them on certain days. Not had a look at the changes yet, but I'm happy to take on the tests to finish this off. |
Hi @ssddanbrown 👋, |
- Updated to go through HomeController with the builder as a helper class. - Extracted some reapeated items into variables in manifest. - Updated background color to match those used by BookStack. - Removed reference of icon.ico since its not intended to be used. - Added tests to cover functionality. Review of #4430
Thanks again @GamerClassN7, now merged into dev to be part of the next feature release.
Not sure where those guidelines are coming from, but I couldn't see the size required in the spec so some circumstance as far as I'm concerned, not looking to make changes unless there's a functional need. I don't want to spend time chasing a certain companies guidelines or chasing full-stars/marks in an automated test. |
Hello,
I am so happy i can at least try to contribute to this awesome peace of software :)
my humble contribution is to fix/tweak ease of use on mobile phones :)
my MR add Basic PWA support to convert lack off Mobile and desktop applications for bookstack. I have more knowledge in implementing PWA support to laravel project so if you would be open to discussion i can try to help more in this spectrum :)
Screenshots