This commit is contained in:
2018-11-05 23:36:46 +00:00
parent a198bfcfb9
commit a9e8bfdaa3
8 changed files with 209 additions and 70 deletions

View File

@@ -65,6 +65,14 @@ WEEK OF 2018-11-05 - RAVEN shell start work. YAY!
- Reporting
- Notifications from the server
- File upload / download
- Offline abilities?
- Need a good think about this, time to market is of utmost importance but it would not hurt to see what can be done now or defferred to vNext
- v7 is technically an always online app so there's that.
- Would be nice to maybe be able to do some limited stuff offline
- scope out a scenario or leave for vNext?
- Fill out a workorder that is already up on the phone?
- Parts can't be cached locally, there could be thousands, but maybe labour only is supported?
- Maybe parts can be entered as text when offline for later lookup?
- NOTE: many users want to see some progress on v8 so it's important that the initial shell have some "flash" to it
- Nice transitions
- Some sample charts

View File

@@ -71,6 +71,23 @@ and VUEX allows that easily, plus it's fairly straightforward to use.
Here is an example of how to structure a non trivial application with VUEX broken into modules:
https://vuex.vuejs.org/guide/structure.html
VUEX STATE PERSISTENCE = VUEX-PERSISTEDSTATE
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- https://github.com/robinvdvleuten/vuex-persistedstate
- Some stuff should probably be persisted like auth, maybe other stuff?
- Is this app an online only app?
- Store enough stuff to keep working locally?
- Fill out a workorder offline?
- Create a new one offline?
- enter labour only, no parts or other lengthy lookup stuff??
- If recreating AyaNova 7 essentially, then that app is always online as well so maybe don't even consider offline work?
LOCALSTORAGE = STORE.JS
=-=-=-=-=-=-=-=-=-=-
- Very widely used and I don't necessarily need a VUE specific one, this is the one used for pecklist and rockfish
- https://github.com/marcuswestin/store.js/
SERVICEWORKER = WORKBOX
=-=-=-=-=-=-=-=-=-=-=-=
For offsite PWA use, works well and is simple to implement