From 13d92158a6f5c41d43089bf8cbae62e7ded387ae Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 5 Apr 2020 19:36:08 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 15 --------------- ayanova/src/api/translation.js | 3 +-- ayanova/src/views/ay-about.vue | 7 ++++--- 3 files changed, 5 insertions(+), 20 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index c8cfd2a4..fe0c13c5 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -49,21 +49,6 @@ CURRENT TODOs @@@@@@@@@@@ ROADMAP STAGE 2: - -todo: Make errorBoxError message box on all forms a component instead as it's just boilerplate - - For consistency and so can change it later at will without re-editing all forms - - Also anything templated and not repeated makes for smaller app payload!!!! - -todo: TIME ZONE MISMATCH MESSAGE (DEPRECATED NOW I THINK??) - - This is actually quite important for relative date filtering lists - - Make it automatically set the time zone offset by a actionable click on the time zone mismatch message - - This way user knows it's happened and does it on purpose when appropriate - - Or user can ignore it and just keep working in their chosen time zone but will be aware it's an issue - - It may need a logout and back in unless it can just set the local setting which I guess it can, be aware of that anyway - - Time zone mismatch message sb translated and far shorter - -todo: Workorder/quote/pm templates (MENU ITEM) - - Put the link to access them into their own type, i.e. Workorder templates are accessed from either the grid listing workorders or inside an individual or perhaps BEST IDEA in the NEW menu where you pick a template !!!!! todo: Hover / hint text on copy log and log buttons - surfaced menu options could benefit from this diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index d5f8043c..451ed651 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -35,7 +35,7 @@ export default { ) .then(window.$gz.api.status) .then(window.$gz.api.json) - .then(response => { + .then((response) => { window.$gz._.forEach( response.data, function commitFetchedLTItemToStore(item) { @@ -150,7 +150,6 @@ export default { "DeletePrompt", "AreYouSureUnsavedChanges", "Leave", - "Copy", "Tags", "Customize", "ObjectCustomFieldCustomGrid", diff --git a/ayanova/src/views/ay-about.vue b/ayanova/src/views/ay-about.vue index 4ebdf869..51d47277 100644 --- a/ayanova/src/views/ay-about.vue +++ b/ayanova/src/views/ay-about.vue @@ -195,16 +195,16 @@ function generateMenu(vm) { helpUrl: "form-ay-about", menuItems: [ { - title: vm.$ay.t("Copy"), + title: vm.$ay.t("CopySupportInfo"), icon: "fa-copy", - surface: true, + surface: false, key: "about:copysupportinfo", vm: vm }, { title: vm.$ay.t("Log"), icon: "fa-glasses", - surface: true, + surface: false, key: "app:nav:log", data: "ay-log" } @@ -271,6 +271,7 @@ function initForm(vm) { function fetchTranslatedText(vm) { let tKeysRequired = [ "HelpAboutAyaNova", + "CopySupportInfo", "ClientApp", "Server", "Version",