Loading...
 
Skip to main content

History: Progressive Web App

Source of version: 9

Copy to clipboard
            ! Progressive Web App

!! Scope
New in ((Tiki21)). This permits (at first) offline access to wiki pages and tracker items, and even to submit tracker items offline which are added when user gets back online.

https://gitlab.com/tikiwiki/tiki/merge_requests/237
https://gitlab.com/tikiwiki/tiki/merge_requests/238
https://en.wikipedia.org/wiki/Progressive_web_application

For now only wiki pages (view) and trackers items edit (new or updates) are available on offline. The pages are cached when visited.

This is an experimental feature. To make it work properly please ensure the following settings:

* HTTPS is used;
* ((SEFURLs)) feature is __disabled__.

{REMARKSBOX(type="warning" title="Warning")}For PWA to work and allow tracker items edit, CSRF tokens are bypassed. If there are any security concerns, then PWA feature should be disabled.{REMARKSBOX}

!! Get started
To get started you have to enable the Progressive Web App mode if it's not yet:
Just go under Settings -> Control Panel, search for it in the search box, and enable It.
If a message saying "''A Tiki package is missing: npm-asset/dexie''" appears, don't panic, just click on the missing package, and you will be prompted to install it from Tiki in the browser.

!! How it works
The context here is that we want to insert and update items in a tracker through a form (tracker form) when we are offline, and the data will be sent later when we get Internet access again.
!!! Inserting
Just open the page with the form, fill in the form and click Save. It's as simple as that. You will be seeing in real-time the increase of your data in terms of number of "__requests__" in the bottom-right corner of your page.
When you get Internet access again, you can now submit your entered data while offline by clicking the "__Sync__" button in the bottom-left corner of the page (next to the number of requests), and it will be synced and saved in the tracker
!!! Updating
To update a previously entered item, you just need to find it click on it, and update the desired information. Once you're done, you submit and again you will see the number of your requests increasing
And when you are back online again, click the "__Sync__" button and let it do the magic!


So, with the Progressive Web App mode feature, no need to stress out again when you need to work when or where there is no internet... As a matter of fact, you will enjoy being offline (:wink:)

-=alias=-
(alias(PWA)) | (alias(Progressive Web Apps)) | (alias(Enable-Progressive-Web-Application-Mode))  | (alias(Enable Progressive Web Application Mode))
        

History

Advanced
Information Version
Marc Laporte 21
Marc Laporte 20
Marc Laporte 19
Marc Laporte 18
Marc Laporte 17
Bernard Sfez / Tiki Specialist 16
Bernard Sfez / Tiki Specialist 15
Bernard Sfez / Tiki Specialist 14
Marc Laporte 13
Adrien 12
Adrien 11
Marc Laporte Some reworking 10
Josue Zirimwabagabo 9
Xavier de Pedro added aliases related to the link found in Tiki preference link from Tiki control panels 8
luciash d' being 🧙 7
Marc Laporte From Ricardo 6
luciash d' being 🧙 missing word 5
Marc Laporte 4
Marc Laporte 3
Marc Laporte 2
Marc Laporte 1