-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
From WA to PWA #1350
From WA to PWA #1350
Conversation
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.
Wow! What a great treat for me to see in the new year. I'd like to focus a lot on PWA's in 2024 - Rails is doing a similar push. So having ux.symfony.com as a PWA playground that we can iterate on is a great idea.
How did you create all of the screenshots? And how many are needed in reality? You included a lot - is one needed for every page? Or were you just being very "robust"? :)
ux.symfony.com/src/Controller/UxPackage/PasswordStrengthController.php
Outdated
Show resolved
Hide resolved
By hand 😐. With the day 30 of the LAST series and this comment, an idea came to my mind💡: what about auto-screenshots generated just by setting a path/route and an image size? I tried with panther and it just works as expected. [
'path' => 'https://ux.symfony.com',
'form_factor' => 'narrow',
'platform' => 'ios',
'height' => 2_532,
'width' => 1_170,
'format' => 'png',
],
[
'path' => 'https://ux.symfony.com',
'form_factor' => 'wide',
'platform' => 'ipados',
'height' => 1_536,
'width' => 2_048,
'format' => 'png',
],
The number of screenshots is not really clear. What I understand is that only 2 or 3 are really used, but could be more e.i. on Microsoft Store. You can tag a screenshot for a particular platform, but I think it should be limited to specific features you want to highlight. |
@weaverryan I removed the screenshots in this example and now they are all generated using Panther. |
WOW!!! |
Forgive these ignorant questions but I don't know anything about PWAs:
|
Hi @kbond,
If you had asked me this question a month ago I probably would have said "no" or "I don't know".
Not exactly. This is still a web application loaded by a browser so there is no full download of the application (although this is still possible). In general, you select the most important pages/assets that are pre-cached. Other pages may be cached as the user visit uses the application.
The Service Worker is a JS script that acts as a proxy and allows you to react to events or interact with the web API. It is saved by the browser when you "install" the application. |
54d52c0
to
1316042
Compare
https://store.app/ attempts to be an app store for PWAs. It's not very good just yet, but the idea is there. I've submitted some support issues and never received an answer. |
eda4df1
to
2cce48d
Compare
Hi all, Initially, this PR was just a playground for the development of a bundle. Many thanks. |
@Spomky How do I run this as a PWA? I've cloned the repo and am in the 2.x branch, but I don't see the pwa-bundle in composer.json. The features/pwa branch is gone. |
The goal of this PR is to add Progressive Web Application capabilities.
I enabled lots of features including: