Commit Graph

24 Commits

Author SHA1 Message Date
Paolo Arena
1eca13c27f Drag & Drop hand made... but don't working with the touch 2019-02-19 18:44:48 +01:00
Paolo Arena
ee6cf47c29 fixed UI dropdown menu.
- eliminate contextmenu.
2019-02-16 03:49:16 +01:00
Paolo Arena
cd0ec40441 Corrected some logic problems...
4 storing:
  - Array in Memory Global state.todos
  - Array temporary filtered arr_todos
  - IndexedDb
  - Database
2019-02-15 01:25:44 +01:00
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
fb099322d4 - fix: check if need refresh.. part 1
- keytab in todo...
2019-02-04 04:17:50 +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
484439efe0 - Service Worker: Save on IndexDb and Sync to send after to the DB.
- Insert record on MongoDb, POST, GET.
2019-02-01 04:10:31 +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
a3312e0d05 - Created component SubMenus to permit to call menu with:
- right click
          <q-context-menu ref="contextMenu">
              <SubMenus :menuPopupTodo="menuPopupTodo" :itemtodo="itemtodo" @clickMenu="clickMenu" @setPriority="setPriority"></SubMenus>
          </q-context-menu>

  - click on btn:
              <q-btn flat
                     class="pos-item-popover"
                     icon="menu" >
                  <q-popover self="top right">
                      <SubMenus :menuPopupTodo="menuPopupTodo" :itemtodo="itemtodo" @clickMenu="clickMenu" @setPriority="setPriority"></SubMenus>
                  </q-popover>

              </q-btn>
2019-01-30 02:01:04 +01:00
Paolo Arena
2515bb598e - fix: starting the app it doesn't loaded the SingleTodo correctly...
the problem was:
  import { SingleTodo } from '@components'  // doesn't work:
  Resolve  :
  import { SingleTodo } from '../../SingleTodo'  // correct!
2019-01-30 01:05:31 +01:00
Paolo Arena
818a7a4289 - dialog confirm delete item
- fix: context-menu (right click) declared only once and using twice using:
  @click.native="$refs.popover.$refs.popup.show()"
2019-01-29 23:13:28 +01:00
Paolo Arena
e029f6165e - added Categories to the Task List.
- Drawer added SubMenu : Personal / Work Todo list categories.
2019-01-29 03:12:18 +01:00
Paolo Arena
0225f27535 - adding Progress % 2019-01-29 00:48:04 +01:00
Paolo Arena
0161e6c7e9 - fix: width to 100%
flex: 1;  // get all space
  order: 1;
- focus to InsertTask
2019-01-28 20:39:40 +01:00
Paolo Arena
d8f0ead522 - fix: width to 100%
flex: 1;  // get all space
  order: 1;
2019-01-28 13:31:41 +01:00
Paolo Arena
3f678e28a6 - fix: focus on Edit Description 2019-01-28 11:39:02 +01:00
Paolo Arena
e46e93de61 - if last character is ':' then is like a Title. 2019-01-28 03:13:04 +01:00
Paolo Arena
0733e92acd - Settings label priority as Title
- If drag down, the task become completed
2019-01-27 21:49:10 +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
ce9f901b0a - todo: design: flexbox, dragging, icons, priority. 2019-01-16 02:26:43 +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