From 01f85e469039cc0b0edd4e63800896f55cbfc398 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 24 Sep 2021 18:43:51 +0000 Subject: [PATCH] schedule working, clean up --- ayanova/devdocs/todo.txt | 320 +--------------------------- ayanova/src/views/home-schedule.vue | 96 +-------- 2 files changed, 9 insertions(+), 407 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index ac79bf32..89b9fdbb 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -23,319 +23,6 @@ - - -iPad error: - - -Name: -Test testerson - -Company: -GZ TestCo Inc. - -Database Id: -Mr8K4dgpDir722i9HLKhCYZ6r4WAweM9N7CQG4L9594= - -Message: -AyaNova App -Version: 8.0.0-alpha.131 -User: Theresa Christiansen - Tech -12h: true -Override browser time zone: America/Vancouver -Override browser language code: en-CA -Currency code (ISO 4217): USD -Browser -platform: MacIntel -userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15 -languages: [ "en-CA" ] -tz: America/Vancouver -oscpu: -maxTouchPoints: 5 -webdriver: false -vendor: Apple Computer, Inc. -availWidth: 768 -availHeight: 1024 -width: 768 -height: 1024 -devicePixelRatio: 2 -pixelDepth: 32 -Server -Server address: http://192.168.1.56:7575/api/v8.0/ -Version: AyaNova server 8.0.0-alpha.131 -Schema version: 1 -Server time: 2021-09-23 2:31 PM -Override browser time zone: Pacific Standard Time -License -Licensed to: GZ TestCo Inc. -Database ID: Mr8K4dgpDir722i9HLKhCYZ6r4WAweM9N7CQG4L9594= -License serial number: 1632408933 -License expiration date: 2021-10-23T14:55:33.7129704Z -Support and updates expiration date: 2021-10-23T14:55:33.7129704Z -Licensed options -Accounting -ServiceMode -ServiceTechs: 1000 -TrialMode - -CLIENT LOG -1592933475310|##### New version detected ##### cleared form settings cache ( -> 8.0.0-alpha.6) -1592933475463|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1595354141568|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1599088629760|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1599088633630|##### New version detected ##### cleared form settings cache (8.0.0-alpha.6 -> 8.0.0-alpha.10) -1599088633766|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1599088644529|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1599088644604|auth::processLogin -> User 1 logged in -1599088644604|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1599088713858|auth::processLogout -> User logged out -1624057130392|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1624057135269|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1624057135318|auth::processLogin -> User 1 logged in -1624057135319|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1624057271576|auth::processLogout -> User logged out -1624060747161|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1624060752120|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1624060754068|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1624060754122|auth::processLogin -> User 1 logged in -1624060754123|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1632426279289|auth::processLogout -> User logged out -1632426290692|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1632426290741|auth::processLogin -> User 10 logged in -1632426290741|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1632426302055|Vue error: -Error - Name:Error, Message:NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored. -info: render -STACK: - Y@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:45:50695 -W@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:101988 -parseEvent@[native code] -map@[native code] -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31780 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:33478 -getScopedSlots@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:108311 -getScopedSlots@[native code] -render@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:126624 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:23866 -i@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:27910 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31524 -Kn@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:29731 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12775 -ue@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12166 -promiseReactionJob@[native code] -1632426302057|notify-error: Vue error: -Error - Name:Error, Message:NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored. -info: render -STACK: - Y@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:45:50695 -W@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:101988 -parseEvent@[native code] -map@[native code] -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31780 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:33478 -getScopedSlots@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:108311 -getScopedSlots@[native code] -render@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:126624 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:23866 -i@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:27910 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31524 -Kn@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:29731 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12775 -ue@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12166 -promiseReactionJob@[native code] -1632426319813|App::Mounted - preset path presented: /home-schedule -1632426320393|Vue error: -Error - Name:Error, Message:NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored. -info: render -STACK: - Y@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:45:50695 -W@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:101988 -parseEvent@[native code] -map@[native code] -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31780 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:33478 -getScopedSlots@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:108311 -getScopedSlots@[native code] -render@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:126624 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:23866 -i@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:27910 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31524 -Kn@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:29731 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12775 -ue@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12166 -promiseReactionJob@[native code] -1632426320394|notify-error: Vue error: -Error - Name:Error, Message:NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored. -info: render -STACK: - Y@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:45:50695 -W@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:101988 -parseEvent@[native code] -map@[native code] -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31780 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:33478 -getScopedSlots@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:108311 -getScopedSlots@[native code] -render@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:126624 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:23866 -i@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:27910 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31524 -Kn@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:29731 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12775 -ue@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12166 -promiseReactionJob@[native code] -1632426333532|Vue error: -Error - Name:Error, Message:NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored. -info: render -STACK: - Y@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:45:50695 -W@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:101988 -parseEvent@[native code] -map@[native code] -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31780 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:33478 -getScopedSlots@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:108311 -getScopedSlots@[native code] -render@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:126624 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:23866 -i@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:27910 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31524 -Kn@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:29731 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12775 -ue@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12166 -promiseReactionJob@[native code] -1632426333532|notify-error: Vue error: -Error - Name:Error, Message:NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored. -info: render -STACK: - Y@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:45:50695 -W@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:101988 -parseEvent@[native code] -map@[native code] -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31780 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:33478 -getScopedSlots@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:108311 -getScopedSlots@[native code] -render@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:126624 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:23866 -i@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:27910 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31524 -Kn@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:29731 -http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12775 -ue@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12166 -promiseReactionJob@[native code] -1632432624067|App::Mounted - preset path presented: /about -1632432642216|App::Mounted - preset path presented: /about -1632432647725|auth::processLogout -> User logged out -1632432653007|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1632432660143|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1632432660193|auth::processLogin -> User 10 logged in -1632432660194|gzapi::APIUrl -> setting to: http://192.168.1.56:7575/api/v8.0/ -1632432668970|Vue error: -Error - Name:Error, Message:NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored. -info: render -STACK: - Y@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:45:50695 -W@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:101988 -parseEvent@[native code] -map@[native code] -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31780 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:33478 -getScopedSlots@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:108311 -getScopedSlots@[native code] -render@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:126624 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:23866 -i@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:27910 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31524 -Kn@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:29731 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12775 -ue@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12166 -promiseReactionJob@[native code] -1632432668972|notify-error: Vue error: -Error - Name:Error, Message:NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored. -info: render -STACK: - Y@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:45:50695 -W@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:101988 -parseEvent@[native code] -map@[native code] -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31780 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:33478 -getScopedSlots@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:108311 -getScopedSlots@[native code] -render@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:126624 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:23866 -i@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:27910 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31524 -Kn@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:29731 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12775 -ue@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12166 -promiseReactionJob@[native code] -1632432678709|Vue error: -Error - Name:Error, Message:NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored. -info: render -STACK: - Y@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:45:50695 -W@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:101988 -parseEvent@[native code] -map@[native code] -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31780 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:33478 -getScopedSlots@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:108311 -getScopedSlots@[native code] -render@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:126624 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:23866 -i@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:27910 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31524 -Kn@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:29731 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12775 -ue@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12166 -promiseReactionJob@[native code] -1632432678710|notify-error: Vue error: -Error - Name:Error, Message:NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored. -info: render -STACK: - Y@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:45:50695 -W@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:101988 -parseEvent@[native code] -map@[native code] -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31780 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:33478 -getScopedSlots@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:108311 -getScopedSlots@[native code] -render@http://192.168.1.56:7575/js/ay-common.05538e3e.js:1:126624 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:23866 -i@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:27910 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:30792 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:31524 -Kn@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:29731 -@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12775 -ue@http://192.168.1.56:7575/js/chunk-vendors.d24d09fe.js:7:12166 -promiseReactionJob@[native code] - - - - - //.......... Data Table filter, now impossible to remove a filter because save is blanked out, maybe needs a clear button that does it all? Delete should trigger save too I guess so maybe save should expose on change, not on presence of filter @@ -468,6 +155,8 @@ todo:2 reporting custom fields todo:2 use const, not let unless need to reassign the variable Going to need a case by case through all uses but it's a very important precaution so code it that way now for all new code +todo: 2 schedule form sync with ical, there's a case for it + todo:3 link back to list from single edit form it would be very handy to have a simple link back to the list or back a level on each edit form. If new record then it skips that and goes to list @@ -557,7 +246,12 @@ todo:3 Whats new in this release popup or link tied into the update process of t +todo: 3 Schedule form reporting? + could just default to regular reporting list, doesn't absolutely need to be a calendar at least at first + as long as it has all appointments consolidated in single list + Will need to support it at the server though, perhaps it bypasses normal report routes in some way + diff --git a/ayanova/src/views/home-schedule.vue b/ayanova/src/views/home-schedule.vue index 3847eb8e..c682e30c 100644 --- a/ayanova/src/views/home-schedule.vue +++ b/ayanova/src/views/home-schedule.vue @@ -1,8 +1,5 @@