Skip to content

Progressive Web App #21

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Progressive Web App #21

wants to merge 4 commits into from

Conversation

Spomky
Copy link

@Spomky Spomky commented Dec 18, 2023

Ces modifications permettent de transformer l'application en PWA.
Il est désormais possible

  • D'installer l'application sur le système hote (Microsoft Windows, Android...)
  • D'utiliser certaines fonctionnalités en mode offline
  • D'accéder à certains raccourcis depuis l'icone de l'applcation
  • Tirer profit de la mise en cache local et donc de la rapidité

*** CETTE PR N’A PAS VOCATION À ÊTRE FUSIONNÉE **
Seulement pour exemple dans le cadre d'un test.

The Symfony dependencies across the application have been updated from version 6.3 to version 6.4. This includes all core packages as well as the debug bundle and platform requirements specified in the composer.json file.
The Spomky-Labs/PWA bundle is added to the composer.json file. It's also registered in the config/bundles.php, making it available for use throughout the project.
Workbox library has been utilized to set up various caching strategies including caching for pages, images, and static resources. A service worker file has also been registered to improve offline performance. In addition, a manifest file was linked to the application enabling it to have a PWA nature.
The commit introduces a new file, 'pwa.json', which is the configuration file for the Progressive Web App (PWA) version of the Car Dealer application. Multiple icons along with their various dimensions have been added in the SVG format for both fullscreen and minimal-ui displays. Screenshots of the application's home and car detail pages, and shortcuts for adding and managing cars, are also included.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant