Commit Graph

23 Commits

Author SHA1 Message Date
Paolo Arena
6931d57005 Fix: Todo Multi refresh ...
fix some promises problem
2019-02-14 18:38:23 +01:00
Paolo Arena
259e2dc4e2 ++ If press DELETE or BACKSPACE and is blank description, delete the Todos.
- fix: if offline, doesn't save to cache??  if I refresh page, the data disappear
- ++ field to the percent progress
- fix: Refreshing 2 times the array todos.. because there is a filter
2019-02-12 19:09:43 +01:00
Paolo Arena
a024b78e95 - cleaned some code.
- routing offline
- pushNotification
2019-02-12 12:06:01 +01:00
Paolo Arena
e755ada1ff - fix: Date problems... (it was a bad "copy" function, the object date was not valid...
- fix: error fetch on loading... (offline appeared)
2019-02-11 02:58:53 +01:00
Paolo Arena
4d5cea1c17 - Manage multiple login, in different browsers... Multi Token...
- visualization of the Connection State (Online, Offline) using fetch.
2019-02-09 18:04:49 +01:00
Paolo Arena
b65d0a2386 - creating Alternative to SyncManager
- fix: refreshing with FF now it works!
2019-02-08 17:10:25 +01:00
Paolo Arena
5ee0d8e171 - updated SendReq
- If Server Down the login msg error corrected.
2019-02-07 00:53:10 +01:00
Paolo Arena
cb62d46048 - updated SendReq
- If Server Down the login msg error corrected.
2019-02-06 18:47:54 +01:00
Paolo Arena
d8e0ff0bc3 - PUSH Notification 2019-02-05 03:39:56 +01:00
Paolo Arena
a66d83cb23 - add: perimssion and Send Notification to a Service Worker... -> and finally to the App 2019-02-04 16:47:15 +01:00
Paolo Arena
b2e760faa9 - fix: updated from Store to Component: using Watch with 'immediate' parameters! @Watch('todos_changed', { immediate: true, deep: true })
- fix immediate only if you need to change something very quickly... otherwise it not need.
- fix: modified become FALSE when is sent, otherwise infinite loop...
- fix: created 2 separate tables for POST and PATCH request.
2019-02-04 03:09:15 +01:00
Paolo Arena
13a4a0ba90 - fix: updated from Store to Component: using Watch with 'immediate' parameters! @Watch('todos_changed', { immediate: true, deep: true })
- fix immediate only if you need to change something very quickly... otherwise it not need.
- fix: modified become FALSE when is sent, otherwise infinite loop...
2019-02-03 19:28:06 +01:00
Paolo Arena
5d987013c5 - fix: update on Insert
- fix: update on Edit
2019-02-03 02:40:24 +01:00
Paolo Arena
5db5fb7dd0 - fix Indexdb:
1) ReadAllData 'GET'  : OK
 2) InsertTodo 'POST'  : OK
 3) DeleteItem 'DELETE': OK
 4) Modify     'PATCH' : OK
2019-02-03 00:51:58 +01:00
Paolo Arena
185bd2657d - fix Indexdb: 1) InsertTodo OK 2019-02-02 21:16:49 +01:00
Paolo Arena
3c6b2c7bef - Service Worker
- Indexdb
2019-02-02 20:13:06 +01:00
Paolo Arena
fa7247a338 - Activated Workbox precache PWA !
importScripts('https://storage.googleapis.com/workbox-cdn/releases/3.0.0/workbox-sw.js');

  if (!workbox) {
    workbox = new self.WorkboxSW();
  }

  if (workbox) {
    workbox.core.setCacheNameDetails({prefix: "freeplanet"});

    /**
     * The workboxSW.precacheAndRoute() method efficiently caches and responds to
     * requests for URLs in the manifest.
     * See https://goo.gl/S9QRab
     */
    self.__precacheManifest = [].concat(self.__precacheManifest || []);
    workbox.precaching.suppressWarnings();
    workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

    workbox.routing.registerRoute(/^http/, workbox.strategies.networkFirst(), 'GET');

  }
2019-01-31 13:52:52 +01:00
Paolo Arena
83420447d3 - fix it: Order List Todo
- Split Todo List by Priority and by Completed
- Animation drag
2019-01-27 19:09:48 +01:00
Paolo Arena
2984f20b58 - todo: added priority, expired, pos fields.
- todo: delete item.
- sorted by fields.
2019-01-14 22:40:30 +01:00
Paolo Arena
3613560c97 - created favicons logo 2019-01-09 00:31:16 +01:00
paolo
bd832d3f92 Setting MultiLanguage using Typescript : adding i18n.d.ts for the compiler 2018-12-22 18:42:00 +01:00
paolo
43f2484e54 Iniziato il SignUp 2018-10-13 19:14:58 +02:00
paolo
a2673c0502 Primo Committ 2018-10-12 16:42:54 +02:00