From abf77570dde38ad73444094496ef05e4c5033c76 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 30 Sep 2020 22:46:36 +0000 Subject: [PATCH] checkpoint commit removing PWA / service workers --- ayanova/devdocs/todo.txt | 42 +++++++++++++++++++++++++++++- ayanova/package-lock.json | 32 +++++++++++------------ ayanova/package.json | 10 +++---- ayanova/src/api/ayanova-version.js | 2 +- 4 files changed, 63 insertions(+), 23 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index cdfe6598..5b8e8886 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -2,10 +2,50 @@ @@@@@@@@@@@@@@@ ROADMAP STAGE 4 - REPORTING / DASHBOARD / KPI @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +bugbug: menu won't drop down top right when running ayanova from a local win64 server build + started happening in build alpha 25, didn't happen before that so not related to the .net update, more likely something to do with the pwa changes made recently + I've actually seen this briefly multiple times during development and it goes away with a refresh IIRC + + TRY: + first TRY does it happen when I run it from localhost development server with remote client or just the windows build server? + YES!!!! + + Try the "whitelisted modules" fix: https://github.com/vuetifyjs/vuetify/issues/5518 + nope + try updating all client bits again + something around this? https://vuetifyjs.com/en/features/treeshaking/#vuetify-loader + Put a dummy dropdown menu in the toolbar beside the notification icon to rule out my complex menu building code in app.vue + Try vue devtools to inspect it from here on Joyce's server to see if anything is visibly related + + Try putting a development build of client on local server then load and see if it still an issue + TRY Can use v7 laptop to use dev tools to investigate on my own computer or vice-versa + TRY revert all recent changes one by one until hit on the culprit + fuck it would have been nice to have an old w64 build around to test directly, maybe keep them in sequnce for a while + NOT + a manifest pwa related issue because I'm seeing it direct browsing from desktop browser, not app version + holup, not sure what this means, it seems to be not true + + ISSUE + Turns out it's because it's not https secure connection + browsers will trust localhost but not aything else + serviceworkers will not work on a non secure, non localhost connection + + RESOLUTION + Some kind of certificate faking locally on private network server + adapt the client to not use a service worker on a private network (bypass pwa stuff) + + + + BUGBUG: decimal control displays blank even when value comes from server. It's ok when you manually enter but reverts to blank even though the value is there on open very flakey all around, seems bug riddled, needs thorough testing and fixing +todo: chrome "Lighthouse" test against devops and implement recommendations + particularly favor time to first + change .png to .webp + + ### SMALL QUICK ITEMS ##### todo: known issues has some efficiency settings for themes and good stuff to know, check it: https://github.com/vuetifyjs/vuetify/releases/tag/v2.3.0#user-content-known-issues todo: new logos too small on large login, add a 3rd (large) size of logo to login form for xl size display @@ -14,7 +54,7 @@ todo: is notifynewcount request double sending? It seems like it appears twice todo: login button can be obscured by footer, this should not happen try forcing margin below, footer maybe has a setting to confine it? move the login button? make sure enter works with it - + todo: scaffold a new vue project with same options and see what it generates for all the config files etc I might be missing some new stuff that needs to be in there in light of the webpack whitelist thing earlier diff --git a/ayanova/package-lock.json b/ayanova/package-lock.json index ed10f516..77149525 100644 --- a/ayanova/package-lock.json +++ b/ayanova/package-lock.json @@ -1,6 +1,6 @@ { "name": "ayanova", - "version": "0.1.0", + "version": "8.0.0-alpha", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -3100,9 +3100,9 @@ } }, "@fortawesome/fontawesome-free": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.14.0.tgz", - "integrity": "sha512-OfdMsF+ZQgdKHP9jUbmDcRrP0eX90XXrsXIdyjLbkmSBzmMXPABB8eobUJtivaupucYaByz6WNe1PI1JuYm3qA==", + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.0.tgz", + "integrity": "sha512-wXetjQBNMTP59MAYNR1tdahMDOLx3FYj3PKdso7PLFLDpTvmAIqhSSEqnSTmWKahRjD+Sh5I5635+5qaoib5lw==", "dev": true }, "@hapi/address": { @@ -10378,9 +10378,9 @@ } }, "dompurify": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.0.16.tgz", - "integrity": "sha512-MMNzUQdlvmbXhD0NVxME4hNI72eOlcz9TzO9L8KfmUcI+h97ISON5XagIUm40+JRwV4fGHYqxRpSy844fT9iow==" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.1.1.tgz", + "integrity": "sha512-NijiNVkS/OL8mdQL1hUbCD6uty/cgFpmNiuFxrmJ5YPH2cXrPKIewoixoji56rbZ6XBPmtM8GA8/sf9unlSuwg==" }, "domutils": { "version": "1.7.0", @@ -15900,9 +15900,9 @@ "integrity": "sha512-hkvf4EtPJRMQlPC3UbMoRs0vTAFAYdzFQ+gpMb8A+9znae1c43q8Mab9iVsgTcg/4PNiLGGn3SlDIa8uvK1FIQ==" }, "monaco-editor-webpack-plugin": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/monaco-editor-webpack-plugin/-/monaco-editor-webpack-plugin-1.9.0.tgz", - "integrity": "sha512-tOiiToc94E1sb50BgZ8q8WK/bxus77SRrwCqIpAB5er3cpX78SULbEBY4YPOB8kDolOzKRt30WIHG/D6gz69Ww==", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/monaco-editor-webpack-plugin/-/monaco-editor-webpack-plugin-1.9.1.tgz", + "integrity": "sha512-x7fx1w3i/uwZERIgztHAAK3VQMsL8+ku0lFXXbO81hKDg8IieACqjGEa2mqEueg0c/fX+wd0oI+75wB19KJAsA==", "requires": { "loader-utils": "^1.2.3" } @@ -21017,9 +21017,9 @@ } }, "vue-router": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.3.tgz", - "integrity": "sha512-BADg1mjGWX18Dpmy6bOGzGNnk7B/ZA0RxuA6qedY/YJwirMfKXIDzcccmHbQI0A6k5PzMdMloc0ElHfyOoX35A==" + "version": "3.4.5", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.5.tgz", + "integrity": "sha512-ioRY5QyDpXM9TDjOX6hX79gtaMXSVDDzSlbIlyAmbHNteIL81WIVB2e+jbzV23vzxtoV0krdS2XHm+GxFg+Nxg==" }, "vue-style-loader": { "version": "4.1.2", @@ -21056,9 +21056,9 @@ "dev": true }, "vuetify": { - "version": "2.3.10", - "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.3.10.tgz", - "integrity": "sha512-KzL/MhZ7ajubm9kwbdCoA/cRV50RX+a5Hcqiwt7Am1Fni2crDtl2no05UNwKroTfscrYYf07gq3WIFSurPsnCA==" + "version": "2.3.12", + "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.3.12.tgz", + "integrity": "sha512-FSt1pzpf0/Lh0xuctAPB7RiLbUl7bzVc7ejbXLLhfmgm7zD7yabuhVYuyVda/SzokjZMGS3j1lNu2lLfdrz0oQ==" }, "vuetify-loader": { "version": "1.6.0", diff --git a/ayanova/package.json b/ayanova/package.json index d01eb005..0a45f7ce 100644 --- a/ayanova/package.json +++ b/ayanova/package.json @@ -15,27 +15,27 @@ "chart.js": "^2.9.3", "chartjs-adapter-luxon": "^0.2.2", "core-js": "^3.6.5", - "dompurify": "^2.0.16", + "dompurify": "^2.1.1", "github-markdown-css": "^4.0.0", "jwt-decode": "^2.2.0", "luxon": "^1.25.0", "marked": "^0.8.2", "monaco-editor": "^0.20.0", - "monaco-editor-webpack-plugin": "^1.9.0", + "monaco-editor-webpack-plugin": "^1.9.1", "nprogress": "^0.2.0", "register-service-worker": "^1.7.1", "typeface-roboto": "0.0.75", "vue": "^2.6.12", "vue-chartjs": "^3.5.1", "vue-currency-input": "1.20.3", - "vue-router": "^3.4.3", - "vuetify": "^2.3.10", + "vue-router": "^3.4.5", + "vuetify": "^2.3.12", "vuex": "^3.5.1", "vuex-persistedstate": "^2.7.1" }, "devDependencies": { "@cypress/webpack-preprocessor": "^4.1.5", - "@fortawesome/fontawesome-free": "^5.14.0", + "@fortawesome/fontawesome-free": "^5.15.0", "@vue/cli-plugin-babel": "^4.5.6", "@vue/cli-plugin-e2e-cypress": "^4.5.6", "@vue/cli-plugin-eslint": "^4.5.6", diff --git a/ayanova/src/api/ayanova-version.js b/ayanova/src/api/ayanova-version.js index 0ee229cf..df8d0a15 100644 --- a/ayanova/src/api/ayanova-version.js +++ b/ayanova/src/api/ayanova-version.js @@ -1,4 +1,4 @@ export default { - version: "8.0.0-alpha.27", + version: "8.0.0-alpha.28", copyright: "© 1999-2020, Ground Zero Tech-Works Inc." };