This commit is contained in:
2018-11-13 22:31:57 +00:00
parent d90d6a160e
commit 15daaebab9
7 changed files with 30 additions and 40 deletions

View File

@@ -31,9 +31,10 @@ WEEK OF 2018-11-12 - RAVEN shell start work. YAY!
NEXT UP / CURRENTLY WORKING ON:
- lookup naming guidelines for javascript functions (capitalized?) and fixup the code and stick to it.
- Look over the (now two) api calls and look for optimization and code shrinkage / de-duplication
- Handle refresh with session storage and how to rehydrate stuff
- Move on to the next thing (build and post?)

View File

@@ -79,23 +79,9 @@ 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?
- Many things need to be persisted and survive a refresh so this is how it will be done
LOCALSTORAGE = Built in
=-=-=-=-=-=-=-=-=-=-=-=
- All modern browsers should support it and less libs the better
- Fallback if find it doesn't work:
- = 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