Skip to content
Snippets Groups Projects

Progressive web application

Merged Ciarán Ainsworth requested to merge progressive-web-application into develop
All threads resolved!

This MR presents a POC for Funkwhale as a progressive web app. It makes use of the Vue CLI PWA plugin for generation of the service worker and manifest during the build procedure and the mediaSession API for mapping keys to the player.

Mobile

POC_Mobile

Desktop

POC_Desktop

Benefits

  • Better mobile performance
  • Ability to use web-based player semi-natively on multiple devices
  • Native support for notification keys
  • Wider range of devices can be targeted

Drawbacks

  • Introduces some new dependencies (none as big as electron, but still worth taking into consideration)
  • Updates existing dependencies
  • Requires some additional work to get set up

Still to do

This MR is by no means complete. A few things need to be addressed before the change is viable

  • Dynamic population of manifest file with server details
  • Implementation of the beforeinstallPrompt function
  • More selective caching
  • Improvements to offline performance (relating to cache)
  • Cleaning up of the yarn.lock file
Edited by Agate

Merge request reports

Pipeline #9152 passed

Pipeline passed for 7522f765 on progressive-web-application

Test coverage 92.00% (0.00%) from 1 job

Merged by AgateAgate 5 years ago (Jan 8, 2020 11:16am UTC)

Merge details

  • Changes merged into with ebf774d5.
  • Deleted the source branch.

Pipeline #9168 passed

Pipeline passed for ebf774d5 on develop

Test coverage 92.00% (0.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading