Right now the draft is server dependent ... however we could save it to the PWA cache when offline. Something to consider for the future as enhancements are made to the PWA.
Is there a way, to divide each post into it's own div with a space between them? Right now, I have an hr then the next post's title, but would like it to show each post in it's own div, if possible. Kind of making each post into it's own block, look wise. Since set the main display as No Title and Roundframe.
Quote from: Spuds – Since a forum tends to be all dynamic content, its difficult to have an offline experience where one could potentially reply while offline and have it post when your network comes back, stuff like that, but that would be a large project just on its own
If member is offline, keep it as a draft instead?
If you are offline, you should take advantage of that, turn off the borg tether ..
Quote from: Spuds – Since a forum tends to be all dynamic content, its difficult to have an offline experience where one could potentially reply while offline and have it post when your network comes back, stuff like that, but that would be a large project just on its own
Last post by Spuds -
The admin interface makes creating / updating the basic manifest easy, but a manifest w/o a sw.js is ends up as pretty shortcut/bookmark. I allowed for that option as that is all some sites may require.
Adding in a functional service worker allows one to install it, like an app from the play store, gives you some extra SEO points.
I went from a simple sw.js shell that simply allowed it to register/install/activate but really did nothing .... to what I currently have for testing where I make use of a cache so the app will at least launch a homepage even if you are offline, and then "complain" about being offline.
Since a forum tends to be all dynamic content, its difficult to have an offline experience where one could potentially reply while offline and have it post when your network comes back, stuff like that, but that would be a large project just on its own
Quote from: Spuds – I've been working on adding this feature to 2.0 and its now it is available for testing.
Hmm... I remember a while back I suggested something like this, since I learned and PWA'd all my sites. Nice to see that it'll be in the admin panel to set up. A lot simpler than making the manifest.json file and adding the code to the index.template file.