From 698cf121614c3b0925309fa89d0e3aca8e608263 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 14 Feb 2022 20:51:44 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 73 ++++++++++++++---------------- ayanova/src/views/ay-customize.vue | 8 ---- 2 files changed, 34 insertions(+), 47 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 8d512ec3..2974d1db 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -203,37 +203,18 @@ Coded by importance - -- 2: reset to defaults button for form customize would be handy, especially on work order forms. - - - - This is coming from the job log when the render job is submitted. not sure if this is good or bad or should be there but at least it should be translated - To see this just run a report then view personal history. - -- 2 todo: put reset link somewhere in UI so user can just click on it, maybe the login form?? Or the About form? about->log form? - -- 2 translation cleanup, work order sb Orden de trabajo but is translated as Pedido?! (which is very generic and not work order, usually like a restaurant order or online shipping order sense for pedido) - I did a couple but realized it needs to be done one by one roundtripped carefully as it's used in alternative tenses and forms throughout - - 2 todo: First print if it's downloading or will need to download chromium it should state there will be a delay while it attempts to download and install chromium render engine or maybe trigger it on first boot? + -2 ops server information is missing some settings like report rendering max instances, go over the serverbootconfig settings and look for missing items to add -2 Schedule, what is the maximum number of techs can show in team view, can show more with scroll? seeder should prevent going over this max (tags/prefilter/gen less) -- 2 metrics ops page should show the little dots so know where to position the mouse to see the reading at that point - also, there needs to be more "dots", it's too few to get proper idea - also todo under server that metrics isn't really capturing the whole server metrics only the ayanova process metrics as far as I can tell - --3 hyperlinks in memos sb clickable to open in new tab or window or whatever - this supports help links in migrate and also user links like "take a look at workorder 55" with a link to it in the UI - recognize urls and make them actionable somehow - todo:2 notifications screen add delete all menu item that will just remove all the notifications present Maybe a checkbox and delete selected and select all?? That way can also be a dual useful feature also should delete *from* the client so that it deletes only what it has in view so user doesn't accidentally delete unseen yet to be delivered ones? + todo: 2 About page should show license and other expiration dates in local format, right now it's a UTC iso string :( todo:2 need to track fetched keys vs used keys so can tell if fetched a key that I don't need or stopped using due to code change @@ -242,6 +223,11 @@ todo:2 PO (workorder already done) strip all *viz fields from object before send Setting their value to undefined stops them being sent so do that, but remember they then need to be updated on the return record PO I'm thinking is the main one?? + + + +............................ + todo:3 Not in love with the "Error api2200" as the only error text in the box sometimes it has things you can't see in the form ideally I'd like to see it have a string of text as a duplicate showing the errors translated in a list @@ -252,16 +238,23 @@ todo:3 Not in love with the "Error api2200" as the only error text in the box At the very least make sure every raw error returned goes into the client log so can help with tech support when people need it without resorting to making them open developer console to see the actual raw error. (if do this maybe extend the length of the error log as it's possibly too short to capture enough stuff this way??) +todo:3 metrics ops page should show the little dots so know where to position the mouse to see the reading at that point + also, there needs to be more "dots", it's too few to get proper idea + also todo under server that metrics isn't really capturing the whole server metrics only the ayanova process metrics as far as I can tell + + todo:3 when there is an errorbox error it's possible to miss it as it's at the top scrolled off screen and you can save as the appbar doesn't scroll need more feedback, perhaps appbar turns red, or save button turns red or whole page has a color to it..?? Or maybe just as simple as an toast alert popup whatever it's called that temporarily shows the same error as is in the box at top -todo:2 reporting custom fields - Joyce ran into an issue with a custom field defined as currency adn wanted to use it in a calculation on a report but it presents as a string - Look into either a helper to ease that or more ideally it presents as the type that it's supposed to be pre-modified? (not sure of the implications) - Do I have a custom fields helper already? What does it do? - Maybe translated custom fields alongside the string version?? - Users see it as currency would be just as confused as Joyce was expecting it to be a number +- 3 todo: put reset link somewhere in UI so user can just click on it, maybe the login form?? Or the About form? about->log form? + +- 3 translation cleanup, work order sb Orden de trabajo but is translated as Pedido?! (which is very generic and not work order, usually like a restaurant order or online shipping order sense for pedido) + I did a couple but realized it needs to be done one by one roundtripped carefully as it's used in alternative tenses and forms throughout + +-3 hyperlinks in memos sb clickable to open in new tab or window or whatever + this supports help links in migrate and also user links like "take a look at workorder 55" with a link to it in the UI + recognize urls and make them actionable somehow todo: 3? schedule form sync with ical, there's a case for it @@ -342,14 +335,13 @@ todo:3 cleanup unnecessary use of a ayatype access inside the Methods of objects TODO:3 if keep seeing slowdown typing in large text fields maybe check if it's running rules endlessly and slowing things down that way profile? a timer that delays processing until typing stops?? -................................................................................................................................................................... todo:3 reportClientMetaData in gzapi has DefaultLocale property in it which is just part of the language, can it be removed? it might be buggy if there is no dash in the language? Is that a thing? check at server how it's used -todo:2 poitem edit form currency fields when updated by server on save lose currency format and show as raw decimal number +todo:3 poitem edit form currency fields when updated by server on save lose currency format and show as raw decimal number maybe currency control does not respond to underlying data changes it didn't initiate? seems maybe it's ok in main form but that's maybe just because it doesn't change values automatically @@ -367,7 +359,7 @@ todo: 3 Schedule form reporting? 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 - - 2 todo: CURRENCY / DECIMAL control, not too happy with them, considering rolling my own maybe here are some ideas: +todo:3 CURRENCY / DECIMAL control, not too happy with them, considering rolling my own maybe here are some ideas: To get current use the latest version which is completely different and seems ok, here is a dude who implemented it with vuetify so would need to copy this as it's too small to just use his I think: https://github.com/phiny1/v-currency-field/blob/master/src/VCurrencyField.vue @@ -433,7 +425,6 @@ todo: 2 remove unused translations todo: 2 VERY IMPORTANT test on windows where all paths have spaces, i.e. set the server data path to a location with funky folder names with spaces etc confirm everything in raven that writes to disk still works, logging, backup, attachments, temp files served (reports) etc -todo: 2 ExportController, right now is passing guid.empty to get export data so there is no job, needs to be jobified like reports so fix this up at front and back stealing from reporting code todo: 2 search for //MIGRATE_OUTSTANDING in server and in client and deal with it @@ -492,7 +483,7 @@ todo:2 start testing with real licensing scheme ("notfound") make sure automatic license updates work properly todo:2 notify on server boot?? (general notify to admin user or whatever?) or on shutdown? -todo:3 notify on user login? + todo:2 errors are inconsistent some use "error" some use "code" to mean the same thing this is likely because "code" is used in the outer wrapper and "error" is used in the individual "details" validation errors however it would be much cleaner if it was the same thing at all levels @@ -503,16 +494,17 @@ todo:2 errors are inconsistent some use "error" some use "code" to mean the same todo: 2 Should the database integrity check run as a regular job? because a person could fuck up the db while the server is running and the server wouldn't notice until it tried to access a fucked up table + + +NOW +.... +todo:3 notify on user login? +todo: 3 ExportController, right now is passing guid.empty to get export data so there is no job, needs to be jobified like reports so fix this up at front and back stealing from reporting code + investigate: 3 hard cap on appointments brought back controlled by client in settings otherwise unusable ideally centered around current date applies to month view force user to filter by tags if too much, i.e. truncated result with error so they can see it was limited - -NOW -.... - - - todo:3 is there a way to tell if other connections are being used to AyaNova db like a utility or they are fucking around and it's affecting performance etc Yes: The following query returns the active connections:https://www.postgresqltutorial.com/postgresql-copy-database/ @@ -823,4 +815,7 @@ BUILD 8.0.0-beta.0.15 CHANGES OF NOTE - case 4108 fixed missing QuoteQuoteStatusType translation - case 4116 fixed - changed about form license expiration dates to display as local date time -- fixed about form untranslated DarkMode and NativeDateTimeInput labels \ No newline at end of file +- fixed about form untranslated DarkMode and NativeDateTimeInput labels +- Upgraded barcode library used by ayBC handlebar helper to latest version (tested to confirm still works with sample barcode report) +- Upgraded handlebars.js library used by report template compiler at server (tested, not a major change (from 4.7.6 to 4.7.7) seems ok, they dropped ie11 support I think is the main thing) +- Upgraded marked.js markdown generator used by ayWIKI handlebars helper (tested, ok no need for changes to stock reports) diff --git a/ayanova/src/views/ay-customize.vue b/ayanova/src/views/ay-customize.vue index 999419fb..7becf417 100644 --- a/ayanova/src/views/ay-customize.vue +++ b/ayanova/src/views/ay-customize.vue @@ -295,14 +295,6 @@ function generateMenu(vm) { } menuOptions.menuItems.push({ divider: true, inset: false }); - if (window.$gz.dev) { - menuOptions.menuItems.push({ - title: "DEV HIDE ALL", - icon: "$ayiMagic", - key: FORM_KEY + ":DEVHIDEALL", - vm: vm - }); - } //Extra link to it here so people can stumble their way onto it //plus it's related to this form and people think Customize for the whole shebang menuOptions.menuItems.push({